Skip to content

Add str_contains polyfill and adjust github actions config #3

Add str_contains polyfill and adjust github actions config

Add str_contains polyfill and adjust github actions config #3

Triggered via push November 23, 2025 12:27
Status Failure
Total duration 24s
Artifacts

ci.yml

on: push
Static Analysis
21s
Static Analysis
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

12 errors
PHPUnit (PHP 7.2 + ORM 4)
Process completed with exit code 2.
PHPUnit (PHP 7.2 + ORM 4)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php >=7.4.0 but your php version (7.2.34) does not satisfy that requirement. Problem 2 - Root composer.json requires phpstan/phpstan ^2.0.0 -> satisfiable by phpstan/phpstan[2.0.0, ..., 2.1.32]. - phpstan/phpstan[2.0.4, ..., 2.1.32] require php ^7.4|^8.0 -> your php version (7.2.34) does not satisfy that requirement. Problem 3 - Root composer.json requires phpstan/phpstan-phpunit ^2.0 -> satisfiable by phpstan/phpstan-phpunit[2.0.0, ..., 2.0.8]. - phpstan/phpstan-phpunit[2.0.0, ..., 2.0.8] require php ^7.4 || ^8.0 -> your php version (7.2.34) does not satisfy that requirement.
Static Analysis: tests/bootstrap.php#L84
Call to an undefined method Cake\Datasource\ConnectionInterface::execute().
Static Analysis: tests/bootstrap.php#L74
Call to an undefined method Cake\Datasource\ConnectionInterface::execute().
Static Analysis: tests/bootstrap.php#L67
Call to an undefined method Cake\Datasource\ConnectionInterface::execute().
Static Analysis: tests/bootstrap.php#L56
Call to an undefined method Cake\Datasource\ConnectionInterface::execute().
Static Analysis: tests/bootstrap.php#L47
Call to an undefined method Cake\Datasource\ConnectionInterface::execute().
Static Analysis: tests/bootstrap.php#L38
Call to an undefined method Cake\Datasource\ConnectionInterface::execute().
Static Analysis: tests/bootstrap.php#L29
Call to an undefined method Cake\Datasource\ConnectionInterface::execute().
Static Analysis: tests/bootstrap.php#L22
Call to an undefined method Cake\Datasource\ConnectionInterface::execute().
Static Analysis: src/ORM/AutoHydratorRecursive.php#L237
Parameter #3 $expectedAlias of method Bancer\NativeQueryMapper\ORM\AutoHydratorRecursive::buildEntityRecursive() expects string, string|null given.
Static Analysis: src/ORM/AutoHydratorRecursive.php#L236
Parameter #1 $alias of method Cake\ORM\Locator\LocatorInterface::get() expects string, string|null given.