Skip to content

Commit

Permalink
Update phpcs configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Andi Rückauer <arueckauer@gmail.com>
  • Loading branch information
arueckauer committed Oct 5, 2021
1 parent f202f15 commit c59d1fa
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
<?xml version="1.0"?>
<ruleset name="Laminas coding standard">
<rule ref="./vendor/laminas/laminas-coding-standard/ruleset.xml"/>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">

<arg name="basepath" value="."/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="80"/>

<!-- Show progress -->
<arg value="p"/>

<!-- Paths to check -->
<file>src</file>
<file>test</file>
<file>bin/laminas-development-mode</file>
<file>development.config.php.dist</file>
<file>development.local.php.dist</file>

<!-- Include all rules from the Laminas Coding Standard -->
<rule ref="LaminasCodingStandard"/>
</ruleset>

0 comments on commit c59d1fa

Please sign in to comment.