You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
* Variables assigned in `while` loop condition and `for` loop initial assignment cannot be used after the loop.
16
16
* Types in `switch` condition and `case` value must match. PHP compares them loosely by default and that can lead to unexpected results.
17
17
* Statically declared methods are called statically.
18
+
* Disallow `empty()` - it's a very loose comparison (see [manual)(https://secure.php.net/manual/en/function.empty.php)), it's recommended to use more strict one.
18
19
19
20
Additional rules are coming in subsequent releases!
0 commit comments