Skip to content

Commit

Permalink
disable 2 phpcs rules in DivineComedy.php only
Browse files Browse the repository at this point in the history
  • Loading branch information
ricordisamoa committed Feb 1, 2018
1 parent 965506a commit 837f378
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions DivineComedy.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
// phpcs:disable Generic.Files.OneObjectStructurePerFile,MediaWiki.Files.ClassMatchesFilename

/**
* Divine Comedy link shortener - dvncmd.tk
Expand Down
2 changes: 0 additions & 2 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<?xml version="1.0"?>
<ruleset name="dvncmd">
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="Generic.Files.OneObjectStructurePerFile.MultipleFound" />
<exclude name="MediaWiki.AlternativeSyntax.PHP7UnicodeSyntax.NotAllowed" />
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
<exclude name="MediaWiki.Usage.ScalarTypeHintUsage.Found" />
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
</rule>
Expand Down

0 comments on commit 837f378

Please sign in to comment.