2016-11-02 02:29:00 -04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<ruleset name="PHP_CodeSniffer">
|
|
|
|
<rule ref="PSR2" />
|
|
|
|
|
|
|
|
<file>bin/</file>
|
|
|
|
<file>src/</file>
|
|
|
|
<file>tests/</file>
|
|
|
|
|
|
|
|
<!-- This is a vendor file that we don't want to bother linting. -->
|
2018-11-05 21:57:36 -05:00
|
|
|
<exclude-pattern>src/Psalm/Internal/CallMap.php</exclude-pattern>
|
|
|
|
<exclude-pattern>src/Psalm/Internal/Visitor/SimpleNameResolver.php</exclude-pattern>
|
2017-04-28 00:31:55 -04:00
|
|
|
|
|
|
|
<!-- These are just examples and stub classes/files, so it doesn't really matter if they're PSR-2 compliant. -->
|
2018-11-05 21:57:36 -05:00
|
|
|
<exclude-pattern>src/Psalm/Internal/Stubs/</exclude-pattern>
|
2017-04-28 00:31:55 -04:00
|
|
|
<exclude-pattern>tests/stubs/</exclude-pattern>
|
2018-04-12 22:40:47 -04:00
|
|
|
<rule ref="Generic.Files.LineLength">
|
|
|
|
<exclude-pattern>tests</exclude-pattern>
|
2018-10-17 15:52:26 -04:00
|
|
|
</rule>
|
|
|
|
|
|
|
|
<rule ref="PSR2.Namespaces.UseDeclaration">
|
|
|
|
<exclude-pattern>*</exclude-pattern>
|
|
|
|
</rule>
|
2017-01-14 19:06:58 -05:00
|
|
|
</ruleset>
|