You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1004 B
28 lines
1004 B
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<file>bootstrap.php</file>
|
|
<file>src/</file>
|
|
<file>tests/</file>
|
|
|
|
<exclude-pattern>tests/data/*</exclude-pattern>
|
|
<exclude-pattern>tests/functions.php</exclude-pattern>
|
|
<exclude-pattern>tests/WP_UnitTestCase_Base.php</exclude-pattern>
|
|
|
|
<rule ref="PSR12NeutronRuleset">
|
|
<exclude name="Generic.Files.LineLength"/>
|
|
<exclude name="PEAR.Commenting.ClassComment"/>
|
|
<exclude name="PEAR.Commenting.FileComment"/>
|
|
</rule>
|
|
|
|
<!-- PHPCS does not understand yield -->
|
|
<rule ref="NeutronStandard.Functions.TypeHint.UnusedReturnType">
|
|
<exclude-pattern>tests/AssertMethodTypeSpecifyingExtensionTest.php</exclude-pattern>
|
|
<exclude-pattern>tests/DynamicReturnTypeExtensionTest.php</exclude-pattern>
|
|
</rule>
|
|
|
|
<!-- Allow string concatenation in tests -->
|
|
<rule ref="PSR12NeutronRuleset.Strings.ConcatenationUsage.NotAllowed">
|
|
<exclude-pattern>tests/*</exclude-pattern>
|
|
</rule>
|
|
</ruleset>
|