Simplify "ïs_callable && is_object" to "instanceof Closure" #256
Annotations
11 errors
Unit (latest, StaticAnalysis):
Editor.php#L1
Ignored error pattern #^Property DataTables\\Editor\:\:\$_validator \(callable\(\)\: mixed\) does not accept default value of type array\{\}\.$# in path /__w/Editor-PHP/Editor-PHP/Editor.php was not matched in reported errors.
|
Unit (latest, StaticAnalysis):
Editor.php#L1
Ignored error pattern #^Strict comparison using \!\=\= between DataTables\\Database\\Result and null will always evaluate to true\.$# in path /__w/Editor-PHP/Editor-PHP/Editor.php was not matched in reported errors.
|
Unit (latest, StaticAnalysis):
Editor.php#L1
Ignored error pattern #^Strict comparison using \!\=\= between array and null will always evaluate to true\.$# in path /__w/Editor-PHP/Editor-PHP/Editor.php was not matched in reported errors.
|
Unit (latest, StaticAnalysis):
Editor.php#L1
Ignored error pattern #^Strict comparison using \!\=\= between int\|string and null will always evaluate to true\.$# in path /__w/Editor-PHP/Editor-PHP/Editor.php was not matched in reported errors.
|
Unit (latest, StaticAnalysis):
Editor.php#L1
Ignored error pattern #^Strict comparison using \!\=\= between string and null will always evaluate to true\.$# in path /__w/Editor-PHP/Editor-PHP/Editor.php was not matched in reported errors.
|
Unit (latest, StaticAnalysis):
Editor.php#L1498
Ignored error pattern #^If condition is always true\.$# in path /__w/Editor-PHP/Editor-PHP/Editor.php is expected to occur 4 times, but occurred only 2 times.
|
Unit (latest, StaticAnalysis):
Editor.php#L2109
Else branch is unreachable because ternary operator condition is always true.
|
Unit (latest, StaticAnalysis):
Editor/Field.php#L1
Ignored error pattern #^Call to function is_callable\(\) with callable\(\)\: mixed will always evaluate to true\.$# in path /__w/Editor-PHP/Editor-PHP/Editor/Field.php was not matched in reported errors.
|
Unit (latest, StaticAnalysis):
Editor/Field.php#L390
Undefined variable: $spInput
|
Unit (latest, StaticAnalysis):
Editor/Field.php#L518
Method DataTables\Editor\Field::validator() should return (callable(): mixed)|DataTables\Editor\Field|string but returns array<array>.
|
Unit (latest, CodingStyle)
Process completed with exit code 8.
|