PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Methods/FunctionClosingBraceStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Nolimitbuzz WP Theme   vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Methods/FunctionClosingBraceStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Methods/FunctionClosingBraceStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Nolimitbuzz WP Theme
WordPress theme to used as start of new themes
Author: By
Last change:
Date: 7 days ago
Size: 602 bytes
 

Contents

Class file image Download
<documentation title="Function Closing Brace"> <standard> <![CDATA[ Checks that the closing brace of a function goes directly after the body. ]]> </standard> <code_comparison> <code title="Valid: Closing brace directly follows the function body."> <![CDATA[ function foo() { echo 'foo'; <em>}</em> ]]> </code> <code title="Invalid: Blank line between the function body and the closing brace."> <![CDATA[ function foo() { echo 'foo'; <em></em> <em>}</em> ]]> </code> </code_comparison> </documentation>