Skip to content

Improve callable phpdocs #255

Improve callable phpdocs

Improve callable phpdocs #255

Triggered via pull request December 2, 2023 15:16
Status Failure
Total duration 54s
Artifacts

test-unit.yml

on: pull_request
Matrix: Unit
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Unit (latest, StaticAnalysis): Database/Query.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between array\<string\>\|\(callable\(\)\: mixed\)\|string and null will always evaluate to false\.$# in path /__w/Editor-PHP/Editor-PHP/Database/Query.php was not matched in reported errors.
Unit (latest, StaticAnalysis): Database/Query.php#L638
Strict comparison using === between array<string>|(Closure($this(DataTables\Database\Query)): void)|string and null will always evaluate to false.
Unit (latest, StaticAnalysis): Database/Query.php#L699
Strict comparison using === between array<string>|(Closure($this(DataTables\Database\Query)): void)|string and null will always evaluate to false.
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#L1499
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#L2110
Else branch is unreachable because ternary operator condition is always true.
Unit (latest, CodingStyle)
Process completed with exit code 8.