Untitled diff
67 removals
129 lines
54 additions
117 lines
www-data@test:~/moxie/Caleres$ /var/www/moxie/phpcs/scripts/phpcs -vv --standard=WordPress-Core --ignore='library/vendors/**,/assets/js/vendor/**' wp-content/themes/caleres/html/investors.php
Caleres|develop⚡ ⇒ /Users/udit/Documents/moxie/workspace/phpcs/scripts/phpcs -vv --standard=WordPress-Core --ignore='library/vendors/**,/assets/js/vendor/**' wp-content/themes/caleres/html/investors.php
Processing ruleset /tmp/wpcs/WordPress-Core/ruleset.xml
Processing ruleset /private/tmp/wpcs/WordPress-Core/ruleset.xml
Processing rule "Generic.ControlStructures.InlineControlStructure"
Processing rule "Generic.ControlStructures.InlineControlStructure"
=> /var/www/moxie/phpcs/CodeSniffer/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php
=> /Users/udit/Documents/moxie/workspace/phpcs/CodeSniffer/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php
Processing rule "Squiz.WhiteSpace.SuperfluousWhitespace"
Processing rule "Squiz.WhiteSpace.SuperfluousWhitespace"
=> /var/www/moxie/phpcs/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/SuperfluousWhitespaceSniff.php
=> /Users/udit/Documents/moxie/workspace/phpcs/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/SuperfluousWhitespaceSniff.php
Processing rule "Generic.PHP.DisallowShortOpenTag"
Processing rule "Generic.PHP.DisallowShortOpenTag"
=> /var/www/moxie/phpcs/CodeSniffer/Standards/Generic/Sniffs/PHP/DisallowShortOpenTagSniff.php
=> /Users/udit/Documents/moxie/workspace/phpcs/CodeSniffer/Standards/Generic/Sniffs/PHP/DisallowShortOpenTagSniff.php
Processing rule "Generic.Files.ByteOrderMark"
Processing rule "Generic.Files.ByteOrderMark"
=> /var/www/moxie/phpcs/CodeSniffer/Standards/Generic/Sniffs/Files/ByteOrderMarkSniff.php
=> /Users/udit/Documents/moxie/workspace/phpcs/CodeSniffer/Standards/Generic/Sniffs/Files/ByteOrderMarkSniff.php
Processing rule "Generic.PHP.LowerCaseConstant"
Processing rule "Generic.PHP.LowerCaseConstant"
=> /var/www/moxie/phpcs/CodeSniffer/Standards/Generic/Sniffs/PHP/LowerCaseConstantSniff.php
=> /Users/udit/Documents/moxie/workspace/phpcs/CodeSniffer/Standards/Generic/Sniffs/PHP/LowerCaseConstantSniff.php
Processing rule "Generic.WhiteSpace.DisallowSpaceIndent"
Processing rule "Generic.WhiteSpace.DisallowSpaceIndent"
=> /var/www/moxie/phpcs/CodeSniffer/Standards/Generic/Sniffs/WhiteSpace/DisallowSpaceIndentSniff.php
=> /Users/udit/Documents/moxie/workspace/phpcs/CodeSniffer/Standards/Generic/Sniffs/WhiteSpace/DisallowSpaceIndentSniff.php
Processing rule "Generic.WhiteSpace.ScopeIndent"
Processing rule "Generic.WhiteSpace.ScopeIndent"
=> /var/www/moxie/phpcs/CodeSniffer/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php
=> /Users/udit/Documents/moxie/workspace/phpcs/CodeSniffer/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php
=> property "indent" set to "4"
=> property "indent" set to "4"
=> property "tabIndent" set to "true"
=> property "tabIndent" set to "true"
Processing rule "Generic.PHP.NoSilencedErrors"
Processing rule "Generic.PHP.NoSilencedErrors"
=> /var/www/moxie/phpcs/CodeSniffer/Standards/Generic/Sniffs/PHP/NoSilencedErrorsSniff.php
=> /Users/udit/Documents/moxie/workspace/phpcs/CodeSniffer/Standards/Generic/Sniffs/PHP/NoSilencedErrorsSniff.php
Processing rule "Squiz.Strings.DoubleQuoteUsage"
Processing rule "Squiz.Strings.DoubleQuoteUsage"
=> /var/www/moxie/phpcs/CodeSniffer/Standards/Squiz/Sniffs/Strings/DoubleQuoteUsageSniff.php
=> /Users/udit/Documents/moxie/workspace/phpcs/CodeSniffer/Standards/Squiz/Sniffs/Strings/DoubleQuoteUsageSniff.php
Processing rule "Squiz.Strings.DoubleQuoteUsage.ContainsVar"
Processing rule "Squiz.Strings.DoubleQuoteUsage.ContainsVar"
=> /var/www/moxie/phpcs/CodeSniffer/Standards/Squiz/Sniffs/Strings/DoubleQuoteUsageSniff.php
=> /Users/udit/Documents/moxie/workspace/phpcs/CodeSniffer/Standards/Squiz/Sniffs/Strings/DoubleQuoteUsageSniff.php
=> severity set to 0
=> severity set to 0
Processing rule "Generic.Files.LineEndings"
Processing rule "Generic.Files.LineEndings"
=> /var/www/moxie/phpcs/CodeSniffer/Standards/Generic/Sniffs/Files/LineEndingsSniff.php
=> /Users/udit/Documents/moxie/workspace/phpcs/CodeSniffer/Standards/Generic/Sniffs/Files/LineEndingsSniff.php
=> property "eolChar" set to "\n"
=> property "eolChar" set to "\n"
Processing rule "PEAR.Functions.FunctionCallSignature"
Processing rule "PEAR.Functions.FunctionCallSignature"
=> /var/www/moxie/phpcs/CodeSniffer/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php
=> /Users/udit/Documents/moxie/workspace/phpcs/CodeSniffer/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php
=> property "requiredSpacesAfterOpen" set to "1"
=> property "requiredSpacesAfterOpen" set to "1"
=> property "requiredSpacesBeforeClose" set to "1"
=> property "requiredSpacesBeforeClose" set to "1"
Processing rule "PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket"
Processing rule "PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket"
=> /var/www/moxie/phpcs/CodeSniffer/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php
=> /Users/udit/Documents/moxie/workspace/phpcs/CodeSniffer/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php
=> severity set to 0
=> severity set to 0
Processing rule "PEAR.Functions.FunctionCallSignature.CloseBracketLine"
Processing rule "PEAR.Functions.FunctionCallSignature.CloseBracketLine"
=> /var/www/moxie/phpcs/CodeSniffer/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php
=> /Users/udit/Documents/moxie/workspace/phpcs/CodeSniffer/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php
=> severity set to 0
=> severity set to 0
Processing rule "WordPress.Arrays.ArrayDeclaration"
Processing rule "WordPress.Arrays.ArrayDeclaration"
=> /tmp/wpcs/WordPress/Sniffs/Arrays/ArrayDeclarationSniff.php
=> /private/tmp/wpcs/WordPress/Sniffs/Arrays/ArrayDeclarationSniff.php
Processing rule "WordPress.Arrays.ArrayKeySpacingRestrictions"
Processing rule "WordPress.Arrays.ArrayKeySpacingRestrictions"
=> /tmp/wpcs/WordPress/Sniffs/Arrays/ArrayKeySpacingRestrictionsSniff.php
=> /private/tmp/wpcs/WordPress/Sniffs/Arrays/ArrayKeySpacingRestrictionsSniff.php
Processing rule "WordPress.Classes.ValidClassName"
Processing rule "WordPress.Classes.ValidClassName"
=> /tmp/wpcs/WordPress/Sniffs/Classes/ValidClassNameSniff.php
=> /private/tmp/wpcs/WordPress/Sniffs/Classes/ValidClassNameSniff.php
Processing rule "WordPress.Files.FileName"
Processing rule "WordPress.Files.FileName"
=> /tmp/wpcs/WordPress/Sniffs/Files/FileNameSniff.php
=> /private/tmp/wpcs/WordPress/Sniffs/Files/FileNameSniff.php
Processing rule "WordPress.Functions.FunctionDeclarationArgumentSpacing"
Processing rule "WordPress.Functions.FunctionDeclarationArgumentSpacing"
=> /tmp/wpcs/WordPress/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php
=> /private/tmp/wpcs/WordPress/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php
Processing rule "WordPress.NamingConventions.ValidFunctionName"
Processing rule "WordPress.NamingConventions.ValidFunctionName"
=> /tmp/wpcs/WordPress/Sniffs/NamingConventions/ValidFunctionNameSniff.php
=> /private/tmp/wpcs/WordPress/Sniffs/NamingConventions/ValidFunctionNameSniff.php
Processing rule "WordPress.WhiteSpace.ControlStructureSpacing"
Processing rule "WordPress.WhiteSpace.ControlStructureSpacing"
=> /tmp/wpcs/WordPress/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php
=> /private/tmp/wpcs/WordPress/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php
Processing rule "WordPress.WhiteSpace.OperatorSpacing"
Processing rule "WordPress.WhiteSpace.OperatorSpacing"
=> /tmp/wpcs/WordPress/Sniffs/WhiteSpace/OperatorSpacingSniff.php
=> /private/tmp/wpcs/WordPress/Sniffs/WhiteSpace/OperatorSpacingSniff.php
Processing rule "WordPress.WhiteSpace.CastStructureSpacing"
Processing rule "WordPress.WhiteSpace.CastStructureSpacing"
=> /tmp/wpcs/WordPress/Sniffs/WhiteSpace/CastStructureSpacingSniff.php
=> /private/tmp/wpcs/WordPress/Sniffs/WhiteSpace/CastStructureSpacingSniff.php
Processing rule "WordPress.PHP.YodaConditions"
Processing rule "WordPress.PHP.YodaConditions"
=> /tmp/wpcs/WordPress/Sniffs/PHP/YodaConditionsSniff.php
=> /private/tmp/wpcs/WordPress/Sniffs/PHP/YodaConditionsSniff.php
=> set command line value --tab-width=4
=> set command line value --tab-width=4
=> Ruleset processing complete; included 21 sniffs and excluded 0
=> Ruleset processing complete; included 21 sniffs and excluded 0
Creating file list... DONE (1 files in queue)
Creating file list... DONE (1 files in queue)
Changing into directory /var/www/moxie/Caleres/wp-content/themes/caleres/html
Changing into directory /Users/udit/Documents/moxie/workspace/Caleres/wp-content/themes/caleres/html
Processing investors.php
Processing investors.php
*** START PHP TOKENIZING ***
*** START PHP TOKENIZING ***
Process token [0]: T_INLINE_HTML => <!DOCTYPE·html>\n<html·lang="en">\n<head>\n··<meta·charset="UTF-8">\n··<meta·name="viewport"·content="width=device-width,·initial-scale=1.0">\n··<title>Caleres</title>\n··<link·rel="stylesheet"·href="../assets/css/style.css">\n</head>\n<body>\n\n··
Process token [0]: T_INLINE_HTML => <!DOCTYPE·html>\n<html·lang="en">\n<head>\n····<meta·charset="UTF-8">\n····<meta·name="viewport"·content="width=device-width,·initial-scale=1.0">\n····<title>Caleres</title>\n····<link·rel="stylesheet"·href="../assets/css/style.css">\n</head>\n<body>\n\n····
Process token [1]: T_OPEN_TAG => <?php·
Process token [1]: T_OPEN_TAG => <?php·
Process token [2]: T_INCLUDE => include
Process token [2]: T_INCLUDE => include
Process token [3]: T_WHITESPACE => ·
Process token [3]: T_WHITESPACE => ·
Process token [4]: T_CONSTANT_ENCAPSED_STRING => 'investors/banner-section.php'
Process token [4]: T_CONSTANT_ENCAPSED_STRING => 'investors/banner-section.php'
Process token [5]: T_WHITESPACE => ·
Process token [5]: T_WHITESPACE => ·
Process token [6]: T_CLOSE_TAG => ?>\n
Process token [6]: T_CLOSE_TAG => ?>\n
Process token [7]: T_INLINE_HTML => \n··
Process token [7]: T_INLINE_HTML => \n····
Process token [8]: T_OPEN_TAG => <?php·
Process token [8]: T_OPEN_TAG => <?php·
Process token [9]: T_INCLUDE => include
Process token [9]: T_INCLUDE => include
Process token [10]: T_WHITESPACE => ·
Process token [10]: T_WHITESPACE => ·
Process token [11]: T_CONSTANT_ENCAPSED_STRING => 'investors/grid-sections.php'
Process token [11]: T_CONSTANT_ENCAPSED_STRING => 'investors/grid-sections.php'
Process token [12]: T_WHITESPACE => ·
Process token [12]: T_WHITESPACE => ·
Process token [13]: T_CLOSE_TAG => ?>\n
Process token [13]: T_CLOSE_TAG => ?>\n
Process token [14]: T_INLINE_HTML => </body>\n</html>\n
Process token [14]: T_INLINE_HTML => </body>\n</html>\n
*** END PHP TOKENIZING ***
*** END PHP TOKENIZING ***
*** START TOKEN MAP ***
*** START TOKEN MAP ***
*** END TOKEN MAP ***
*** END TOKEN MAP ***
*** START SCOPE MAP ***
*** START SCOPE MAP ***
*** END SCOPE MAP ***
*** END SCOPE MAP ***
*** START LEVEL MAP ***
*** START LEVEL MAP ***
Process token 0 on line 1 [col:1;len:15;lvl:0;]: T_INLINE_HTML => <!DOCTYPE·html>\n
Process token 0 on line 1 [col:1;len:15;lvl:0;]: T_INLINE_HTML => <!DOCTYPE·html>\n
Process token 1 on line 2 [col:1;len:16;lvl:0;]: T_INLINE_HTML => <html·lang="en">\n
Process token 1 on line 2 [col:1;len:16;lvl:0;]: T_INLINE_HTML => <html·lang="en">\n
Process token 2 on line 3 [col:1;len:6;lvl:0;]: T_INLINE_HTML => <head>\n
Process token 2 on line 3 [col:1;len:6;lvl:0;]: T_INLINE_HTML => <head>\n
Process token 3 on line 4 [col:1;len:24;lvl:0;]: T_INLINE_HTML => ··<meta·charset="UTF-8">\n
Process token 3 on line 4 [col:1;len:26;lvl:0;]: T_INLINE_HTML => ····<meta·charset="UTF-8">\n
Process token 4 on line 5 [col:1;len:72;lvl:0;]: T_INLINE_HTML => ··<meta·name="viewport"·content="width=device-width,·initial-scale=1.0">\n
Process token 4 on line 5 [col:1;len:74;lvl:0;]: T_INLINE_HTML => ····<meta·name="viewport"·content="width=device-width,·initial-scale=1.0">\n
Process token 5 on line 6 [col:1;len:24;lvl:0;]: T_INLINE_HTML => ··<title>Caleres</title>\n
Process token 5 on line 6 [col:1;len:26;lvl:0;]: T_INLINE_HTML => ····<title>Caleres</title>\n
Process token 6 on line 7 [col:1;len:56;lvl:0;]: T_INLINE_HTML => ··<link·rel="stylesheet"·href="../assets/css/style.css">\n
Process token 6 on line 7 [col:1;len:58;lvl:0;]: T_INLINE_HTML => ····<link·rel="stylesheet"·href="../assets/css/style.css">\n
Process token 7 on line 8 [col:1;len:7;lvl:0;]: T_INLINE_HTML => </head>\n
Process token 7 on line 8 [col:1;len:7;lvl:0;]: T_INLINE_HTML => </head>\n
Process token 8 on line 9 [col:1;len:6;lvl:0;]: T_INLINE_HTML => <body>\n
Process token 8 on line 9 [col:1;len:6;lvl:0;]: T_INLINE_HTML => <body>\n
Process token 9 on line 10 [col:1;len:0;lvl:0;]: T_INLINE_HTML => \n
Process token 9 on line 10 [col:1;len:0;lvl:0;]: T_INLINE_HTML => \n
Process token 10 on line 11 [col:1;len:2;lvl:0;]: T_INLINE_HTML => ··
Process token 10 on line 11 [col:1;len:4;lvl:0;]: T_INLINE_HTML => ····
Process token 11 on line 11 [col:3;len:6;lvl:0;]: T_OPEN_TAG => <?php·
Process token 11 on line 11 [col:5;len:6;lvl:0;]: T_OPEN_TAG => <?php·
Process token 12 on line 11 [col:9;len:7;lvl:0;]: T_INCLUDE => include
Process token 12 on line 11 [col:11;len:7;lvl:0;]: T_INCLUDE => include
Process token 13 on line 11 [col:16;len:1;lvl:0;]: T_WHITESPACE => ·
Process token 13 on line 11 [col:18;len:1;lvl:0;]: T_WHITESPACE => ·
Process token 14 on line 11 [col:17;len:30;lvl:0;]: T_CONSTANT_ENCAPSED_STRING => 'investors/banner-section.php'
Process token 14 on line 11 [col:19;len:30;lvl:0;]: T_CONSTANT_ENCAPSED_STRING => 'investors/banner-section.php'
Process token 15 on line 11 [col:47;len:1;lvl:0;]: T_WHITESPACE => ·
Process token 15 on line 11 [col:49;len:1;lvl:0;]: T_WHITESPACE => ·
Process token 16 on line 11 [col:48;len:2;lvl:0;]: T_CLOSE_TAG => ?>\n
Process token 16 on line 11 [col:50;len:2;lvl:0;]: T_CLOSE_TAG => ?>\n
Process token 17 on line 12 [col:1;len:0;lvl:0;]: T_INLINE_HTML => \n
Process token 17 on line 12 [col:1;len:0;lvl:0;]: T_INLINE_HTML => \n
Process token 18 on line 13 [col:1;len:2;lvl:0;]: T_INLINE_HTML => ··
Process token 18 on line 13 [col:1;len:4;lvl:0;]: T_INLINE_HTML => ····
Process token 19 on line 13 [col:3;len:6;lvl:0;]: T_OPEN_TAG => <?php·
Process token 19 on line 13 [col:5;len:6;lvl:0;]: T_OPEN_TAG => <?php·
Process token 20 on line 13 [col:9;len:7;lvl:0;]: T_INCLUDE => include
Process token 20 on line 13 [col:11;len:7;lvl:0;]: T_INCLUDE => include
Process token 21 on line 13 [col:16;len:1;lvl:0;]: T_WHITESPACE => ·
Process token 21 on line 13 [col:18;len:1;lvl:0;]: T_WHITESPACE => ·
Process token 22 on line 13 [col:17;len:29;lvl:0;]: T_CONSTANT_ENCAPSED_STRING => 'investors/grid-sections.php'
Process token 22 on line 13 [col:19;len:29;lvl:0;]: T_CONSTANT_ENCAPSED_STRING => 'investors/grid-sections.php'
Process token 23 on line 13 [col:46;len:1;lvl:0;]: T_WHITESPACE => ·
Process token 23 on line 13 [col:48;len:1;lvl:0;]: T_WHITESPACE => ·
Process token 24 on line 13 [col:47;len:2;lvl:0;]: T_CLOSE_TAG => ?>\n
Process token 24 on line 13 [col:49;len:2;lvl:0;]: T_CLOSE_TAG => ?>\n
Process token 25 on line 14 [col:1;len:7;lvl:0;]: T_INLINE_HTML => </body>\n
Process token 25 on line 14 [col:1;len:7;lvl:0;]: T_INLINE_HTML => </body>\n
Process token 26 on line 15 [col:1;len:7;lvl:0;]: T_INLINE_HTML => </html>\n
Process token 26 on line 15 [col:1;len:7;lvl:0;]: T_INLINE_HTML => </html>\n
*** END LEVEL MAP ***
*** END LEVEL MAP ***
*** START ADDITIONAL PHP PROCESSING ***
*** START ADDITIONAL PHP PROCESSING ***
*** END ADDITIONAL PHP PROCESSING ***
*** END ADDITIONAL PHP PROCESSING ***
[PHP => 27 tokens in 15 lines]...
[PHP => 27 tokens in 15 lines]...
DONE in 30ms (1 errors, 0 warnings)
DONE in 2ms (0 errors, 0 warnings)
FILE: ...r/www/moxie/Caleres/wp-content/themes/caleres/html/investors.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
13 | ERROR | [x] Line indented incorrectly; expected 1 tabs, found 0
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Time: 135ms; Memory: 3Mb