mirror of
https://github.com/doctrine/DoctrineModule.git
synced 2026-03-24 06:42:24 +01:00
27 lines
1012 B
XML
27 lines
1012 B
XML
<?xml version="1.0"?>
|
|
<ruleset name="Doctrine coding standard">
|
|
<arg name="basepath" value="."/>
|
|
<arg name="extensions" value="php"/>
|
|
<arg name="parallel" value="80"/>
|
|
<arg name="cache" value=".phpcs.cache"/>
|
|
<arg name="colors"/>
|
|
|
|
<!-- set minimal required PHP version (8.1) -->
|
|
<config name="php_version" value="80100"/>
|
|
|
|
<!-- Ignore warnings, show progress of the run and show sniff names -->
|
|
<arg value="nps"/>
|
|
|
|
<!-- Directories to be checked -->
|
|
<file>src</file>
|
|
<file>tests</file>
|
|
|
|
<!-- Include full Doctrine Coding Standard -->
|
|
<rule ref="Doctrine">
|
|
<!-- Not used for consistency with the Laminas project -->
|
|
<exclude name="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix"/>
|
|
<exclude name="SlevomatCodingStandard.Classes.SuperfluousExceptionNaming.SuperfluousSuffix"/>
|
|
<exclude name="SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming.SuperfluousSuffix"/>
|
|
</rule>
|
|
</ruleset>
|