Skip to content

Add strict type declarations and modernize codebase #316

Add strict type declarations and modernize codebase

Add strict type declarations and modernize codebase #316

Triggered via pull request January 23, 2026 13:36
Status Cancelled
Total duration 40s
Artifacts

php.yml

on: pull_request
Matrix: PHP / Lint
Matrix: PHP / Static analysis
Matrix: PHP / Test
Fit to window
Zoom out
Zoom in

Annotations

65 errors
PHP / Lint (8.4) / Linters 8.4
Process completed with exit code 1.
PHP / Lint (8.4) / Linters 8.4: tests/CloneDeleteTest.php#L12
Opening brace must be the last content on the line
PHP / Lint (8.4) / Linters 8.4
Process completed with exit code 1.
PHP / Lint (8.5) / Linters 8.5
Process completed with exit code 1.
PHP / Lint (8.5) / Linters 8.5: tests/CloneDeleteTest.php#L12
Opening brace must be the last content on the line
PHP / Lint (8.5) / Linters 8.5
Process completed with exit code 1.
PHP / Lint (8.2) / Linters 8.2
Process completed with exit code 1.
PHP / Lint (8.2) / Linters 8.2: tests/CloneDeleteTest.php#L12
Opening brace must be the last content on the line
PHP / Lint (8.2) / Linters 8.2
Process completed with exit code 1.
PHP / Lint (8.3) / Linters 8.3
Process completed with exit code 1.
PHP / Lint (8.3) / Linters 8.3: tests/CloneDeleteTest.php#L12
Opening brace must be the last content on the line
PHP / Lint (8.3) / Linters 8.3
Process completed with exit code 1.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Adapter/Mysql.php#L38
Possibly invalid array key type mixed.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Adapter/Mysql.php#L34
Possibly invalid array key type mixed.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Adapter/Mysql.php#L16
Binary operation "." between 'SET time_zone = ' and mixed results in an error.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Adapter/BaseAdapter.php#L98
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Adapter/BaseAdapter.php#L91
Parameter #1 $string of function strtolower expects string, mixed given.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Adapter/BaseAdapter.php#L79
Parameter #1 $search of function str_replace expects array<string>|string, mixed given.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Adapter/BaseAdapter.php#L78
Binary operation "." between string and mixed results in an error.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Adapter/BaseAdapter.php#L78
Binary operation "." between mixed and string results in an error.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Adapter/BaseAdapter.php#L55
Call to function is_array() with array will always evaluate to true.
PHP / Static analysis (8.2) / PHPStan 8.2: src/Adapter/BaseAdapter.php#L0
Ignored error pattern #^Method ipl\\Sql\\Adapter\\BaseAdapter\:\:getTimezoneOffset\(\) has no return type specified\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Adapter/BaseAdapter.php was not matched in reported errors.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Adapter/Pgsql.php#L11
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Adapter/Mysql.php#L16
Binary operation "." between 'SET time_zone = ' and mixed results in an error.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Adapter/BaseAdapter.php#L98
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Adapter/BaseAdapter.php#L91
Parameter #1 $string of function strtolower expects string, mixed given.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Adapter/BaseAdapter.php#L79
Parameter #1 $search of function str_replace expects array<string>|string, mixed given.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Adapter/BaseAdapter.php#L78
Binary operation "." between string and mixed results in an error.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Adapter/BaseAdapter.php#L78
Binary operation "." between mixed and string results in an error.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Adapter/BaseAdapter.php#L55
Call to function is_array() with array will always evaluate to true.
PHP / Static analysis (8.4) / PHPStan 8.4: src/Adapter/BaseAdapter.php#L0
Ignored error pattern #^Method ipl\\Sql\\Adapter\\BaseAdapter\:\:getTimezoneOffset\(\) has no return type specified\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Adapter/BaseAdapter.php was not matched in reported errors.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Adapter/Mysql.php#L38
Possibly invalid array key type mixed.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Adapter/Mysql.php#L34
Possibly invalid array key type mixed.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Adapter/Mysql.php#L16
Binary operation "." between 'SET time_zone = ' and mixed results in an error.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Adapter/BaseAdapter.php#L98
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Adapter/BaseAdapter.php#L91
Parameter #1 $string of function strtolower expects string, mixed given.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Adapter/BaseAdapter.php#L79
Parameter #1 $search of function str_replace expects array<string>|string, mixed given.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Adapter/BaseAdapter.php#L78
Binary operation "." between string and mixed results in an error.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Adapter/BaseAdapter.php#L78
Binary operation "." between mixed and string results in an error.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Adapter/BaseAdapter.php#L55
Call to function is_array() with array will always evaluate to true.
PHP / Static analysis (8.3) / PHPStan 8.3: src/Adapter/BaseAdapter.php#L0
Ignored error pattern #^Method ipl\\Sql\\Adapter\\BaseAdapter\:\:getTimezoneOffset\(\) has no return type specified\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Adapter/BaseAdapter.php was not matched in reported errors.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Adapter/Pgsql.php#L11
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Adapter/Mysql.php#L16
Binary operation "." between 'SET time_zone = ' and mixed results in an error.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Adapter/BaseAdapter.php#L98
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Adapter/BaseAdapter.php#L91
Parameter #1 $string of function strtolower expects string, mixed given.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Adapter/BaseAdapter.php#L79
Parameter #1 $search of function str_replace expects array<string>|string, mixed given.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Adapter/BaseAdapter.php#L78
Binary operation "." between string and mixed results in an error.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Adapter/BaseAdapter.php#L78
Binary operation "." between mixed and string results in an error.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Adapter/BaseAdapter.php#L55
Call to function is_array() with array will always evaluate to true.
PHP / Static analysis (8.5) / PHPStan 8.5: src/Adapter/BaseAdapter.php#L0
Ignored error pattern #^Method ipl\\Sql\\Adapter\\BaseAdapter\:\:getTimezoneOffset\(\) has no return type specified\.$# in path /home/runner/work/ipl-sql/ipl-sql/src/Adapter/BaseAdapter.php was not matched in reported errors.
PHP / Test (8.4) / PHPUnit 8.4
Canceling since a higher priority waiting request for Icinga/ipl-sql-CI-refs/pull/96/merge exists
PHP / Test (8.4) / PHPUnit 8.4
A task was canceled.
PHP / Test (8.2) / PHPUnit 8.2
Canceling since a higher priority waiting request for Icinga/ipl-sql-CI-refs/pull/96/merge exists
PHP / Test (8.2) / PHPUnit 8.2
The operation was canceled.
PHP / Test (8.5) / PHPUnit 8.5
Canceling since a higher priority waiting request for Icinga/ipl-sql-CI-refs/pull/96/merge exists
PHP / Test (8.5) / PHPUnit 8.5
The operation was canceled.
PHP / Test (8.3) / PHPUnit 8.3
Canceling since a higher priority waiting request for Icinga/ipl-sql-CI-refs/pull/96/merge exists
PHP / Test (8.3) / PHPUnit 8.3
The operation was canceled.
CI
Canceling since a higher priority waiting request for Icinga/ipl-sql-CI-refs/pull/96/merge exists
CI
Canceling since a higher priority waiting request for Icinga/ipl-sql-CI-refs/pull/96/merge exists
CI
Canceling since a higher priority waiting request for Icinga/ipl-sql-CI-refs/pull/96/merge exists
CI
Canceling since a higher priority waiting request for Icinga/ipl-sql-CI-refs/pull/96/merge exists
CI
Canceling since a higher priority waiting request for Icinga/ipl-sql-CI-refs/pull/96/merge exists