mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 16:17:28 +02:00
Updated if Statement (markdown)
@@ -56,7 +56,7 @@ if(!$condition) {
|
|||||||
|
|
||||||
_Reference_: [`Generic.CodeAnalysis.EmptyStatement`](https://github.com/squizlabs/PHP_CodeSniffer/blob/master/src/Standards/Generic/Sniffs/CodeAnalysis/EmptyStatementSniff.php)
|
_Reference_: [`Generic.CodeAnalysis.EmptyStatement`](https://github.com/squizlabs/PHP_CodeSniffer/blob/master/src/Standards/Generic/Sniffs/CodeAnalysis/EmptyStatementSniff.php)
|
||||||
|
|
||||||
# Do not write unconditional if-statements.
|
# Do not write unconditional if-statements
|
||||||
|
|
||||||
If-statements without conditions are considered bad practice and must be avoided.
|
If-statements without conditions are considered bad practice and must be avoided.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user