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 863
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated travis and codesniffer files
- Loading branch information
1 parent
1c74b9e
commit ce2b529
Showing
4 changed files
with
79 additions
and
87 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,15 @@ | ||
<?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.Incorrect" /> | ||
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" /> | ||
<exclude name="Generic.Formatting.DisallowMultipleStatements.SameLine" /> | ||
<exclude name="Generic.Files.EndFileNewline.NotFound" /> | ||
|
||
<exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect" /> | ||
<exclude name="PEAR.Functions.FunctionCallSignature.Indent" /> | ||
<exclude name="Squiz.Commenting.FileComment.SpacingAfterComment" /> | ||
|
||
<exclude name="WordPress.XSS.EscapeOutput" /> | ||
<exclude name="WordPress.WhiteSpace.ScopeIndent.Incorrect" /> | ||
<exclude name="WordPress.WhiteSpace.ControlStructureSpacing" /> | ||
<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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ | |
<?php wp_footer(); ?> | ||
<?php do_action( 'foundationpress_before_closing_body' ); ?> | ||
</body> | ||
</html> | ||
</html> |