Skip to content

Fix non-existent offset when guarding #22881

Fix non-existent offset when guarding

Fix non-existent offset when guarding #22881

Triggered via pull request November 11, 2025 10:22
Status Failure
Total duration 11m 38s
Artifacts 12

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
7s
integration-tests / Check PHAR checksum
Download base SHA PHAR
0s
Download base SHA PHAR
extension-tests  /  Check PHAR checksum
6s
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 24s
integration-tests / PMMP Tests
Matrix: integration-tests / integration-tests
Checksum PHAR
Checksum PHAR
PHAR Prefix Diff
PHAR Prefix Diff
Matrix: extension-tests / tests-extensions
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

55 errors
integration-tests / Integration - shipmonk-rnd/phpstan-rules
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/phpstan-rules: src/Rule/ForbidCustomFunctionsRule.php#L360
Parameter #2 $callArgs of static method PHPStan\Analyser\ArgumentsNormalizer::reorderArgs() expects list<PhpParser\Node\Arg>, array<PhpParser\Node\Arg> given.
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 - nextras/orm
Process completed with exit code 1.
integration-tests / Integration - nextras/orm: src/Entity/AbstractEntity.php#L241
Call to an undefined method object::set().
integration-tests / Integration - nextras/orm: src/Entity/AbstractEntity.php#L239
Call to an undefined method object::onEntityRepositoryAttach().
integration-tests / Integration - nextras/orm: src/Entity/AbstractEntity.php#L237
Call to an undefined method object::onEntityAttach().
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/ProxyAutoloader.php#L51
Parameter #1 $key of method PHPStan\Cache\Cache::load() expects non-empty-string, string given.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/FactoryAutoloader.php#L54
Parameter #1 $key of method PHPStan\Cache\Cache::load() expects non-empty-string, string given.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/FactoryAutoloader.php#L53
Parameter #1 $key of method PHPStan\Cache\Cache::save() expects non-empty-string, string given.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/FactoryAutoloader.php#L51
Parameter #1 $key of method PHPStan\Cache\Cache::load() expects non-empty-string, string given.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php#L70
Parameter #1 $key of method PHPStan\Cache\Cache::load() expects non-empty-string, string given.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php#L69
Parameter #1 $key of method PHPStan\Cache\Cache::save() expects non-empty-string, string given.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php#L67
Parameter #1 $key of method PHPStan\Cache\Cache::load() expects non-empty-string, string given.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php#L71
Parameter #1 $key of method PHPStan\Cache\Cache::load() expects non-empty-string, string given.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php#L70
Parameter #1 $key of method PHPStan\Cache\Cache::save() expects non-empty-string, string given.
integration-tests / Integration - bitExpert/phpstan-magento: src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php#L68
Parameter #1 $key of method PHPStan\Cache\Cache::load() expects non-empty-string, string given.
integration-tests / Integration - doctrine/orm
Process completed with exit code 1.
integration-tests / Integration - doctrine/orm: src/Internal/Hydration/AbstractHydrator.php#L358
Method Doctrine\ORM\Internal\Hydration\AbstractHydrator::gatherRowData() should return array{data: array<array>, newObjects?: array<array{class: ReflectionClass, args: array, obj: object}>, scalars?: array} but returns array{data: array<non-empty-array>, newObjects: array<array{class?: mixed, args: non-empty-array, obj: mixed}>, scalars?: non-empty-array}.
integration-tests / Integration - doctrine/dbal
Process completed with exit code 1.
integration-tests / Integration - doctrine/dbal: tests/Logging/MiddlewareTest.php#L111
Parameter #1 $record of method Psr\Log\Test\TestLogger::hasDebug() expects array{level: string, message: string|Stringable, context: array{exception?: Throwable}}|string, array{message: 'Executing statement…', context: array{sql: 'SELECT :value', params: array{value: 'Test'}, types: array{value: Doctrine\DBAL\ParameterType::STRING}}} given.
integration-tests / Integration - doctrine/dbal: tests/Logging/MiddlewareTest.php#L93
Parameter #1 $record of method Psr\Log\Test\TestLogger::hasDebug() expects array{level: string, message: string|Stringable, context: array{exception?: Throwable}}|string, array{message: 'Executing statement…', context: array{sql: 'SELECT ?, ?', params: array{1: 42}, types: array{1: Doctrine\DBAL\ParameterType::INTEGER}}} given.
integration-tests / Integration - doctrine/dbal: tests/Logging/MiddlewareTest.php#L67
Parameter #1 $record of method Psr\Log\Test\TestLogger::hasDebug() expects array{level: string, message: string|Stringable, context: array{exception?: Throwable}}|string, array{message: 'Executing statement…', context: array{sql: 'DROP DATABASE…'}} given.
integration-tests / Integration - doctrine/dbal: tests/Logging/MiddlewareTest.php#L56
Parameter #1 $record of method Psr\Log\Test\TestLogger::hasDebug() expects array{level: string, message: string|Stringable, context: array{exception?: Throwable}}|string, array{message: 'Executing query: …', context: array{sql: 'SELECT 1'}} given.
integration-tests / Integration - doctrine/dbal: tests/Logging/MiddlewareTest.php#L40
Parameter #1 $record of method Psr\Log\Test\TestLogger::hasInfo() expects array{level: string, message: string|Stringable, context: array{exception?: Throwable}}|string, array{message: 'Connecting with…', context: array{params: array{user: 'admin', password: '<redacted>'}}} given.
integration-tests / Integration - sebastianbergmann/phpunit
Process completed with exit code 1.
integration-tests / Integration - sebastianbergmann/phpunit: src/TextUI/Configuration/Xml/SchemaDetector/SuccessfulSchemaDetectionResult.php#L0
Ignored error pattern "Method PHPUnit\TextUI\XmlConfiguration\SuccessfulSchemaDetectionResult::version() has PHPUnit\Util\Xml\XmlException in PHPDoc `@throws` tag but it's not thrown." (throws.unusedType) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/TextUI/Configuration/Xml/SchemaDetector/SuccessfulSchemaDetectionResult.php was not matched in reported errors.
integration-tests / Integration - sebastianbergmann/phpunit: src/Framework/MockObject/Runtime/Rule/AnyParameters.php#L0
Ignored error pattern "Method PHPUnit\Framework\MockObject\Rule\AnyParameters::apply() has PHPUnit\Framework\ExpectationFailedException in PHPDoc `@throws` tag but it's not thrown." (throws.unusedType) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Framework/MockObject/Runtime/Rule/AnyParameters.php was not matched in reported errors.
integration-tests / Integration - sebastianbergmann/phpunit: src/Framework/Constraint/IsAnything.php#L0
Ignored error pattern "Method PHPUnit\Framework\Constraint\IsAnything::evaluate() has PHPUnit\Framework\ExpectationFailedException in PHPDoc `@throws` tag but it's not thrown." (throws.unusedType) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Framework/Constraint/IsAnything.php was not matched in reported errors.
integration-tests / Integration - Rector tests
Process completed with exit code 1.
integration-tests / PMMP Tests
Process completed with exit code 1.
integration-tests / PMMP Tests: src/crash/CrashDump.php#L242
Possibly invalid array key type float|int<0, max>.
integration-tests / Integration - efabrica-team/phpstan-latte tests
Process completed with exit code 2.
integration-tests / Integration - shopsys/shopsys
Process completed with exit code 1.
integration-tests / Integration - shopsys/shopsys
Process completed with exit code 1.
integration-tests / Integration - shopsys/shopsys: packages/framework/src/Model/Product/Search/FilterQuery.php#L729
Method Shopsys\FrameworkBundle\Model\Product\Search\FilterQuery::filterWithActiveSpecialPriceOnly() should return $this(Shopsys\FrameworkBundle\Model\Product\Search\FilterQuery) but returns static(Shopsys\FrameworkBundle\Model\Product\Search\FilterQuery).
integration-tests / Integration - shopsys/shopsys: packages/framework/src/Model/Product/Search/FilterQuery.php#L402
Method Shopsys\FrameworkBundle\Model\Product\Search\FilterQuery::applyOrderingByIdsArray() should return $this(Shopsys\FrameworkBundle\Model\Product\Search\FilterQuery) but returns static(Shopsys\FrameworkBundle\Model\Product\Search\FilterQuery).
integration-tests / Integration - shopware/shopware: src/Core/Content/Product/PropertyGroupSorter.php#L0
Ignored error pattern #^Mixed variable in a `\$sorted\[\$groupId\]\-\>get\('options'\)\-\>\.\.\.\(\)` can skip important errors\. Make sure the type is known$# (typePerfect.noMixedMethodCaller) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Core/Content/Product/PropertyGroupSorter.php was not matched in reported errors.
integration-tests / Integration - shopware/shopware: src/Core/Content/Product/PropertyGroupSorter.php#L0
Ignored error pattern #^Mixed variable in a `\$sorted\[\$groupId\]\-\>\.\.\.\(\)` can skip important errors\. Make sure the type is known$# (typePerfect.noMixedMethodCaller) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Core/Content/Product/PropertyGroupSorter.php was not matched in reported errors.
integration-tests / Integration - shopware/shopware: src/Core/Content/Product/PropertyGroupSorter.php#L0
Ignored error pattern #^Mixed variable in a `\$group\-\>get\('options'\)\-\>\.\.\.\(\)` can skip important errors\. Make sure the type is known$# (typePerfect.noMixedMethodCaller) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Core/Content/Product/PropertyGroupSorter.php was not matched in reported errors.
integration-tests / Integration - shopware/shopware: src/Core/Content/Product/PropertyGroupSorter.php#L0
Ignored error pattern #^Mixed variable in a `\$group\-\>\.\.\.\(\)` can skip important errors\. Make sure the type is known$# (typePerfect.noMixedMethodCaller) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Core/Content/Product/PropertyGroupSorter.php was not matched in reported errors.

