Skip to content

Bump phpstan/phpstan from 1.12.3 to 1.12.5 #5101

Bump phpstan/phpstan from 1.12.3 to 1.12.5

Bump phpstan/phpstan from 1.12.3 to 1.12.5 #5101

Triggered via pull request September 30, 2024 12:23
Status Failure
Total duration 7m 48s
Artifacts

workflow.yml

on: pull_request
Composer  /  Validation
9s
Composer / Validation
XML Syntax  /  XML Validation
XML Syntax / XML Validation
Matrix: Code-QL / Analyze
PHP CS Fixer  /  Validation
3m 0s
PHP CS Fixer / Validation
Matrix: PHP CS / phpcs
Matrix: PHPStan / Analyze
Matrix: PHP Syntax / syntax_php
Waiting for pending jobs
Matrix: Unit Tests (OpenMage) / unit-tests
Waiting for pending jobs
Rector  /  Validation
Rector / Validation
Fit to window
Zoom out
Zoom in

Annotations

8 errors
PHPStan / Analyze (ubuntu-latest, 8.4): app/code/core/Mage/Bundle/Model/Product/Price.php#L862
Ignored error pattern #^Offset 'option_id' does not exist on array\{final_price\: mixed\}\.$# in path /home/runner/work/magento-lts/magento-lts/app/code/core/Mage/Bundle/Model/Product/Price.php is expected to occur 4 times, but occurred only 2 times.
PHPStan / Analyze (ubuntu-latest, 8.4): app/code/core/Mage/Catalog/Model/Product/Option/Type/File.php#L752
Offset 0 on array{list<string>} in isset() always exists and is not nullable.
PHPStan / Analyze (ubuntu-latest, 8.4): app/code/core/Mage/Sales/Model/Order.php#L1
Ignored error pattern #^Negated boolean expression is always true\.$# in path /home/runner/work/magento-lts/magento-lts/app/code/core/Mage/Sales/Model/Order.php was not matched in reported errors.
PHPStan / Analyze (ubuntu-latest, 8.4): app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php#L446
Ignored error pattern #^Invalid array key type strin\.$# in path /home/runner/work/magento-lts/magento-lts/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php is expected to occur 3 times, but occurred only 1 time.
PHPStan / Analyze (ubuntu-latest, 8.4): lib/Varien/Db/Adapter/Pdo/Mysql.php#L1183
Offset 3 on array{0: string, 1: string, 2: string, 3: non-falsy-string, 4: string, 5: string, 6?: ' ON DELETE…', 7?: 'CASCADE'|'NO ACTION'|'RESTRICT'|'SET NULL', ...} on left side of ?? always exists and is not nullable.
PHPStan / Analyze (ubuntu-latest, 8.4)
Process completed with exit code 1.
PHPStan / Analyze (ubuntu-latest, 7.4)
The job was canceled because "ubuntu-latest_8_4" failed.
PHPStan / Analyze (ubuntu-latest, 7.4)
The operation was canceled.