2016-11-02 07:29:00 +01: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. -->
|
|
|
|
<exclude-pattern>src/Psalm/CallMap.php</exclude-pattern>
|
2018-07-13 03:25:06 +02:00
|
|
|
<exclude-pattern>src/Psalm/Visitor/SimpleNameResolver.php</exclude-pattern>
|
2017-04-28 06:31:55 +02:00
|
|
|
|
|
|
|
<!-- These are just examples and stub classes/files, so it doesn't really matter if they're PSR-2 compliant. -->
|
|
|
|
<exclude-pattern>src/Psalm/Stubs/</exclude-pattern>
|
|
|
|
<exclude-pattern>tests/stubs/</exclude-pattern>
|
2018-04-13 04:40:47 +02:00
|
|
|
<rule ref="Generic.Files.LineLength">
|
|
|
|
<exclude-pattern>tests</exclude-pattern>
|
|
|
|
</rule>
|
2017-01-15 01:06:58 +01:00
|
|
|
</ruleset>
|