Skip to content

Fix "array_rand() - offset might not exists" #22211

Fix "array_rand() - offset might not exists"

Fix "array_rand() - offset might not exists" #22211

Triggered via pull request October 6, 2025 09:41
@staabmstaabm
synchronize #4383
staabm:rand
Status Failure
Total duration 11m 52s
Artifacts 5

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
8s
integration-tests / Check PHAR checksum
Download base SHA PHAR
0s
Download base SHA PHAR
extension-tests  /  Check PHAR checksum
4s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
4s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests  /  PMMP Tests
1m 19s
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

16 errors
extension-tests / phpstan-mockery (8.5) make tests
Process completed with exit code 2.
integration-tests / Integration - shipmonk-rnd/phpstan-rules
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/phpstan-rules: src/Rule/AllowComparingOnlyComparableTypesRule.php#L142
No error with identifier offsetAccess.notFound is reported on line 142.
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 - efabrica-team/phpstan-latte tests
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware: src/Elasticsearch/Framework/ElasticsearchFieldMapper.php#L142
No error with identifier function.unresolvableReturnType is reported on line 142.
integration-tests / Integration - shopware/shopware: src/Elasticsearch/Framework/ElasticsearchFieldMapper.php#L142
No error with identifier argument.unresolvableType is reported on line 142.

Artifacts

Produced during runtime
Name Size Digest
baselines-bladestan-baseline.neon
572 Bytes
sha256:3e816531929ecdcf8815cd330b740ddeb6e8ef63e97f9d3da568035636699373
baselines-shipmonk-rnd-baseline.neon
198 Bytes
sha256:12aa3f9354b498e6130a171630873c3ea674d4d7014763f60ab462c27c1a4e98
baselines-shopware-baseline.neon
3.08 KB
sha256:dd801f561398b6b8db50b2bfa27444c6187f74515a955597c299ed77f4c201c5
phar-file
3.68 MB
sha256:3656a06066a917436d498be17e838299abee09b1d6d10e57a5caef8f42ce1620
phar-file-checksum
3.68 MB
sha256:8d49057a238121eba08c17448cf2ea5546246da1687a065829ec4c1dc59bd44a