Artifacts

Produced during runtime
Name Size Digest
baselines-
119 MB
sha256:67795f05bfa9973444fde25320fd12aafd00527ea08f6574a6e09953096ee25e
baselines-bladestan-baseline.neon
572 Bytes
sha256:cfd046c7694a46474fcfc802189ef89af73c8c6d741c33440c464c83f4af0849
baselines-doctrine-dbal-baseline.neon
1.25 KB
sha256:4b3239eadcbbb3d7cd96e468ddaf2d559e8d4498e9c4962b280833edaeda1605
baselines-doctrine-orm-baseline.neon
1.86 KB
sha256:3d148de104420e2d710479b42c3ea6bc3b3f04e9a5c4dc7ba017a95b5cd769b4
baselines-magento-baseline.neon
670 Bytes
sha256:c60612d0ae1f03c65eba950cc0c70cb5f76e5a82612a0e3bf0f8c3481ae056b3
baselines-nextras-baseline.neon
319 Bytes
sha256:91a121390e2f6512bae6ee1d3ece089be4968b91dfadd78bc527e6a3c8e11ee3
baselines-phpunit-baseline.neon
674 Bytes
sha256:94a040a509f2cf472dd98308cb75eae211680571a9ec529ffb91a6f39c59c862
baselines-shipmonk-rnd-baseline.neon
380 Bytes
sha256:c0817f2e672633f50093126bc4ae9cedefe0d15aa5616ab7a4fe18e8fc0be540
baselines-shopware-baseline.neon
3.71 KB
sha256:b31ed49ec1ef509514657e6dbafb2924ac4d6083f53efbf568042958d6adc13e
phar-file
3.68 MB
sha256:bbbccde0b9a03cbdc4f1c190f46bbcaba341c2794c78af05d8ebd3fda7bda3fd
phar-file-checksum
3.68 MB
sha256:7e38712ef213eb8ce53b317654dbb793caddcf03be24d99d1c17917894d9edca
pocketmine-ng-baseline.neon
462 Bytes
sha256:f3e293eed8bce6473001ec7ddc1c525de6d97e3125f17cb53f7d814c141f1eff