forked from zendframework/zend-di
-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml
21 lines (17 loc) · 828 Bytes
/
phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<ruleset name="Zend Framework Coding Standard">
<rule ref="./vendor/zendframework/zend-coding-standard/ruleset.xml"/>
<!--
Don't make it bail at the file level deprecation of AbstactInjection (Intented side effect).
The inline ignores phpcs:disable or @codingStandardsIgnoreStart (as documented on
https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-parts-of-a-filework)
do NOT work, phpcs still errors. This is the only way to fix it.
-->
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>src/Resolver/AbstractInjection.php</exclude-pattern>
</rule>
<!-- Paths to check -->
<file>src</file>
<file>test</file>
<exclude-pattern><![CDATA[*/test/_files/*]]></exclude-pattern>
</ruleset>