File "ObjectOperatorSpacingStandard.xml"
Full Path: /home/warrior1/public_html/wp-content-20241001222009/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/ObjectOperatorSpacingStandard.xml
File size: 513 bytes
MIME-type: text/plain
Charset: utf-8
<documentation title="Object Operator Spacing">
<standard>
<![CDATA[
The object operator (->) should not have any space around it.
]]>
</standard>
<code_comparison>
<code title="Valid: No spaces around the object operator.">
<![CDATA[
$foo<em></em>-><em></em>bar();
]]>
</code>
<code title="Invalid: Whitespace surrounding the object operator.">
<![CDATA[
$foo<em> </em>-><em> </em>bar();
]]>
</code>
</code_comparison>
</documentation>