Skip to content

Fix "offset might not exist" false-positives when offset is a expression #21985

Fix "offset might not exist" false-positives when offset is a expression

Fix "offset might not exist" false-positives when offset is a expression #21985

Triggered via pull request September 26, 2025 15:37
Status Cancelled
Total duration 3m 11s
Artifacts 6

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
4s
integration-tests / Check PHAR checksum
Download base SHA PHAR
0s
Download base SHA PHAR
extension-tests  /  Check PHAR checksum
5s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
6s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests  /  PMMP Tests
1m 7s
integration-tests / PMMP Tests
Matrix: integration-tests / integration-tests
Checksum PHAR
0s
Checksum PHAR
PHAR Prefix Diff
0s
PHAR Prefix Diff
Matrix: extension-tests / tests-extensions
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
0s
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

127 errors and 1 notice
extension-tests / phpstan-mockery (8.5) make tests
Process completed with exit code 2.
integration-tests / Integration - bladestan/bladestan
Process completed with exit code 1.
integration-tests / Integration - bladestan/bladestan: src/TemplateCompiler/PHPStan/FileAnalyserProvider.php#L59
Method Bladestan\TemplateCompiler\PHPStan\FileAnalyserProvider::provide() throws checked exception PHPStan\DependencyInjection\MissingServiceException but it's missing from the PHPDoc `@throws` tag.
integration-tests / Integration - bladestan/bladestan: src/NodeAnalyzer/ViewVariableAnalyzer.php#L50
Method Bladestan\NodeAnalyzer\ViewVariableAnalyzer::resolve() throws checked exception ValueError but it's missing from the PHPDoc `@throws` tag.
integration-tests / Integration - bladestan/bladestan: src/Compiler/LivewireTagCompiler.php#L116
Dead catch - RuntimeException is never thrown in the try block.
integration-tests / Integration - shipmonk-rnd/dead-code-detector
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/dead-code-detector: src/Provider/SymfonyUsageProvider.php#L443
Property ShipMonk\PHPStan\DeadCode\Provider\SymfonyUsageProvider::$dicCalls (array<string, array<string, true>>) does not accept non-empty-array<string, mixed>.
integration-tests / Integration - doctrine/dbal
Process completed with exit code 1.
integration-tests / Integration - doctrine/dbal: src/Driver/IBMDB2/Statement.php#L113
Offset 'uri' might not exist on array{timed_out: bool, blocked: bool, eof: bool, unread_bytes: int, stream_type: string, wrapper_type: string, wrapper_data: mixed, mode: string, ...}.
integration-tests / Integration - efabrica-team/phpstan-latte: src/LatteContext/Finder/ComponentFinder.php#L100
Method Efabrica\PHPStanLatte\LatteContext\Finder\ComponentFinder::find() should return array<Efabrica\PHPStanLatte\Template\Component> but returns mixed.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Error/TableErrorFormatter.php#L56
Parameter #3 of function sprintf is expected to be int by placeholder #2 ("%d"), string given.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Compiler/NodeVisitor/NodeVisitorStorage.php#L33
Property Efabrica\PHPStanLatte\Compiler\NodeVisitor\NodeVisitorStorage::$nodeVisitors (array<string, array<int, array<PhpParser\NodeVisitor>>>) does not accept array<string, mixed>.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Collector/Finder/ResolvedNodeFinder.php#L44
Property Efabrica\PHPStanLatte\Collector\Finder\ResolvedNodeFinder::$collectedResolvedNodes (array<string, array<Efabrica\PHPStanLatte\Collector\CollectedData\CollectedResolvedNode>>) does not accept array<string, mixed>.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Analyser/LatteContextCollectorRegistry.php#L47
Method Efabrica\PHPStanLatte\Analyser\LatteContextCollectorRegistry::getCollectorsForNode() should return array<Efabrica\PHPStanLatte\LatteContext\Collector\AbstractLatteContextCollector> but returns mixed.
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e git clone https://github.com/nikic/PHP-Parser.git cd PHP-...
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e git clone https://github.com/nikic/PHP-Parser.git cd PHP-...
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-nette (7.4) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e/name-conflict composer install cp ../../phpstan vendor/ph...
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
other-tests / Other Tests (8.1, ubuntu-latest, cd e2e/autoload-psr/app ../../../phpstan analyse index.php -a au...
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
other-tests / Other Tests (7.4, ubuntu-latest, cd e2e/phalcon-null ../../phpstan , phalcon4, memory_limit=256M)
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-nette (8.1) make tests
The operation was canceled.
extension-tests / phpstan-nette (8.1) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
other-tests / Other Tests (8.1, ubuntu-latest, cd e2e/phalcon5 ../../phpstan , phalcon5, memory_limit=256M)
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-nette (8.2) make tests
The operation was canceled.
extension-tests / phpstan-nette (8.2) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpdoc-parser (8.0) make phpstan
The operation was canceled.
extension-tests / phpdoc-parser (8.0) make phpstan
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-nette (8.4) make tests
The operation was canceled.
extension-tests / phpstan-nette (8.4) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-nette (8.5) make tests
The operation was canceled.
extension-tests / phpstan-nette (8.5) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-nette (8.4) make phpstan
The operation was canceled.
extension-tests / phpstan-nette (8.4) make phpstan
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-symfony (8.0) make phpstan
The operation was canceled.
extension-tests / phpstan-symfony (8.0) make phpstan
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / Integration - Rector tests
The operation was canceled.
integration-tests / Integration - Rector tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / Integration - PHPCSStandards/PHP_CodeSniffer
The operation was canceled.
integration-tests / Integration - PHPCSStandards/PHP_CodeSniffer
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-nette (8.0) make tests
The operation was canceled.
extension-tests / phpstan-nette (8.0) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-doctrine (8.2) make phpstan
The operation was canceled.
extension-tests / phpstan-doctrine (8.2) make phpstan
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e/baseline ../../phpstan analyse -l 8 src/ ../../phpstan an...
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-nette (8.3) make tests
The operation was canceled.
extension-tests / phpstan-nette (8.3) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / Integration - doctrine/orm
The operation was canceled.
integration-tests / Integration - doctrine/orm: src/Tools/SchemaTool.php#L455
Cannot access offset 'version' on array{}|bool|int|null.
integration-tests / Integration - doctrine/orm: src/Mapping/Driver/DatabaseDriver.php#L228
Cannot assign offset 'joinColumns' to array<string, list<array<string, mixed>>|string>|string.
integration-tests / Integration - doctrine/orm
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / Integration - Larastan tests PHP 8.3, ^11.15
The operation was canceled.
integration-tests / Integration - Larastan tests PHP 8.3, ^11.15
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-doctrine (7.4) make tests
The operation was canceled.
extension-tests / phpstan-doctrine (7.4) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-doctrine (8.1) make tests
The operation was canceled.
extension-tests / phpstan-doctrine (8.1) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-strict-rules (8.3) make tests
The operation was canceled.
extension-tests / phpstan-strict-rules (8.3) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-strict-rules (7.4) make tests
The operation was canceled.
extension-tests / phpstan-strict-rules (7.4) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-strict-rules (8.2) make tests
The operation was canceled.
extension-tests / phpstan-strict-rules (8.2) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-strict-rules (8.5) make tests
The operation was canceled.
extension-tests / phpstan-strict-rules (8.5) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / Integration - efabrica-team/phpstan-latte tests
The operation was canceled.
integration-tests / Integration - efabrica-team/phpstan-latte tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-doctrine (8.0) make tests
The operation was canceled.
extension-tests / phpstan-doctrine (8.0) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-strict-rules (8.1) make tests
The operation was canceled.
extension-tests / phpstan-strict-rules (8.1) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / Integration - shopsys/shopsys
The operation was canceled.
integration-tests / Integration - shopsys/shopsys
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-strict-rules (8.0) make tests
The operation was canceled.
extension-tests / phpstan-strict-rules (8.0) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / PMMP Tests
The operation was canceled.
extension-tests / phpstan-strict-rules (8.4) make tests
The operation was canceled.
integration-tests / PMMP Tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
extension-tests / phpstan-strict-rules (8.4) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / Integration - Sylius/Sylius
The operation was canceled.
extension-tests / phpstan-doctrine (8.2) make tests
The operation was canceled.
extension-tests / phpstan-doctrine (8.2) make tests
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / Integration - Sylius/Sylius
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / Integration - drupal/drupal
The operation was canceled.
integration-tests / Integration - drupal/drupal
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / Integration - rectorphp/rector-src
The operation was canceled.
integration-tests / Integration - rectorphp/rector-src
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / Integration - laravel/framework
The operation was canceled.
integration-tests / Integration - laravel/framework
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / Integration - shopware/shopware
The operation was canceled.
integration-tests / Integration - shopware/shopware
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / Integration - briannesbitt/Carbon
The operation was canceled.
integration-tests / Integration - briannesbitt/Carbon
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
integration-tests / Integration - shopsys/shopsys
The operation was canceled.
integration-tests / Integration - shopsys/shopsys
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
Compile PHAR
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
Compile PHAR
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
Compile PHAR
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
Compile PHAR
Canceling since a higher priority waiting request for phar-refs/pull/4372/merge exists
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677

Artifacts

Produced during runtime
Name Size Digest
baselines-bladestan-baseline.neon
625 Bytes
sha256:3f3cef2dbd2350c43bfe7e46b517bce55c714aaf6fc5218c74f537a8590099cc
baselines-doctrine-dbal-baseline.neon
713 Bytes
sha256:c3c8050befb6c5f4a3c1596dfe16567c257cbf4ddd713820a29406f9a1fea1a4
baselines-efabrica-phpstan-latte-baseline.neon
1.56 KB
sha256:982a5048f68d6855615e6f77166191e224c27bb3f042d8aafa72ec1e41747372
baselines-shipmonk-dead-code-detector-baseline.neon
442 Bytes
sha256:9e36b0f34753bd1b42dc6363b41ecee23990ac89b628ff0a406235ce9b7c940c
phar-file
3.67 MB
sha256:6e64c20f7cbecea4c7029a623a400aa93f22c57d02a95262032d7c07f188cf32
phar-file-checksum
3.67 MB
sha256:e32dd239632cfde4c699581bb0549e142f0c3b22810bd693412234b3c39bd359