mirror of
https://github.com/danog/psalm-plugin-phpunit.git
synced 2024-11-27 04:24:50 +01:00
35 lines
1.0 KiB
XML
Executable File
35 lines
1.0 KiB
XML
Executable File
<?xml version="1.0"?>
|
|
<ruleset name="phpunit-psalm-plugin">
|
|
<!-- display progress -->
|
|
<arg value="p"/>
|
|
<arg name="colors"/>
|
|
|
|
<!-- Paths to check -->
|
|
<file>Plugin.php</file>
|
|
<file>tests/_support/Helper</file>
|
|
<file>tests/_support/AcceptanceTester.php</file>
|
|
<file>hooks</file>
|
|
<file>Exception</file>
|
|
|
|
|
|
<!-- 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>
|