mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
f65c618b2e
* PSR-2 adjustments and adding PHPCS checks into the Travis config. * Reverting some CallChecker changes and no longer casting vars to null.
17 lines
569 B
XML
17 lines
569 B
XML
<?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>
|
|
|
|
<!-- These are just examples and stub classes/files, so it doesn't really matter if they're PSR-2 compliant. -->
|
|
<exclude-pattern>examples/</exclude-pattern>
|
|
<exclude-pattern>src/Psalm/Stubs/</exclude-pattern>
|
|
<exclude-pattern>tests/stubs/</exclude-pattern>
|
|
</ruleset>
|