Skip to content

Fix CI for PHP and PS versions #11257

Fix CI for PHP and PS versions

Fix CI for PHP and PS versions #11257

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

php.yml

on: pull_request
PHP Syntax check 8.1 => 8.3
34s
PHP Syntax check 8.1 => 8.3
PHP-CS-Fixer
47s
PHP-CS-Fixer
PHPUnit
1m 16s
PHPUnit
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

11 errors
PHPStan (9.0.x): ps_mbo.php#L135
Cannot call method install() on object|false.
PHPStan (9.0.x): ps_mbo.php#L195
Cannot call method getModule() on object|false.
PHPStan (9.0.x): ps_mbo.php#L467
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.
PHPStan (9.0.x): src/Accounts/Provider/AccountsDataProvider.php#L163
Access to property $version on an unknown class Ps_accounts.
PHPUnit
Process completed with exit code 2.