Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 03387dd

Browse files
[cs] use consistence-community, add explicit code_sniffer to known the version
1 parent e31fc92 commit 03387dd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎build-cs/composer.json

Lines changed: 2 additions & 1 deletion
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
}

‎phpcs.xml

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /