phpstan #123
php.yml
on: push
PHP Syntax check 5.6|7.2|7.3|8.0|8.1
36s
PHP-CS-Fixer
13s
PHPUnit
1m 58s
Matrix: PHPStan
Annotations
9 errors and 4 warnings
PHPStan (https://github.com/PrestaShop/PrestaShop/releases/download/1.7.4.4/prestashop_1.7.4.4.zip):
src/DependencyBuilder.php#L68
Offset 'installed' does not exist on array{}|array{ps_mbo: array<string, bool|int|string>}.
|
PHPStan (https://github.com/PrestaShop/PrestaShop/releases/download/1.7.4.4/prestashop_1.7.4.4.zip):
src/DependencyBuilder.php#L136
Method Prestashop\ModuleLibMboInstaller\DependencyBuilder::buildDependenciesContext() should return array{module_display_name: string, module_name: string, module_version: string, ps_version: string, php_version: string, locale: string, dependencies: array{}|array{ps_mbo: array<string, bool|int|string>}} but returns array{module_display_name: string, module_name: string, module_version: string, ps_version: string, php_version: non-empty-string, locale: string, dependencies: array{array{}|array{ps_mbo: array<string, bool|int|string>}}}.
|
PHPStan (https://github.com/PrestaShop/PrestaShop/releases/download/1.7.4.4/prestashop_1.7.4.4.zip):
src/DependencyBuilder.php#L260
Offset 'dependencies' on array{dependencies: array{}} in empty() always exists and is always falsy.
|
|
PHPStan (https://github.com/PrestaShop/PrestaShop/releases/download/1.7.4.4/prestashop_1.7.4.4.zip):
src/DependencyBuilder.php#L261
Method Prestashop\ModuleLibMboInstaller\DependencyBuilder::getDependencies() should return array{array{}|array{ps_mbo: array<string, bool|int|string>}} but returns array{ps_mbo: array<string, bool|int|string>|null}.
|
PHPStan (https://github.com/PrestaShop/PrestaShop/releases/download/1.7.4.4/prestashop_1.7.4.4.zip):
src/DependencyBuilder.php#L266
Unreachable statement - code above always terminates.
|
PHPStan (https://github.com/PrestaShop/PrestaShop/releases/download/1.7.4.4/prestashop_1.7.4.4.zip):
src/DependencyBuilder.php#L327
Method Prestashop\ModuleLibMboInstaller\DependencyBuilder::getDependenciesSpecification() should return array{dependencies: array{}} but returns array.
|
PHPStan (https://github.com/PrestaShop/PrestaShop/releases/download/1.7.4.4/prestashop_1.7.4.4.zip)
Process completed with exit code 1.
|
PHPStan (https://github.com/PrestaShop/PrestaShop/releases/download/8.0.0/prestashop_8.0.0.zip)
The operation was canceled.
|
PHP-CS-Fixer
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPStan (https://github.com/PrestaShop/PrestaShop/releases/download/1.7.4.4/prestashop_1.7.4.4.zip)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPStan (https://github.com/PrestaShop/PrestaShop/releases/download/8.0.0/prestashop_8.0.0.zip)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHP Syntax check 5.6|7.2|7.3|8.0|8.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|