[Owncloud] Coding guidelines for codesniffer and CI
Victor Dubiniuk
victor.dubiniuk at gmail.com
Sat Aug 11 13:09:53 UTC 2012
Great job!
I haven't got the idea of having the Pascal cased function names though.
Naming Conventions
> Class names are camel cased. Function names are Pascal cased.No underscore
> on private class members.Constants are all upper cased.
In addition the example a few lines above has a camelcased function name:
<?php
function fooFunction($arg1, $arg2 = '') {
---
Victor
On Mon, Jul 30, 2012 at 6:01 PM, Thomas Müller <thomas.mueller at tmit.eu>wrote:
> Hi,
>
> I'd like to point you to a new page on the ownCloud dev center:
> http://owncloud.org/coding-style-guide/
>
> Based on the discussions on IRC and the fine tuning of PHP Code Sniffer I
> quickly wrote that page as a starting point to specify the ownCloud coding
> style guide.
>
> This just a starting point and some topics have not been discussed yet.
>
> Your feedback is more than welcome!
>
> Thanks a lot,
>
> Tom
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120811/be6a8d75/attachment.html>
More information about the Owncloud
mailing list