Skip to content

Commit 7ebddf5

Browse files
author
Ethan Bray
authored
Update slevomat/coding-standard and remove unavailable sniff (#2)
1 parent eb15c9e commit 7ebddf5

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "MessageCloud Coding Standard",
55
"require": {
66
"squizlabs/php_codesniffer": "^3.0",
7-
"slevomat/coding-standard": "^4.6",
7+
"slevomat/coding-standard": "^5.0",
88
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4"
99
},
1010
"require-dev": {

ruleset.xml

-3
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,4 @@
231231

232232
<!-- Forbid useless alias for classes, constants and functions -->
233233
<rule ref="SlevomatCodingStandard.Namespaces.UselessAlias"/>
234-
235-
<!-- Require /* @var type $foo */ and similar simple inline annotations to be replaced by assert() -->
236-
<rule ref="SlevomatCodingStandard.PHP.RequireExplicitAssertion"/>
237234
</ruleset>

0 commit comments

Comments
 (0)