|
19 | 19 | * Statically declared methods are called statically. |
20 | 20 | * Disallow `empty()` - it's a very loose comparison (see [manual](https://php.net/empty)), it's recommended to use more strict one. |
21 | 21 | * Always true `instanceof`, type-checking `is_*` functions and strict comparisons `===`/`!==`. These checks can be turned off by setting `checkAlwaysTrueInstanceof`/`checkAlwaysTrueCheckTypeFunctionCall`/`checkAlwaysTrueStrictComparison` to false. |
| 22 | +* Require parameter and return typehints for functions and methods (either native or phpDocs) |
22 | 23 | * Correct case for referenced and called function names. |
23 | 24 | * Correct case for inherited and implemented method names. |
24 | 25 |
|
|
0 commit comments