File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1414 <rule ref =" ./custom-standards/Flyeralarm/Sniffs/Docblock/ExpectedExceptionMessageSniff.php" />
1515 <rule ref =" ./custom-standards/Flyeralarm/Sniffs/Variable/LowerCamelCaseSniff.php" />
1616 <rule ref =" ./custom-standards/Flyeralarm/Sniffs/ControlStructures/YodaSniff.php" />
17- <rule ref =" ./custom-standards/Flyeralarm/Sniffs/Classes/FullyQualifiedSniff.php" />
1817</ruleset >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <ruleset name =" FLYERALARM Coding Guidelines" >
3+ <description >A custom coding standard for FLYERALARM</description >
4+ <rule ref =" PSR2" />
5+ <rule ref =" Generic.Formatting.SpaceAfterCast" />
6+ <rule ref =" Generic.Arrays.DisallowLongArraySyntax.Found" />
7+ <rule ref =" Generic.PHP.DisallowShortOpenTag" />
8+ <rule ref =" Generic.NamingConventions.UpperCaseConstantName" />
9+ <rule ref =" ./custom-standards/Flyeralarm/Sniffs/File/ExceptionMessageSniff.php" />
10+ <rule ref =" ./custom-standards/Flyeralarm/Sniffs/File/ForbiddenKeywordsSniff.php" />
11+ <rule ref =" ./custom-standards/Flyeralarm/Sniffs/File/NamespacesSniff.php" />
12+ <rule ref =" ./custom-standards/Flyeralarm/Sniffs/File/NoClassKindSuffixSniff.php" />
13+ <rule ref =" ./custom-standards/Flyeralarm/Sniffs/Docblock/ReturnTypeSniff.php" />
14+ <rule ref =" ./custom-standards/Flyeralarm/Sniffs/Docblock/ExpectedExceptionMessageSniff.php" />
15+ <rule ref =" ./custom-standards/Flyeralarm/Sniffs/Variable/LowerCamelCaseSniff.php" />
16+ <rule ref =" ./custom-standards/Flyeralarm/Sniffs/ControlStructures/YodaSniff.php" />
17+ <rule ref =" ./custom-standards/Flyeralarm/Sniffs/Classes/FullyQualifiedSniff.php" />
18+ </ruleset >
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ function processDir($dirPath)
2525 sprintf (
2626 "%s -w -p -s --standard=%s %s " ,
2727 escapeshellcmd (__DIR__ . '/../vendor/bin/phpcs ' ),
28- escapeshellarg (__DIR__ . '/../ ruleset.xml ' ),
28+ escapeshellarg (__DIR__ . '/ruleset.xml ' ),
2929 escapeshellarg ($ dirPath . $ file )
3030 )
3131 );
You can’t perform that action at this time.
0 commit comments