Skip to content

Commit 4cf3ecf

Browse files
committed
[cs] use consistence-community, add explicit code_sniffer to known the version
1 parent 09f2b57 commit 4cf3ecf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: build-cs/composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
"php": "^7.1 || ^8.0"
44
},
55
"require-dev": {
6-
"consistence/coding-standard": "^3.10",
6+
"consistence-community/coding-standard": "^3.10",
77
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
8+
"squizlabs/php_codesniffer": "^3.5",
89
"slevomat/coding-standard": "^6.4.1"
910
}
1011
}

Diff for: phpcs.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<ruleset name="PHPStan PHPDoc Parser">
33
<config name="php_version" value="70100"/>
4-
<rule ref="build-cs/vendor/consistence/coding-standard/Consistence/ruleset.xml">
4+
<rule ref="build-cs/vendor/consistence-community/coding-standard/Consistence/ruleset.xml">
55
<exclude name="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.InvalidFormat"/>
66
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword"/>
77
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation"/>

0 commit comments

Comments
 (0)