Last active
February 11, 2018 14:39
-
-
Save paulgibbs/9d6c1f1cfc5d4765852c0e38a711e1e5 to your computer and use it in GitHub Desktop.
BP Nouveau phpcs.xml.dist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<ruleset name="WordPress Coding Standards"> | |
<description>Apply WordPress Coding Standards to all Core files</description> | |
<rule ref="WordPress-Core"> | |
<exclude name="WordPress.PHP.YodaConditions.NotYoda" /> | |
<exclude name="WordPress.WP.I18n.MissingTranslatorsComment" /> | |
<exclude name="WordPress.Files.FileName.InvalidClassFileName" /> | |
<exclude name="PEAR.NamingConventions.ValidClassName.Invalid" /> | |
<exclude name="WordPress.WP.PreparedSQL.NotPrepared" /> | |
</rule> | |
<rule ref="WordPress.CodeAnalysis.EmptyStatement"/> | |
<rule ref="Squiz.WhiteSpace.ScopeClosingBrace" /> | |
<rule ref="Generic.WhiteSpace.ScopeIndent"> | |
<properties> | |
<property name="ignoreIndentationTokens" type="array" value="T_HEREDOC,T_NOWDOC,T_INLINE_HTML,T_DOC_COMMENT_CLOSE_TAG,T_DOC_COMMENT_OPEN_TAG,T_DOC_COMMENT_STAR,T_DOC_COMMENT_STRING,T_DOC_COMMENT_TAG,T_DOC_COMMENT_WHITESPACE,T_DOC_COMMENT,T_COMMENT"/> | |
</properties> | |
</rule> | |
<arg name="extensions" value="php"/> | |
<arg value="ps"/> | |
<file>.</file> | |
</ruleset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment