Skip to content

Improve return $this phpdoc for chaining #260

Improve return $this phpdoc for chaining

Improve return $this phpdoc for chaining #260

Triggered via pull request December 6, 2023 11:51
Status Failure
Total duration 46s
Artifacts

test-unit.yml

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

Annotations

10 errors
Unit (latest, StaticAnalysis): Database/Driver/Db2Query.php#L1
Ignored error pattern #^Method DataTables\\Database\\Driver\\Db2Query\:\:connect\(\) should return DataTables\\Database\\Query but returns resource\.$# in path /__w/Editor-PHP/Editor-PHP/Database/Driver/Db2Query.php was not matched in reported errors.
Unit (latest, StaticAnalysis): Database/Driver/Db2Query.php#L69
Method DataTables\Database\Driver\Db2Query::connect() should return PDO but returns resource.
Unit (latest, StaticAnalysis): Database/Driver/FirebirdQuery.php#L1
Ignored error pattern #^Method DataTables\\Database\\Driver\\FirebirdQuery\:\:connect\(\) should return DataTables\\Database\\Query but returns PDO\.$# in path /__w/Editor-PHP/Editor-PHP/Database/Driver/FirebirdQuery.php was not matched in reported errors.
Unit (latest, StaticAnalysis): Database/Driver/FirebirdQuery.php#L101
Call to function is_array() with non-empty-array<string> will always evaluate to true.
Unit (latest, StaticAnalysis): Database/Driver/MysqlQuery.php#L1
Ignored error pattern #^Method DataTables\\Database\\Driver\\MysqlQuery\:\:connect\(\) should return DataTables\\Database\\Query but returns PDO\.$# in path /__w/Editor-PHP/Editor-PHP/Database/Driver/MysqlQuery.php was not matched in reported errors.
Unit (latest, StaticAnalysis): Database/Driver/OracleQuery.php#L1
Ignored error pattern #^Method DataTables\\Database\\Driver\\OracleQuery\:\:connect\(\) should return DataTables\\Database\\Query but returns resource\.$# in path /__w/Editor-PHP/Editor-PHP/Database/Driver/OracleQuery.php was not matched in reported errors.
Unit (latest, StaticAnalysis): Database/Driver/OracleQuery.php#L89
Method DataTables\Database\Driver\OracleQuery::connect() should return PDO but returns resource.
Unit (latest, StaticAnalysis): Database/Driver/OracleQuery.php#L118
Call to function is_array() with non-empty-array<string> will always evaluate to true.
Unit (latest, StaticAnalysis): Database/Driver/PostgresQuery.php#L1
Ignored error pattern #^Method DataTables\\Database\\Driver\\PostgresQuery\:\:connect\(\) should return DataTables\\Database\\Query but returns PDO\.$# in path /__w/Editor-PHP/Editor-PHP/Database/Driver/PostgresQuery.php was not matched in reported errors.
Unit (latest, StaticAnalysis): Database/Driver/SqliteQuery.php#L1
Ignored error pattern #^Method DataTables\\Database\\Driver\\SqliteQuery\:\:connect\(\) should return DataTables\\Database\\Query but returns PDO\.$# in path /__w/Editor-PHP/Editor-PHP/Database/Driver/SqliteQuery.php was not matched in reported errors.