Skip to content

Improve return $this phpdoc for chaining #258

Improve return $this phpdoc for chaining

Improve return $this phpdoc for chaining #258

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

test-unit.yml

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

Annotations

11 errors
Unit (latest, StaticAnalysis): Database.php#L151
PHPDoc tag @return has invalid value (($set is null ? bool : $this) Debug mode state if no parameter is given.): Unexpected token "$set", expected type at offset 127
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/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/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.
Unit (latest, StaticAnalysis): Database/Driver/SqlserverQuery.php#L1
Ignored error pattern #^Method DataTables\\Database\\Driver\\SqlserverQuery\:\:connect\(\) should return DataTables\\Database\\Query but returns PDO\.$# in path /__w/Editor-PHP/Editor-PHP/Database/Driver/SqlserverQuery.php was not matched in reported errors.
Unit (latest, CodingStyle)
Process completed with exit code 8.