Skip to content

Fix phpunit to work on phpunit 7.X and 8.X #299

Fix phpunit to work on phpunit 7.X and 8.X

Fix phpunit to work on phpunit 7.X and 8.X #299

Triggered via push May 11, 2026 21:13
Status Failure
Total duration 3m 45s
Artifacts

php-package.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
test (ubuntu-latest, 7.4)
Process completed with exit code 2.
test (ubuntu-latest, 7.4)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires phploc/phploc ^2.1 || ^3.0 || ^4.0 -> satisfiable by phploc/phploc[2.1.0, ..., 2.1.5, 3.0.0, 3.0.1, 4.0.0, 4.0.1]. - Root composer.json requires phpunit/phpunit < 7.5.18 || > 8.5.52 -> satisfiable by phpunit/phpunit[9.6.33, 9.6.34, 10.5.62, 10.5.63, 11.5.50, ..., 11.5.55, 12.5.8, ..., 12.5.24, 13.0.0, ..., 13.1.8]. - phploc/phploc[2.1.0, ..., 2.1.5, 3.0.0] require sebastian/version ~1.0.3 -> satisfiable by sebastian/version[1.0.3, 1.0.4, 1.0.5, 1.0.6]. - phploc/phploc 3.0.1 requires sebastian/version ~1.0.3|~2.0 -> satisfiable by sebastian/version[1.0.3, 1.0.4, 1.0.5, 1.0.6, 2.0.0, 2.0.1]. - phploc/phploc[4.0.0, ..., 4.0.1] require sebastian/version ^2.0 -> satisfiable by sebastian/version[2.0.0, 2.0.1]. - phpunit/phpunit[10.5.62, ..., 10.5.63] require php >=8.1 -> your php version (7.4.33) does not satisfy that requirement. - phpunit/phpunit[11.5.50, ..., 11.5.55] require php >=8.2 -> your php version (7.4.33) does not satisfy that requirement. - phpunit/phpunit[12.5.8, ..., 12.5.24] require php >=8.3 -> your php version (7.4.33) does not satisfy that requirement. - phpunit/phpunit[13.0.0, ..., 13.1.8] require php >=8.4.1 -> your php version (7.4.33) does not satisfy that requirement. - phpunit/phpunit[9.6.33, ..., 9.6.34] require sebastian/version ^3.0.2 -> satisfiable by sebastian/version[3.0.2]. - You can only install one version of a package, so only one of these can be installed: sebastian/version[1.0.3, 1.0.4, 1.0.5, 1.0.6, 2.0.1, 3.0.0, 3.0.1, 3.0.2, 4.0.0, 4.0.1, 5.0.0, 5.0.1, 5.0.2, 6.0.0, 7.0.0].
test (ubuntu-latest, 7.2)
Process completed with exit code 2.
test (ubuntu-latest, 7.2)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires phpunit/phpunit < 7.5.18 || > 8.5.52 -> satisfiable by phpunit/phpunit[9.6.33, 9.6.34, 10.5.62, 10.5.63, 11.5.50, ..., 11.5.55, 12.5.8, ..., 12.5.24, 13.0.0, ..., 13.1.8]. - phpunit/phpunit[10.5.62, ..., 10.5.63] require php >=8.1 -> your php version (7.2.34) does not satisfy that requirement. - phpunit/phpunit[11.5.50, ..., 11.5.55] require php >=8.2 -> your php version (7.2.34) does not satisfy that requirement. - phpunit/phpunit[12.5.8, ..., 12.5.24] require php >=8.3 -> your php version (7.2.34) does not satisfy that requirement. - phpunit/phpunit[13.0.0, ..., 13.1.8] require php >=8.4.1 -> your php version (7.2.34) does not satisfy that requirement. - phpunit/phpunit[9.6.33, ..., 9.6.34] require php >=7.3 -> your php version (7.2.34) does not satisfy that requirement.
test (ubuntu-latest, 7.3)
Process completed with exit code 2.
test (ubuntu-latest, 7.3)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires phploc/phploc ^2.1 || ^3.0 || ^4.0 -> satisfiable by phploc/phploc[2.1.0, ..., 2.1.5, 3.0.0, 3.0.1, 4.0.0, 4.0.1]. - Root composer.json requires phpunit/phpunit < 7.5.18 || > 8.5.52 -> satisfiable by phpunit/phpunit[9.6.33, 9.6.34, 10.5.62, 10.5.63, 11.5.50, ..., 11.5.55, 12.5.8, ..., 12.5.24, 13.0.0, ..., 13.1.8]. - phploc/phploc[2.1.0, ..., 2.1.5, 3.0.0] require sebastian/version ~1.0.3 -> satisfiable by sebastian/version[1.0.3, 1.0.4, 1.0.5, 1.0.6]. - phploc/phploc 3.0.1 requires sebastian/version ~1.0.3|~2.0 -> satisfiable by sebastian/version[1.0.3, 1.0.4, 1.0.5, 1.0.6, 2.0.0, 2.0.1]. - phploc/phploc[4.0.0, ..., 4.0.1] require sebastian/version ^2.0 -> satisfiable by sebastian/version[2.0.0, 2.0.1]. - phpunit/phpunit[10.5.62, ..., 10.5.63] require php >=8.1 -> your php version (7.3.33) does not satisfy that requirement. - phpunit/phpunit[11.5.50, ..., 11.5.55] require php >=8.2 -> your php version (7.3.33) does not satisfy that requirement. - phpunit/phpunit[12.5.8, ..., 12.5.24] require php >=8.3 -> your php version (7.3.33) does not satisfy that requirement. - phpunit/phpunit[13.0.0, ..., 13.1.8] require php >=8.4.1 -> your php version (7.3.33) does not satisfy that requirement. - phpunit/phpunit[9.6.33, ..., 9.6.34] require sebastian/version ^3.0.2 -> satisfiable by sebastian/version[3.0.2]. - You can only install one version of a package, so only one of these can be installed: sebastian/version[1.0.3, 1.0.4, 1.0.5, 1.0.6, 2.0.1, 3.0.0, 3.0.1, 3.0.2, 4.0.0, 4.0.1, 5.0.0, 5.0.1, 5.0.2, 6.0.0, 7.0.0].
test (ubuntu-latest, 5.4)
Process completed with exit code 255.
test (ubuntu-latest, 5.5)
Process completed with exit code 255.
test (ubuntu-latest, 5.6)
Process completed with exit code 255.
test (ubuntu-latest, 7)
Process completed with exit code 2.
test (ubuntu-latest, 7.4)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest, 7.2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest, 7.3)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest, 5.4)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest, 5.5)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest, 5.6)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest, 7.1)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest, 7)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/