2018-11-14 06:36:33 +01:00
|
|
|
<?xml version="1.0"?>
|
2019-02-19 23:09:27 +01:00
|
|
|
<ruleset name="phpunit-psalm-plugin">
|
2018-11-14 06:36:33 +01:00
|
|
|
<!-- display progress -->
|
|
|
|
<arg value="p"/>
|
|
|
|
<arg name="colors"/>
|
|
|
|
|
|
|
|
<!-- Paths to check -->
|
2020-04-03 19:40:49 +02:00
|
|
|
<file>src</file>
|
2019-02-19 23:09:27 +01:00
|
|
|
<file>tests/_support/Helper</file>
|
|
|
|
<file>tests/_support/AcceptanceTester.php</file>
|
2018-11-14 06:36:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
<!-- inherit rules from: -->
|
|
|
|
<rule ref="PSR12"/>
|
|
|
|
|
|
|
|
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
|
|
|
|
<rule ref="Generic.Files.ByteOrderMark"/>
|
|
|
|
<rule ref="Generic.Files.LineEndings"/>
|
|
|
|
<rule ref="Generic.Files.LineLength">
|
|
|
|
<properties>
|
|
|
|
<property name="absoluteLineLimit" value="120"/><!-- even though psr-2 specifies it as soft-limit only -->
|
|
|
|
</properties>
|
|
|
|
</rule>
|
|
|
|
<rule ref="Generic.PHP.DeprecatedFunctions"/>
|
|
|
|
<rule ref="Generic.PHP.ForbiddenFunctions"/>
|
|
|
|
|
|
|
|
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
|
|
|
|
<properties>
|
|
|
|
<property name="ignoreBlankLines" value="false"/>
|
|
|
|
</properties>
|
|
|
|
</rule>
|
|
|
|
</ruleset>
|