-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1cdf254
commit 932fed0
Showing
75 changed files
with
1,004 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0"?> | ||
<ruleset | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd" | ||
name="Custom"> | ||
|
||
<file>./examples/</file> | ||
<file>./src/</file> | ||
<file>./tests/</file> | ||
<exclude-pattern>./tests/_data/</exclude-pattern> | ||
<exclude-pattern>./tests/_helpers/_generated/</exclude-pattern> | ||
<exclude-pattern>./tests/_log/</exclude-pattern> | ||
<exclude-pattern>./tests/_bootstrap.php</exclude-pattern> | ||
<file>./RoboFile.php</file> | ||
|
||
<rule ref="PSR2"/> | ||
<rule ref="PSR2.Methods.MethodDeclaration.Underscore"> | ||
<!-- _before() _after() --> | ||
<exclude-pattern>./tests/</exclude-pattern> | ||
|
||
<!-- Task builders --> | ||
<exclude-pattern>./src/Task/Base/Shortcuts.php</exclude-pattern> | ||
<exclude-pattern>./src/Task/Filesystem/FilesystemStack.php</exclude-pattern> | ||
<exclude-pattern>./src/Task/Filesystem/Shortcuts.php</exclude-pattern> | ||
<exclude-pattern>./src/Task/Logfile/Shortcuts.php</exclude-pattern> | ||
<exclude-pattern>./src/Task/Vcs/Shortcuts.php</exclude-pattern> | ||
|
||
</rule> | ||
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace"> | ||
<!-- @todo Tests also should be under namespaces. --> | ||
<exclude-pattern>./tests/</exclude-pattern> | ||
<exclude-pattern>./RoboFile.php</exclude-pattern> | ||
</rule> | ||
<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses"> | ||
<!-- @todo Fix this kind of errors. --> | ||
<exclude-pattern>./examples/src/Robo/Plugin/Commands/ExampleCommands.php</exclude-pattern> | ||
<exclude-pattern>./tests/unit/ConfigurationTest.php</exclude-pattern> | ||
<exclude-pattern>./tests/unit/ResultTest.php</exclude-pattern> | ||
</rule> | ||
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols"> | ||
<!-- @todo Fix this kind of errors. --> | ||
<exclude-pattern>./tests/unit/ApplicationTest.php</exclude-pattern> | ||
</rule> | ||
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps"> | ||
<!-- @todo Fix this kind of errors. --> | ||
<exclude-pattern>./tests/unit/AAA_RunnerErrorTest.php</exclude-pattern> | ||
</rule> | ||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.