PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/InlineHTMLStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/InlineHTMLStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/InlineHTMLStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: 1 month ago
Size: 595 bytes
 

Contents

Class file image Download
<documentation title="Inline HTML"> <standard> <![CDATA[ Files that contain PHP code should only have PHP code and should not have any "inline html". ]]> </standard> <code_comparison> <code title="Valid: A PHP file with only PHP code in it."> <![CDATA[ <?php $foo = 'bar'; echo $foo . 'baz'; ]]> </code> <code title="Invalid: A PHP file with html in it outside of the PHP tags."> <![CDATA[ <em>some string here</em> <?php $foo = 'bar'; echo $foo . 'baz'; ]]> </code> </code_comparison> </documentation>