Skip to content

Improve callable phpdocs #270

Improve callable phpdocs

Improve callable phpdocs #270

Triggered via pull request December 8, 2023 14:54
Status Failure
Total duration 48s
Artifacts

test-unit.yml

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

Annotations

10 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#L640
Strict comparison using === between array<string>|(Closure($this): void)|string and null will always evaluate to false.
Unit (latest, StaticAnalysis): Database/Query.php#L701
Strict comparison using === between array<string>|(Closure($this): void)|string and null will always evaluate to false.
Unit (latest, StaticAnalysis): Editor/Field.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between \(callable\(\)\: mixed\)\|false and true will always evaluate to false\.$# in path /__w/Editor-PHP/Editor-PHP/Editor/Field.php was not matched in reported errors.
Unit (latest, StaticAnalysis): Editor/Field.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between callable\(\)\: mixed and null will always evaluate to false\.$# in path /__w/Editor-PHP/Editor-PHP/Editor/Field.php was not matched in reported errors.
Unit (latest, StaticAnalysis): Editor/Field.php#L376
Parameter $sbInput of method DataTables\Editor\Field::searchBuilderOptions() has invalid type DataTables\Editor\IOption.
Unit (latest, StaticAnalysis): Editor/Field.php#L376
Parameter $sbInput of method DataTables\Editor\Field::searchBuilderOptions() has invalid type DataTables\Editor\Promise.
Unit (latest, StaticAnalysis): Editor/Field.php#L543
Strict comparison using === between (callable(mixed): string)|false and true will always evaluate to false.
Unit (latest, StaticAnalysis): Editor/Field.php#L543
Strict comparison using === between callable(mixed): string and null will always evaluate to false.
Unit (latest, StaticAnalysis): Editor/Join.php#L741
Ignored error pattern #^Parameter \#2 \$value of method DataTables\\Database\\Query\:\:or_where\(\) expects array\<string\>\|string\|null, array\<int\> given\.$# in path /__w/Editor-PHP/Editor-PHP/Editor/Join.php is expected to occur 1 time, but occurred 2 times.