golden hour
/opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Methods
⬆️ Go Up
Upload
File/Folder
Size
Actions
FunctionCallSignatureStandard.xml
2.54 KB
Del
OK
FunctionClosingBraceStandard.xml
602 B
Del
OK
MethodDeclarationStandard.xml
1.17 KB
Del
OK
Edit: FunctionClosingBraceStandard.xml
<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>
Save