Skip to content

Fix CI for PHP and PS versions #11259

Fix CI for PHP and PS versions

Fix CI for PHP and PS versions #11259

Triggered via pull request November 8, 2024 15:38
Status Failure
Total duration 6h 0m 21s
Artifacts

php.yml

on: pull_request
PHP Syntax check 8.1 => 8.3
33s
PHP Syntax check 8.1 => 8.3
PHP-CS-Fixer
10s
PHP-CS-Fixer
Matrix: PHPStan
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

13 errors
PHP-CS-Fixer
Process completed with exit code 255.
PHPStan (9.0.x): ps_mbo.php#L100
Strict comparison using !== between '5.0.0' and '5.0.0' will always evaluate to false.
PHPStan (9.0.x): ps_mbo.php#L139
Cannot call method install() on object|false.
PHPStan (9.0.x): ps_mbo.php#L199
Cannot call method getModule() on object|false.
PHPStan (9.0.x): ps_mbo.php#L471
Cannot call method isModuleEnabled() on object|false.
PHPStan (9.0.x): src/Accounts/Provider/AccountsDataProvider.php#L62
Class PrestaShop\Module\PsAccounts\Repository\UserTokenRepository not found.
PHPStan (9.0.x): src/Accounts/Provider/AccountsDataProvider.php#L62
PHPDoc tag @var for variable $accountsUserTokenRepository contains unknown class PrestaShop\Module\PsAccounts\Repository\UserTokenRepository.
PHPStan (9.0.x): src/Accounts/Provider/AccountsDataProvider.php#L64
Call to method getOrRefreshToken() on an unknown class PrestaShop\Module\PsAccounts\Repository\UserTokenRepository.
PHPStan (9.0.x): src/Accounts/Provider/AccountsDataProvider.php#L127
PHPDoc tag @param references unknown parameter: $serviceName
PHPStan (9.0.x): src/Accounts/Provider/AccountsDataProvider.php#L131
Cannot call method getService() on Module|false.
PHPStan (9.0.x): src/Accounts/Provider/AccountsDataProvider.php#L161
Class Ps_accounts not found.
PHPUnit 9.0.x
The job running on runner GitHub Actions 9 has exceeded the maximum execution time of 360 minutes.
PHPUnit 9.0.x
The operation was canceled.