Mercurial > hg > isophonics-drupal-site
view vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Docs/WhiteSpace/LanguageConstructSpacingStandard.xml @ 9:1fc0ff908d1f
Add another data file
author | Chris Cannam |
---|---|
date | Mon, 05 Feb 2018 12:34:32 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<documentation title="Language Construct Whitespace"> <standard> <![CDATA[ The php constructs echo, print, return, include, include_once, require, require_once, and new should have one space after them. ]]> </standard> <code_comparison> <code title="Valid: echo statement with a single space after it."> <![CDATA[ echo<em> </em>"hi"; ]]> </code> <code title="Invalid: echo statement with no space after it."> <![CDATA[ echo<em></em>"hi"; ]]> </code> </code_comparison> </documentation>