Skip to content

Commit

Permalink
Added missing PSR2 sniff and clarrified past release notes to show th…
Browse files Browse the repository at this point in the history
…e PSR1/2 standards were not released
  • Loading branch information
gsherwood committed Aug 8, 2012
1 parent de63b51 commit a387d19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,9 @@ http://pear.php.net/dtd/package-2.0.xsd">
<file baseinstalldir="PHP" name="ElseIfDeclarationSniff.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="SwitchDeclarationSniff.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir>
<dir name="Files">
<file baseinstalldir="PHP" name="EndFileNewlineSniff.php" role="php">
Expand Down Expand Up @@ -2035,7 +2038,6 @@ http://pear.php.net/dtd/package-2.0.xsd">
<date>2012-07-12</date>
<license uri="http://matrix.squiz.net/developer/tools/php_cs/licence">BSD License</license>
<notes>
- Added PSR1 and PSR2 coding standards that can be used to check your code against these guidelines
- Added Generic CamelCapsFunctionNameSniff to just check if function and method names use camel caps
-- Does not allow underscore prefixes for private/protected methods
-- Defaults to strict checking, where two uppercase characters can not be next to each other
Expand Down

0 comments on commit a387d19

Please sign in to comment.