Last active
November 1, 2019 15:32
-
-
Save eliot-akira/80f1837be0c1c9c94850ee17257fa336 to your computer and use it in GitHub Desktop.
Revisions
-
eliot-akira revised this gist
Nov 1, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ <?xml version="1.0"?> <ruleset name="MyStandard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd"> <description>WordPress code standard with 2-space indent.</description> <rule ref="WordPress"> <exclude name="Generic.WhiteSpace.DisallowSpaceIndent" /> -
eliot-akira revised this gist
Nov 1, 2019 . No changes.There are no files selected for viewing
-
eliot-akira revised this gist
Nov 1, 2019 . 1 changed file with 9 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ <description>WordPress code standard with 2-space indent.</description> <rule ref="WordPress"> <exclude name="Generic.WhiteSpace.DisallowSpaceIndent" /> <exclude name="PEAR.Functions.FunctionCallSignature.Indent"/> <exclude name="WordPress.Arrays.ArrayIndentation"/> <exclude name="WordPress.WhiteSpace.PrecisionAlignment"/> </rule> @@ -12,25 +12,25 @@ <properties> <property name="indent" value="2"/> <property name="tabIndent" value="false"/> <property name="ignoreIndentationTokens" type="array"> <element value="T_HEREDOC"/> <element value="T_NOWDOC"/> <element value="T_INLINE_HTML"/> </property> </properties> </rule> <rule ref="PEAR.Functions.FunctionCallSignature.Indent"> <properties> <property name="indent" value="2"/> </properties> </rule> <rule ref="WordPress.Arrays.ArrayIndentation"> <properties> <property name="indent" value="2"/> <property name="tabIndent" value="false"/> </properties> </rule> <rule ref="WordPress.WhiteSpace.PrecisionAlignment"> <properties> <property name="tabWidth" value="2"/> </properties> -
eliot-akira created this gist
Nov 1, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,38 @@ <?xml version="1.0"?> <ruleset name="MyStandard"> <description>WordPress code standard with 2-space indent.</description> <rule ref="WordPress"> <exclude name="Generic.WhiteSpace.DisallowSpaceIndent" /> <exclude name="PEAR.Functions.FunctionCallSignature.Indent"/> <exclude name="WordPress.Arrays.ArrayIndentation"/> <exclude name="WordPress.WhiteSpace.PrecisionAlignment"/> </rule> <rule ref="Generic.WhiteSpace.DisallowTabIndent" /> <rule ref="Generic.WhiteSpace.ScopeIndent"> <properties> <property name="indent" value="2"/> <property name="tabIndent" value="false"/> <property name="ignoreIndentationTokens" type="array"> <element value="T_HEREDOC"/> <element value="T_NOWDOC"/> <element value="T_INLINE_HTML"/> </property> </properties> </rule> <rule ref="PEAR.Functions.FunctionCallSignature.Indent"> <properties> <property name="indent" value="2"/> </properties> </rule> <rule ref="WordPress.Arrays.ArrayIndentation"> <properties> <property name="indent" value="2"/> <property name="tabIndent" value="false"/> </properties> </rule> <rule ref="WordPress.WhiteSpace.PrecisionAlignment"> <properties> <property name="tabWidth" value="2"/> </properties> </rule> </ruleset>