mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
[PHP_CodeSniffer] Update php_codesniffer recipe to use PSR12.
This commit is contained in:
1
squizlabs/php_codesniffer/3.6/manifest.json
Symbolic link
1
squizlabs/php_codesniffer/3.6/manifest.json
Symbolic link
@@ -0,0 +1 @@
|
||||
../3.0/manifest.json
|
||||
19
squizlabs/php_codesniffer/3.6/phpcs.xml.dist
Normal file
19
squizlabs/php_codesniffer/3.6/phpcs.xml.dist
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<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"/>
|
||||
|
||||
<rule ref="PSR12"/>
|
||||
|
||||
<file>bin/</file>
|
||||
<file>config/</file>
|
||||
<file>public/</file>
|
||||
<file>src/</file>
|
||||
<file>tests/</file>
|
||||
|
||||
</ruleset>
|
||||
Reference in New Issue
Block a user