📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-30 01:28:19
📂
/
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Generic
/
Docs
/
CodeAnalysis
✏️
Editing: UnconditionalIfStatementStandard.xml
<documentation title="Unconditional If Statements"> <standard> <![CDATA[ If statements that are always evaluated should not be used. ]]> </standard> <code_comparison> <code title="Valid: An if statement that only executes conditionally."> <![CDATA[ if (<em>$test</em>) { $var = 1; } ]]> </code> <code title="Invalid: An if statement that is always performed."> <![CDATA[ if (<em>true</em>) { $var = 1; } ]]> </code> </code_comparison> <code_comparison> <code title="Valid: An if statement that only executes conditionally."> <![CDATA[ if (<em>$test</em>) { $var = 1; } ]]> </code> <code title="Invalid: An if statement that is never performed."> <![CDATA[ if (<em>false</em>) { $var = 1; } ]]> </code> </code_comparison> </documentation>
💾 Save Changes
❌ Cancel