This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 865
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #347 from olefredrik/fix/fileDocComments
Added better file doc comments
- Loading branch information
Showing
31 changed files
with
540 additions
and
251 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,34 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="FoundationPress Theme, WordPress Coding Standards Configuration"> | ||
<ruleset name="WordPress Theme Coding Standards"> | ||
<!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml --> | ||
<!-- See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml --> | ||
|
||
<!-- Set a description for this ruleset. --> | ||
<description>A series of tests used to check FoundationPress for compliance with WordPress Coding Standards</description> | ||
<description>A custom set of code standard rules to check for WordPress themes.</description> | ||
|
||
<!-- Include the WordPress ruleset, with exclusions. --> | ||
<rule ref="WordPress"> | ||
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" /> | ||
<exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect" /> | ||
<exclude name="Generic.Files.EndFileNewline.NotFound" /> | ||
<exclude name="Generic.Formatting.DisallowMultipleStatements.SameLine" /> | ||
<exclude name="Generic.Functions.OpeningFunctionBraceKernighanRitchie.ContentAfterBrace" /> | ||
<exclude name="PEAR.Functions.FunctionCallSignature.Indent" /> | ||
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" /> | ||
<exclude name="PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket" /> | ||
<exclude name="PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket" /> | ||
|
||
<exclude name="Squiz.Commenting.FileComment.WrongStyle" /> | ||
<exclude name="Squiz.Commenting.BlockComment.NoEmptyLineBefore" /> | ||
<exclude name="Squiz.Commenting.FunctionComment.MissingParamTag" /> | ||
<exclude name="Squiz.Commenting.VariableComment.WrongStyle" /> | ||
<exclude name="Squiz.Commenting.FunctionComment.Missing" /> | ||
<exclude name="Squiz.Commenting.FunctionComment.WrongStyle" /> | ||
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar" /> | ||
<exclude name="Squiz.Commenting.ClassComment.Missing" /> | ||
|
||
<exclude name="WordPress.XSS.EscapeOutput" /> | ||
<exclude name="WordPress.WhiteSpace.ScopeIndent.Incorrect" /> | ||
<exclude name="WordPress.XSS.EscapeOutput.UnsafePrintingFunction" /> | ||
<exclude name="WordPress.XSS.EscapeOutput.OutputNotEscaped" /> | ||
<exclude name="WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis" /> | ||
<exclude name="WordPress.Variables.GlobalVariables" /> | ||
</rule> | ||
</ruleset> |
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
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
Oops, something went wrong.