Untitled diff
41 removals
107 lines
29 additions
96 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/menu/contact-info.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/menu/contact-info.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/menu
Changing into directory /Users/udit/Documents/moxie/workspace/Caleres/wp-content/themes/caleres/html/menu
Processing contact-info.php
Processing contact-info.php
*** START PHP TOKENIZING ***
*** START PHP TOKENIZING ***
Process token [0]: T_INLINE_HTML => <section·class="contact-info">\n··<div·class="item-info·headquarters">\n····<h4·class="title-info">headquarters</h4>\n····<div·class="box-info">\n······<div·class="adress">8300·Marlyand·Avenue</div>\n······<div·class="state">St.·Louis,·Missouri·63105</div>\n······<div·class="phone">+1·314-854-4000</div>\n····</div>\n··</div>\n··<div·class="item-info·connect">\n····<h4·class="title-info">connect</h4>\n····<div·class="list-social">\n······<li><a·href="">Facebook</a></li>\n······<li><a·href="">Twitter</a></li>\n······<li><a·href="">Instagram</a></li>\n······<li><a·href="">Pinterest</a></li>\n····</div>\n··</div>\n</section>\n
Process token [0]: T_INLINE_HTML => <section·class="contact-info">\n··<div·class="item-info·headquarters">\n····<h4·class="title-info">headquarters</h4>\n····<div·class="box-info">\n······<div·class="adress">8300·Marlyand·Avenue</div>\n······<div·class="state">St.·Louis,·Missouri·63105</div>\n······<div·class="phone">+1·314-854-4000</div>\n····</div>\n··</div>\n··<div·class="item-info·connect">\n····<h4·class="title-info">connect</h4>\n····<div·class="list-social">\n······<li><a·href="">Facebook</a></li>\n······<li><a·href="">Twitter</a></li>\n······<li><a·href="">Instagram</a></li>\n······<li><a·href="">Pinterest</a></li>\n····</div>\n··</div>\n</section>\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:30;lvl:0;]: T_INLINE_HTML => <section·class="contact-info">\n
Process token 0 on line 1 [col:1;len:30;lvl:0;]: T_INLINE_HTML => <section·class="contact-info">\n
Process token 1 on line 2 [col:1;len:38;lvl:0;]: T_INLINE_HTML => ··<div·class="item-info·headquarters">\n
Process token 1 on line 2 [col:1;len:38;lvl:0;]: T_INLINE_HTML => ··<div·class="item-info·headquarters">\n
Process token 2 on line 3 [col:1;len:44;lvl:0;]: T_INLINE_HTML => ····<h4·class="title-info">headquarters</h4>\n
Process token 2 on line 3 [col:1;len:44;lvl:0;]: T_INLINE_HTML => ····<h4·class="title-info">headquarters</h4>\n
Process token 3 on line 4 [col:1;len:26;lvl:0;]: T_INLINE_HTML => ····<div·class="box-info">\n
Process token 3 on line 4 [col:1;len:26;lvl:0;]: T_INLINE_HTML => ····<div·class="box-info">\n
Process token 4 on line 5 [col:1;len:52;lvl:0;]: T_INLINE_HTML => ······<div·class="adress">8300·Marlyand·Avenue</div>\n
Process token 4 on line 5 [col:1;len:52;lvl:0;]: T_INLINE_HTML => ······<div·class="adress">8300·Marlyand·Avenue</div>\n
Process token 5 on line 6 [col:1;len:56;lvl:0;]: T_INLINE_HTML => ······<div·class="state">St.·Louis,·Missouri·63105</div>\n
Process token 5 on line 6 [col:1;len:56;lvl:0;]: T_INLINE_HTML => ······<div·class="state">St.·Louis,·Missouri·63105</div>\n
Process token 6 on line 7 [col:1;len:46;lvl:0;]: T_INLINE_HTML => ······<div·class="phone">+1·314-854-4000</div>\n
Process token 6 on line 7 [col:1;len:46;lvl:0;]: T_INLINE_HTML => ······<div·class="phone">+1·314-854-4000</div>\n
Process token 7 on line 8 [col:1;len:10;lvl:0;]: T_INLINE_HTML => ····</div>\n
Process token 7 on line 8 [col:1;len:10;lvl:0;]: T_INLINE_HTML => ····</div>\n
Process token 8 on line 9 [col:1;len:8;lvl:0;]: T_INLINE_HTML => ··</div>\n
Process token 8 on line 9 [col:1;len:8;lvl:0;]: T_INLINE_HTML => ··</div>\n
Process token 9 on line 10 [col:1;len:33;lvl:0;]: T_INLINE_HTML => ··<div·class="item-info·connect">\n
Process token 9 on line 10 [col:1;len:33;lvl:0;]: T_INLINE_HTML => ··<div·class="item-info·connect">\n
Process token 10 on line 11 [col:1;len:39;lvl:0;]: T_INLINE_HTML => ····<h4·class="title-info">connect</h4>\n
Process token 10 on line 11 [col:1;len:39;lvl:0;]: T_INLINE_HTML => ····<h4·class="title-info">connect</h4>\n
Process token 11 on line 12 [col:1;len:29;lvl:0;]: T_INLINE_HTML => ····<div·class="list-social">\n
Process token 11 on line 12 [col:1;len:29;lvl:0;]: T_INLINE_HTML => ····<div·class="list-social">\n
Process token 12 on line 13 [col:1;len:38;lvl:0;]: T_INLINE_HTML => ······<li><a·href="">Facebook</a></li>\n
Process token 12 on line 13 [col:1;len:38;lvl:0;]: T_INLINE_HTML => ······<li><a·href="">Facebook</a></li>\n
Process token 13 on line 14 [col:1;len:37;lvl:0;]: T_INLINE_HTML => ······<li><a·href="">Twitter</a></li>\n
Process token 13 on line 14 [col:1;len:37;lvl:0;]: T_INLINE_HTML => ······<li><a·href="">Twitter</a></li>\n
Process token 14 on line 15 [col:1;len:39;lvl:0;]: T_INLINE_HTML => ······<li><a·href="">Instagram</a></li>\n
Process token 14 on line 15 [col:1;len:39;lvl:0;]: T_INLINE_HTML => ······<li><a·href="">Instagram</a></li>\n
Process token 15 on line 16 [col:1;len:39;lvl:0;]: T_INLINE_HTML => ······<li><a·href="">Pinterest</a></li>\n
Process token 15 on line 16 [col:1;len:39;lvl:0;]: T_INLINE_HTML => ······<li><a·href="">Pinterest</a></li>\n
Process token 16 on line 17 [col:1;len:10;lvl:0;]: T_INLINE_HTML => ····</div>\n
Process token 16 on line 17 [col:1;len:10;lvl:0;]: T_INLINE_HTML => ····</div>\n
Process token 17 on line 18 [col:1;len:8;lvl:0;]: T_INLINE_HTML => ··</div>\n
Process token 17 on line 18 [col:1;len:8;lvl:0;]: T_INLINE_HTML => ··</div>\n
Process token 18 on line 19 [col:1;len:10;lvl:0;]: T_INLINE_HTML => </section>\n
Process token 18 on line 19 [col:1;len:10;lvl:0;]: T_INLINE_HTML => </section>\n
*** END LEVEL MAP ***
*** END LEVEL MAP ***
*** START ADDITIONAL PHP PROCESSING ***
*** START ADDITIONAL PHP PROCESSING ***
*** END ADDITIONAL PHP PROCESSING ***
*** END ADDITIONAL PHP PROCESSING ***
[PHP => 19 tokens in 19 lines]...
[PHP => 19 tokens in 19 lines]...
DONE in 6ms (0 errors, 1 warnings)
DONE in 3ms (0 errors, 0 warnings)
FILE: ...xie/Caleres/wp-content/themes/caleres/html/menu/contact-info.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
1 | WARNING | No PHP code was found in this file and short open tags
| | are not allowed by this install of PHP. This file may
| | be using short open tags but PHP does not allow them.
----------------------------------------------------------------------
Time: 29ms; Memory: 3Mb