Skip to content

Commit

Permalink
update mediawiki/mediawiki-codesniffer from 15.0.0 to 21.0.0
Browse files Browse the repository at this point in the history
renamed 1 rule, removed 1 obsolete exclude, excluded 5 more rules
  • Loading branch information
ricordisamoa committed Aug 4, 2018
1 parent 7d9be3e commit e08e03a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"php": "^7.0"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "15.0.0",
"mediawiki/mediawiki-codesniffer": "21.0.0",
"phpunit/phpunit": "6.5.2"
},
"autoload": {
Expand Down
8 changes: 6 additions & 2 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
<?xml version="1.0"?>
<ruleset name="dvncmd">
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.AlternativeSyntax.PHP7UnicodeSyntax.NotAllowed" />
<exclude name="MediaWiki.Usage.ScalarTypeHintUsage.Found" />
<exclude name="MediaWiki.Commenting.FunctionAnnotations.UnrecognizedAnnotation" />
<exclude name="MediaWiki.Commenting.FunctionComment.DefaultNullTypeParam" />
<exclude name="MediaWiki.Commenting.LicenseComment.InvalidLicenseTag" />
<exclude name="MediaWiki.Commenting.LicenseComment.LicenseTagNonFileComment" />
<exclude name="MediaWiki.Commenting.MissingCovers.MissingCovers" />
<exclude name="MediaWiki.PHP70Features.ScalarTypeHintUsage" />
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
</rule>
<file>.</file>
Expand Down

0 comments on commit e08e03a

Please sign in to comment.