Skip to content

[DI] parameter type improvement #1632

[DI] parameter type improvement

[DI] parameter type improvement #1632

Triggered via pull request July 7, 2023 06:50
Status Failure
Total duration 11m 55s
Artifacts

integrate.yaml

on: pull_request
Matrix: static-code-analysis
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

29 errors and 21 warnings
PossiblyUndefinedArrayOffset: src/Twig/CachedTemplatesRegistry.php#L59
src/Twig/CachedTemplatesRegistry.php:59:31: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyUndefinedArrayOffset: src/Twig/CachedTemplatesRegistry.php#L60
src/Twig/CachedTemplatesRegistry.php:60:36: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyUndefinedArrayOffset: src/Twig/CachedTemplatesTainter.php#L55
src/Twig/CachedTemplatesTainter.php:55:74: PossiblyUndefinedArrayOffset: Possibly undefined array key $call_args[0] on array{0?: PhpParser\Node\Arg, 1?: PhpParser\Node\Arg, ...<int<0, max>, PhpParser\Node\Arg>} (see https://psalm.dev/167)
PropertyTypeCoercion: src/Twig/TemplateFileAnalyzer.php#L33
src/Twig/TemplateFileAnalyzer.php:33:35: PropertyTypeCoercion: Psalm\SymfonyPsalmPlugin\Twig\TemplateFileAnalyzer::$extensionClasses expects 'list<class-string>', parent type 'array<array-key, mixed>' provided (see https://psalm.dev/198)
Static Code Analysis (PHP: 8, deps: lowest)
Process completed with exit code 2.
DeprecatedProperty: src/Handler/ConsoleHandler.php#L161
src/Handler/ConsoleHandler.php:161:94: DeprecatedProperty: PhpParser\Node\Name::$parts is marked deprecated (see https://psalm.dev/099)
DeprecatedProperty: src/Handler/ConsoleHandler.php#L209
src/Handler/ConsoleHandler.php:209:25: DeprecatedProperty: PhpParser\Node\Name::$parts is marked deprecated (see https://psalm.dev/099)
DeprecatedProperty: src/Handler/HeaderBagHandler.php#L63
src/Handler/HeaderBagHandler.php:63:109: DeprecatedProperty: PhpParser\Node\Name::$parts is marked deprecated (see https://psalm.dev/099)
PossiblyUndefinedArrayOffset: src/Twig/CachedTemplatesRegistry.php#L59
src/Twig/CachedTemplatesRegistry.php:59:31: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyUndefinedArrayOffset: src/Twig/CachedTemplatesRegistry.php#L60
src/Twig/CachedTemplatesRegistry.php:60:36: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyUndefinedArrayOffset: src/Twig/CachedTemplatesTainter.php#L55
src/Twig/CachedTemplatesTainter.php:55:74: PossiblyUndefinedArrayOffset: Possibly undefined array key $call_args[0] on array{0?: PhpParser\Node\Arg, 1?: PhpParser\Node\Arg, ...<int<0, max>, PhpParser\Node\Arg>} (see https://psalm.dev/167)
PropertyTypeCoercion: src/Twig/TemplateFileAnalyzer.php#L33
src/Twig/TemplateFileAnalyzer.php:33:35: PropertyTypeCoercion: Psalm\SymfonyPsalmPlugin\Twig\TemplateFileAnalyzer::$extensionClasses expects 'list<class-string>', parent type 'array<array-key, mixed>' provided (see https://psalm.dev/198)
Static Code Analysis (PHP: 8.1, deps: highest)
Process completed with exit code 2.
PossiblyUndefinedArrayOffset: src/Twig/CachedTemplatesRegistry.php#L59
src/Twig/CachedTemplatesRegistry.php:59:31: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyUndefinedArrayOffset: src/Twig/CachedTemplatesRegistry.php#L60
src/Twig/CachedTemplatesRegistry.php:60:36: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyUndefinedArrayOffset: src/Twig/CachedTemplatesTainter.php#L55
src/Twig/CachedTemplatesTainter.php:55:74: PossiblyUndefinedArrayOffset: Possibly undefined array key $call_args[0] on array{0?: PhpParser\Node\Arg, 1?: PhpParser\Node\Arg, ...<int<0, max>, PhpParser\Node\Arg>} (see https://psalm.dev/167)
PropertyTypeCoercion: src/Twig/TemplateFileAnalyzer.php#L33
src/Twig/TemplateFileAnalyzer.php:33:35: PropertyTypeCoercion: Psalm\SymfonyPsalmPlugin\Twig\TemplateFileAnalyzer::$extensionClasses expects 'list<class-string>', parent type 'array<array-key, mixed>' provided (see https://psalm.dev/198)
Static Code Analysis (PHP: 8.1, deps: lowest)
Process completed with exit code 2.
DeprecatedProperty: src/Handler/ConsoleHandler.php#L161
src/Handler/ConsoleHandler.php:161:94: DeprecatedProperty: PhpParser\Node\Name::$parts is marked deprecated (see https://psalm.dev/099)
DeprecatedProperty: src/Handler/ConsoleHandler.php#L209
src/Handler/ConsoleHandler.php:209:25: DeprecatedProperty: PhpParser\Node\Name::$parts is marked deprecated (see https://psalm.dev/099)
DeprecatedProperty: src/Handler/HeaderBagHandler.php#L63
src/Handler/HeaderBagHandler.php:63:109: DeprecatedProperty: PhpParser\Node\Name::$parts is marked deprecated (see https://psalm.dev/099)
PossiblyUndefinedArrayOffset: src/Twig/CachedTemplatesRegistry.php#L59
src/Twig/CachedTemplatesRegistry.php:59:31: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyUndefinedArrayOffset: src/Twig/CachedTemplatesRegistry.php#L60
src/Twig/CachedTemplatesRegistry.php:60:36: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
PossiblyUndefinedArrayOffset: src/Twig/CachedTemplatesTainter.php#L55
src/Twig/CachedTemplatesTainter.php:55:74: PossiblyUndefinedArrayOffset: Possibly undefined array key $call_args[0] on array{0?: PhpParser\Node\Arg, 1?: PhpParser\Node\Arg, ...<int<0, max>, PhpParser\Node\Arg>} (see https://psalm.dev/167)
PropertyTypeCoercion: src/Twig/TemplateFileAnalyzer.php#L33
src/Twig/TemplateFileAnalyzer.php:33:35: PropertyTypeCoercion: Psalm\SymfonyPsalmPlugin\Twig\TemplateFileAnalyzer::$extensionClasses expects 'list<class-string>', parent type 'array<array-key, mixed>' provided (see https://psalm.dev/198)
Static Code Analysis (PHP: 8, deps: highest)
Process completed with exit code 2.
Tests (PHP: 8.1, Symfony: 6)
Process completed with exit code 1.
Tests (PHP: 8.1, Symfony: 5)
Process completed with exit code 1.
Tests (PHP: 8, Symfony: 5)
Process completed with exit code 1.
Static Code Analysis (PHP: 8, deps: lowest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Code Analysis (PHP: 8, deps: lowest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Code Analysis (PHP: 8, deps: lowest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Code Analysis (PHP: 8.1, deps: highest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Code Analysis (PHP: 8.1, deps: highest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Code Analysis (PHP: 8.1, deps: highest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Code Analysis (PHP: 8.1, deps: lowest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Code Analysis (PHP: 8.1, deps: lowest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Code Analysis (PHP: 8.1, deps: lowest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Code Analysis (PHP: 8, deps: highest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Code Analysis (PHP: 8, deps: highest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Code Analysis (PHP: 8, deps: highest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (PHP: 8.1, Symfony: 6)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (PHP: 8.1, Symfony: 6)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (PHP: 8.1, Symfony: 6)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (PHP: 8.1, Symfony: 5)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (PHP: 8.1, Symfony: 5)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (PHP: 8.1, Symfony: 5)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (PHP: 8, Symfony: 5)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (PHP: 8, Symfony: 5)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (PHP: 8, Symfony: 5)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/