From 272fa105218005896e969db5d80fdda31727f0fd Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Mon, 29 Jan 2018 06:03:37 -0200 Subject: [PATCH] Add long long conditional expressions --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e297a063..187b033c 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ exceptions/differences/extensions (:white_check_mark: are the implemented sniffs - Keep the nesting of control structures per method as small as possible - Prefer early exit over nesting conditions or using else +- Split long conditional expressions that return bool into multiple return statements - :white_check_mark: Align equals (`=`) signs in assignments - :white_check_mark: Add spaces around a concatenation operator `$foo = 'Hello ' . 'World!';` - :white_check_mark: Add spaces between assignment, control and return statements