Skip to content

Commit b988a6a

Browse files
committed
remove phpmyadmin/coding-standard and add squizlabs/php_codesniffer
See: 86c5bae Signed-off-by: William Desportes <williamdes@wdes.fr>
1 parent 930a860 commit b988a6a

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"sami/sami": "^4.0",
2424
"phpunit/php-code-coverage": "*",
2525
"phpunit/phpunit": "~4.8 || ~5.7 || ~6.5",
26-
"phpmyadmin/coding-standard": "^1.0"
26+
"squizlabs/php_codesniffer": "^3.4"
2727
},
2828
"conflict": {
2929
"phpmyadmin/motranslator": "<3.0"

phpcs.xml.dist

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44
name="phpMyAdmin"
55
xsi:noNamespaceSchemaLocation="./vendor/squizlabs/php_codesniffer/phpcs.xsd"
66
>
7-
<rule ref="./vendor/phpmyadmin/coding-standard/PhpMyAdmin/ruleset.xml">
8-
<exclude name="PEAR.Commenting.FileComment"/>
9-
<exclude name="PEAR.Commenting.ClassComment"/>
10-
<exclude name="PEAR.Commenting.FunctionComment"/>
11-
</rule>
12-
137
<rule ref="Squiz.Arrays.ArrayDeclaration.IndexNoNewline">
148
<exclude-pattern>*/src/Contexts/*</exclude-pattern>
159
</rule>

0 commit comments

Comments
 (0)