comparison vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/ObjectOperatorSpacingStandard.xml @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Docs/WhiteSpace/ObjectOperatorSpacingStandard.xml@4c8ae668cc8c
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
1 <documentation title="Object Operator Spacing">
2 <standard>
3 <![CDATA[
4 The object operator (->) should not have any space around it.
5 ]]>
6 </standard>
7 <code_comparison>
8 <code title="Valid: No spaces around the object operator.">
9 <![CDATA[
10 $foo<em></em>-><em></em>bar();
11 ]]>
12 </code>
13 <code title="Invalid: Whitespace surrounding the object operator.">
14 <![CDATA[
15 $foo<em> </em>-><em> </em>bar();
16 ]]>
17 </code>
18 </code_comparison>
19 </documentation>