Fix "array_rand() - offset might not exists" #22129
phar.yml
on: pull_request
Compiler Tests
1m 40s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests
/
PMMP Tests
1m 30s
Matrix: integration-tests / integration-tests
Checksum PHAR
0s
PHAR Prefix Diff
0s
Matrix: extension-tests / tests-extensions
Matrix: other-tests / Other Tests
integration-tests
/
Integration - Update baselines
0s
Annotations
49 errors
|
integration-tests / Integration - bladestan/bladestan
Process completed with exit code 1.
|
|
integration-tests / Integration - bladestan/bladestan:
src/TemplateCompiler/Rules/TemplateRulesRegistry.php#L63
Possibly invalid array key type mixed.
|
|
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.
|
|
extension-tests / phpstan-mockery (8.5) make tests
Process completed with exit code 2.
|
|
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...
Process completed with exit code 1.
|
|
|
|
|
|
|
|
|
|
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...:
lib/PhpParser/Lexer.php#L89
Undefined variable: $undefinedVariable
|
|
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...:
lib/PhpParser/BuilderAbstract.php#L173
Access to an undefined property PhpParser\BuilderAbstract::$flags.
|
|
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...:
lib/PhpParser/BuilderAbstract.php#L172
Access to an undefined property PhpParser\BuilderAbstract::$flags.
|
|
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...
Process completed with exit code 1.
|
|
|
|
|
|
|
|
|
|
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...:
lib/PhpParser/Lexer.php#L89
Undefined variable: $undefinedVariable
|
|
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...:
lib/PhpParser/BuilderAbstract.php#L173
Access to an undefined property PhpParser\BuilderAbstract::$flags.
|
|
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e
git clone https://github.com/nikic/PHP-Parser.git
cd PHP-...:
lib/PhpParser/BuilderAbstract.php#L172
Access to an undefined property PhpParser\BuilderAbstract::$flags.
|
|
integration-tests / Integration - doctrine/dbal
Process completed with exit code 1.
|
|
integration-tests / Integration - doctrine/dbal:
src/Schema/AbstractSchemaManager.php#L738
Offset 'flags' might not exist on array{name?: mixed, columns?: non-empty-list<mixed>, unique?: bool, primary?: mixed, flags?: mixed, options: array{lengths: non-empty-list<mixed>, where?: mixed}}.
|
|
integration-tests / Integration - doctrine/dbal:
src/Schema/AbstractSchemaManager.php#L737
Offset 'primary' might not exist on array{name?: mixed, columns?: non-empty-list<mixed>, unique?: bool, primary?: mixed, flags?: mixed, options: array{lengths: non-empty-list<mixed>, where?: mixed}}.
|
|
integration-tests / Integration - doctrine/dbal:
src/Schema/AbstractSchemaManager.php#L736
Offset 'unique' might not exist on array{name?: mixed, columns?: non-empty-list<mixed>, unique?: bool, primary?: mixed, flags?: mixed, options: array{lengths: non-empty-list<mixed>, where?: mixed}}.
|
|
integration-tests / Integration - doctrine/dbal:
src/Schema/AbstractSchemaManager.php#L735
Offset 'columns' might not exist on array{name?: mixed, columns?: non-empty-list<mixed>, unique?: bool, primary?: mixed, flags?: mixed, options: array{lengths: non-empty-list<mixed>, where?: mixed}}.
|
|
integration-tests / Integration - doctrine/dbal:
src/Schema/AbstractSchemaManager.php#L734
Offset 'name' might not exist on array{name?: mixed, columns?: non-empty-list<mixed>, unique?: bool, primary?: mixed, flags?: mixed, options: array{lengths: non-empty-list<mixed>, where?: mixed}}.
|
|
integration-tests / Integration - doctrine/orm
Process completed with exit code 1.
|
|
integration-tests / Integration - doctrine/orm:
src/Query/SqlWalker.php#L1111
Offset mixed might not exist on array<string, array{metadata?: Doctrine\ORM\Mapping\ClassMetadata<object>, parent?: string|null, relation?: Doctrine\ORM\Mapping\AssociationMapping|null, map?: string|null, resultVariable?: Doctrine\ORM\Query\AST\Node|string, nestingLevel: int, token: Doctrine\Common\Lexer\Token<Doctrine\ORM\Query\TokenType, string>}>.
|
|
integration-tests / Integration - doctrine/orm:
src/Persisters/Entity/JoinedSubclassPersister.php#L506
Offset mixed might not exist on array<string, Doctrine\ORM\Mapping\FieldMapping>.
|
|
integration-tests / Integration - doctrine/orm:
src/Persisters/Entity/BasicEntityPersister.php#L291
Offset mixed might not exist on array<string, Doctrine\ORM\Mapping\FieldMapping>.
|
|
integration-tests / Integration - doctrine/orm:
src/Persisters/Collection/ManyToManyPersister.php#L691
Offset mixed might not exist on array<string, string>.
|
|
integration-tests / Integration - doctrine/orm:
src/Persisters/Collection/ManyToManyPersister.php#L622
Offset mixed might not exist on array<string, string>.
|
|
integration-tests / Integration - doctrine/orm:
src/Persisters/Collection/ManyToManyPersister.php#L546
Offset mixed might not exist on array<string, string>.
|
|
integration-tests / Integration - doctrine/orm:
src/Persisters/Collection/ManyToManyPersister.php#L541
Offset mixed might not exist on array<string, string>.
|
|
integration-tests / Integration - doctrine/orm:
src/Internal/Hydration/AbstractHydrator.php#L353
Offset 'class' might not exist on array{class?: mixed, args: non-empty-array}.
|
|
integration-tests / Integration - doctrine/orm:
src/Internal/Hydration/AbstractHydrator.php#L347
Offset 'class' might not exist on array{class?: mixed, args: non-empty-array}.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte tests
Process completed with exit code 1.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Migration/V6_3/Migration1582011195FixCountryStateGermanTranslation.php#L93
Offset mixed might not exist on array{DE-BW: 'Baden-Württemberg', DE-BY: 'Bavaria', DE-BE: 'Berlin', DE-BB: 'Brandenburg', DE-HB: 'Bremen', DE-HH: 'Hamburg', DE-HE: 'Hesse', DE-NI: 'Lower Saxony', ...}.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Installer/Controller/ShopConfigurationController.php#L112
Offset mixed might not exist on array<string, array{id: string, label: string}>.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Installer/Controller/ShopConfigurationController.php#L66
Offset mixed might not exist on array<string, array{id: string, label: string}>.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Migration/MakeVersionableMigrationHelper.php#L218
Method Shopware\Core\Framework\Migration\MakeVersionableMigrationHelper::mapHydrateForeignKeyData() should return array<string, array{TABLE_NAME: string, COLUMN_NAME: list<string>, REFERENCED_TABLE_NAME: string, REFERENCED_COLUMN_NAME: list<string>}> but returns array<string, array<'COLUMN_NAME'|'REFERENCED_COLUMN…'|'REFERENCED_TABLE…'|'TABLE_NAME', non-empty-list<string>|string>>.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Migration/MakeVersionableMigrationHelper.php#L215
Cannot assign new offset to list<string>|string.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Migration/MakeVersionableMigrationHelper.php#L214
Cannot assign new offset to list<string>|string.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/DataAbstractionLayer/Dbal/EntityReader.php#L666
Offset mixed might not exist on array<string, array<string>>.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Adapter/Filesystem/Adapter/GoogleStorageFactory.php#L30
Call to deprecated method __construct() of class Google\Cloud\Storage\StorageClient:
This option is being deprecated because of a potential security risk.
This option does not validate the credential configuration. The security
risk occurs when a credential configuration is accepted from a source
that is not under your control and used without validation on your side.
If you know that you will be loading credential configurations of a
specific type, it is recommended to create the credentials directly and
configure them using the `credentialsFetcher` option instead.
```
use Google\Auth\Credentials\ServiceAccountCredentials;
$credentialsFetcher = new ServiceAccountCredentials($scopes, $json);
$creds = new StorageClient(['credentialsFetcher' => $creds]);
```
This will ensure that an unexpected credential type with potential for
malicious intent is not loaded unintentionally. You might still have to do
validation for certain credential types.
If you are loading your credential configuration from an untrusted source and have
not mitigated the risks (e.g. by validating the configuration yourself), make
these changes as soon as possible to prevent security risks to your environment.
Regardless of the method used, it is always your responsibility to validate
configurations received from external sources.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Content/Newsletter/SalesChannel/NewsletterSubscribeRoute.php#L263
Offset mixed might not exist on array<string, string>.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Content/ImportExport/Command/ImportEntityCommand.php#L199
Offset mixed might not exist on array<string, Shopware\Core\Content\ImportExport\ImportExportProfileEntity>.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
baselines-bladestan-baseline.neon
|
572 Bytes |
sha256:9d35a0f5687b17e221792fe354ea96da3834cd05f3c0c15716dffe84b3a9124d
|
|
|
baselines-doctrine-dbal-baseline.neon
|
834 Bytes |
sha256:a35a48dbecfc0a8c0d394096c80a8c65612fa13433e62b7d46f5d9a71ab9981e
|
|
|
baselines-doctrine-orm-baseline.neon
|
1.96 KB |
sha256:ec2dec25ccd4a3032821ecb13837b476409d6807146b38fb304e6ade263984af
|
|
|
baselines-shopware-baseline.neon
|
3.91 KB |
sha256:e2238f9d6fd258fc7ab3dc4768213c479e76a727cbe19101b24bb5583470338b
|
|
|
phar-file
|
3.68 MB |
sha256:8a8da8c6b99ab46e661ae692b69d07594cdfeb26211b6c05d6d99bc32fe6a384
|
|
|
phar-file-checksum
|
3.68 MB |
sha256:be25f8e9a68153b6a2dbb4a85072c269aa55ae0ad3f39e327ac142017b04c37b
|
|