Fix CI for PHP and PS versions #11257
php.yml
on: pull_request
PHP Syntax check 8.1 => 8.3
34s
PHP-CS-Fixer
47s
PHPUnit
1m 16s
Matrix: PHPStan
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.
|