From bc7c3bf4064e2ae23b0e1713d6dd5024f38b9ba9 Mon Sep 17 00:00:00 2001 From: LogMANOriginal Date: Mon, 5 Nov 2018 13:46:28 +0100 Subject: [PATCH] Updated if Statement (markdown) --- if-Statement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/if-Statement.md b/if-Statement.md index f6c652f..8308190 100644 --- a/if-Statement.md +++ b/if-Statement.md @@ -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) -# Do not write unconditional if-statements. +# Do not write unconditional if-statements If-statements without conditions are considered bad practice and must be avoided.