Mathias Reker ⚡️

Results 30 issues of Mathias Reker ⚡️

## Description Lambdas not (indirect) referencing $this must be declared static. ## Motivation and context ## How has this been tested? ## Types of changes - [ ] Bug fix...

Converts implicit variables into explicit ones in double-quoted strings or heredoc syntax.

Add curly braces to indirect variables to make them clear to understand.

Add void return type to functions with missing or empty return statements, but priority is given to @return annotations.

Replace strpos() calls with str_starts_with() or str_contains() if possible.

Adds ? before type declarations for parameters with a default null value

Orders the interfaces in an implements or interface extends clause.

Add curly braces to indirect variables to make them clear to understand.

Add void return type to functions with missing or empty return statements, but priority is given to @return annotations.

Anonymous functions with one-liner return statement must use arrow functions.