Closed hakre closed 9 years ago
If you have a class called Members, it will be contained in a file called "members.php". I don't see the issue? This makes the resulting files safe for both case sensitive (Unix) and case insensitive (MacOS X and Windows) extraction and use.
thanks Andrew
class CamelCase {}
and then the filename
/path/to/src/root/camelcase.php
doesn't work with PSR-0. PSR-0 requires instead:
/path/to/src/root/CamelCase.php
Anyway, I don't see this will get any traction and I already lost my interest. So OK to close for me.
(All from here: https://github.com/OWASP/phpsec/wiki/Coding-Convention)
PSR-0 with "Class names are CamelCase" contradict to "All file names are lowercase".
You can't follow PSR-0 with exceptions. That makes no sense. You either follow PSR-0 or you roll your own (and PSR-0 is really easy to follow, I can't see why you want to make here exceptions).