Avoid unused local variables such as '$request_uri'.
Avoid unused local variables such as '$unused'.
Avoid unused local variables such as '$strict'.
Avoid unused local variables such as '$discover_function'. (Would it be '$discover_func' instead?)
'$object->$attribute' is wrong. '$object->attribute' is correct.
Avoid unused local variables such as '$full_match'.
Avoid unused local variables such as '$v'.
Closing parenthesis of a multi-line function call must be on a line by itself.
Each class must be in a namespace of at least one level (a top-level vendor name)
Expected 1 (and only 1) blank line at end of file.
Visibility must be declared on methods.
Adding PSR2 check