Skip to content

update CI workflow to support PHP versions 8.3 and 8.4; add .phpunit.… #40

update CI workflow to support PHP versions 8.3 and 8.4; add .phpunit.…

update CI workflow to support PHP versions 8.3 and 8.4; add .phpunit.… #40

Triggered via pull request January 16, 2025 20:42
Status Failure
Total duration 2m 42s
Artifacts

ci.yml

on: pull_request
Coding Standard & Static Analysis
2m 33s
Coding Standard & Static Analysis
Matrix: testsuite
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 39 warnings
testsuite (8.4, sqlite)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires cakedc/users ^13.0 -> satisfiable by cakedc/users[13.0.0, 13.0.1, 13.0.2]. - cakedc/users[13.0.0, ..., 13.0.2] require cakephp/cakephp ^4.5 -> satisfiable by cakephp/cakephp[4.5.0-RC1, ..., 4.x-dev]. - cakephp/cakephp[4.5.0-RC1, ..., 4.x-dev] require laminas/laminas-diactoros ^2.2.2 -> satisfiable by laminas/laminas-diactoros[2.2.2, ..., 2.26.x-dev]. - laminas/laminas-diactoros[2.7.0, ..., 2.14.x-dev] require php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.15.0, ..., 2.17.x-dev] require php ^7.4 || ~8.0.0 || ~8.1.0 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.2.2, ..., 2.4.x-dev] require php ^7.1 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.18.0, ..., 2.25.x-dev] require php ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.26.0, ..., 2.26.x-dev] require php ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.5.0, ..., 2.6.x-dev] require php ^7.3 || ~8.0.0 -> your php version (8.4.2) does not satisfy that requirement.
testsuite (8.4, sqlite)
Process completed with exit code 2.
testsuite (8.2, pgsql)
Process completed with exit code 2.
testsuite (8.4, pgsql)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires cakedc/users ^13.0 -> satisfiable by cakedc/users[13.0.0, 13.0.1, 13.0.2]. - cakedc/users[13.0.0, ..., 13.0.2] require cakephp/cakephp ^4.5 -> satisfiable by cakephp/cakephp[4.5.0-RC1, ..., 4.x-dev]. - cakephp/cakephp[4.5.0-RC1, ..., 4.x-dev] require laminas/laminas-diactoros ^2.2.2 -> satisfiable by laminas/laminas-diactoros[2.2.2, ..., 2.26.x-dev]. - laminas/laminas-diactoros[2.7.0, ..., 2.14.x-dev] require php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.15.0, ..., 2.17.x-dev] require php ^7.4 || ~8.0.0 || ~8.1.0 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.2.2, ..., 2.4.x-dev] require php ^7.1 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.18.0, ..., 2.25.x-dev] require php ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.26.0, ..., 2.26.x-dev] require php ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.5.0, ..., 2.6.x-dev] require php ^7.3 || ~8.0.0 -> your php version (8.4.2) does not satisfy that requirement.
testsuite (8.4, pgsql)
Process completed with exit code 2.
testsuite (8.1, sqlite)
Process completed with exit code 2.
testsuite (8.2, sqlite)
Process completed with exit code 2.
testsuite (8.1, mysql)
Process completed with exit code 2.
testsuite (8.2, mysql)
Process completed with exit code 2.
testsuite (8.3, pgsql)
Process completed with exit code 2.
testsuite (8.4, mysql)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires cakedc/users ^13.0 -> satisfiable by cakedc/users[13.0.0, 13.0.1, 13.0.2]. - cakedc/users[13.0.0, ..., 13.0.2] require cakephp/cakephp ^4.5 -> satisfiable by cakephp/cakephp[4.5.0-RC1, ..., 4.x-dev]. - cakephp/cakephp[4.5.0-RC1, ..., 4.x-dev] require laminas/laminas-diactoros ^2.2.2 -> satisfiable by laminas/laminas-diactoros[2.2.2, ..., 2.26.x-dev]. - laminas/laminas-diactoros[2.7.0, ..., 2.14.x-dev] require php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.15.0, ..., 2.17.x-dev] require php ^7.4 || ~8.0.0 || ~8.1.0 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.2.2, ..., 2.4.x-dev] require php ^7.1 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.18.0, ..., 2.25.x-dev] require php ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.26.0, ..., 2.26.x-dev] require php ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.2) does not satisfy that requirement. - laminas/laminas-diactoros[2.5.0, ..., 2.6.x-dev] require php ^7.3 || ~8.0.0 -> your php version (8.4.2) does not satisfy that requirement.
testsuite (8.4, mysql)
Process completed with exit code 2.
testsuite (8.3, sqlite)
Process completed with exit code 2.
testsuite (8.1, pgsql)
Process completed with exit code 2.
testsuite (8.3, mysql)
Process completed with exit code 2.
Coding Standard & Static Analysis: src/Middleware/ParseApiRequestMiddleware.php#L126
Variable $response might not be defined.
Coding Standard & Static Analysis: src/Rbac/ApiRbac.php#L1
Ignored error pattern #^Instantiated class CakeDC\\Api\\Rbac\\Permissions\\AbstractProvider is abstract\.$# in path /home/runner/work/cakephp-api/cakephp-api/src/Rbac/ApiRbac.php was not matched in reported errors.
Coding Standard & Static Analysis: src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\JwtLoginAction)#L150
Call to method isRequired() on an unknown class CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
Coding Standard & Static Analysis: src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\JwtLoginAction)#L189
Return typehint of method CakeDC\Api\Service\Action\Auth\JwtLoginAction::getWebauthn2fAuthenticationChecker() has invalid type CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
Coding Standard & Static Analysis: src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\JwtRefreshAction)#L150
Call to method isRequired() on an unknown class CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
Coding Standard & Static Analysis: src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\JwtRefreshAction)#L189
Return typehint of method CakeDC\Api\Service\Action\Auth\JwtRefreshAction::getWebauthn2fAuthenticationChecker() has invalid type CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
Coding Standard & Static Analysis: src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\JwtSocialLoginAction)#L150
Call to method isRequired() on an unknown class CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
Coding Standard & Static Analysis: src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\JwtSocialLoginAction)#L189
Return typehint of method CakeDC\Api\Service\Action\Auth\JwtSocialLoginAction::getWebauthn2fAuthenticationChecker() has invalid type CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
Coding Standard & Static Analysis: src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\OtpVerifyCheckAction)#L150
Call to method isRequired() on an unknown class CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
Coding Standard & Static Analysis: src/Service/Action/Auth/JwtTokenTrait.php (in context of class CakeDC\Api\Service\Action\Auth\OtpVerifyCheckAction)#L189
Return typehint of method CakeDC\Api\Service\Action\Auth\OtpVerifyCheckAction::getWebauthn2fAuthenticationChecker() has invalid type CakeDC\Auth\Authentication\Webauthn2FAuthenticationCheckerInterface.
Coding Standard & Static Analysis: psalm.xml#L4
Attribute "allowCoercionFromStringToClassConst" is deprecated and is going to be removed in the next major version (see https://psalm.dev/271)
Coding Standard & Static Analysis
Process completed with exit code 2.
Coding Standard & Static Analysis
Process completed with exit code 1.
testsuite (8.1, mysql)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
testsuite (8.2, pgsql)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
testsuite (8.2, mysql)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
testsuite (8.1, sqlite)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Coding Standard & Static Analysis
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
testsuite (8.1, pgsql)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
testsuite (8.2, sqlite)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
testsuite (8.3, mysql)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
testsuite (8.4, pgsql)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
testsuite (8.3, pgsql)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
testsuite (8.4, mysql)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
testsuite (8.3, sqlite)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
testsuite (8.4, sqlite)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
testsuite (8.4, sqlite)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.4, sqlite)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.2, pgsql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.2, pgsql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.4, pgsql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.4, pgsql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.1, sqlite)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.1, sqlite)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.2, sqlite)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.2, sqlite)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.1, mysql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.1, mysql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.2, mysql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.2, mysql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.3, pgsql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.3, pgsql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.4, mysql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.4, mysql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.3, sqlite)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.3, sqlite)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.1, pgsql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.1, pgsql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.3, mysql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
testsuite (8.3, mysql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Coding Standard & Static Analysis
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Coding Standard & Static Analysis
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/