Skip to content

Fix CI for PHP and PS versions #11264

Fix CI for PHP and PS versions

Fix CI for PHP and PS versions #11264

Triggered via pull request November 8, 2024 16:57
Status Failure
Total duration 1m 30s
Artifacts

php.yml

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

Annotations

11 errors
PHP-CS-Fixer
Process completed with exit code 8.
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.