Skip to content

Update LiteralArrayItem.php #17186

Update LiteralArrayItem.php

Update LiteralArrayItem.php #17186

Triggered via pull request September 4, 2024 08:35
Status Failure
Total duration 2m 7s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

static-analysis.yml

on: pull_request
Generate baseline
33s
Generate baseline
Generate PHP baseline
39s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

42 errors
PHPStan with result cache (8.3)
Internal error: PHPStan\Node\LiteralArrayItem::__construct(): Argument #2 ($arrayItem) must be of type ?PhpParser\Node\ArrayItem, PhpParser\Node\Expr\ArrayItem given, called in /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php on line 2979 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/TrinaryLogic.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.4)
Internal error: PHPStan\Node\LiteralArrayItem::__construct(): Argument #2 ($arrayItem) must be of type ?PhpParser\Node\ArrayItem, PhpParser\Node\Expr\ArrayItem given, called in /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php on line 2979 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Rules/Arrays/EmptyArrayItemRule.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.2)
Internal error: PHPStan\Node\LiteralArrayItem::__construct(): Argument #2 ($arrayItem) must be of type ?PhpParser\Node\ArrayItem, PhpParser\Node\Expr\ArrayItem given, called in /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php on line 2979 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Rules/Arrays/EmptyArrayItemRule.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.1)
Internal error: PHPStan\Node\LiteralArrayItem::__construct(): Argument #2 ($arrayItem) must be of type ?PhpParser\Node\ArrayItem, PhpParser\Node\Expr\ArrayItem given, called in /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php on line 2979 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Rules/Arrays/EmptyArrayItemRule.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest)
Internal error: PHPStan\Node\LiteralArrayItem::__construct(): Argument #2 ($arrayItem) must be of type ?PhpParser\Node\ArrayItem, PhpParser\Node\Expr\ArrayItem given, called in /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php on line 2979 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/MbSubstituteCharacterDynamicReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest)
Internal error: PHPStan\Node\LiteralArrayItem::__construct(): Argument #2 ($arrayItem) must be of type ?PhpParser\Node\ArrayItem, PhpParser\Node\Expr\ArrayItem given, called in /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php on line 2979 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Node/ClassStatementsGatherer.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest)
Internal error: PHPStan\Node\LiteralArrayItem::__construct(): Argument #2 ($arrayItem) must be of type ?PhpParser\Node\ArrayItem, PhpParser\Node\Expr\ArrayItem given, called in /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php on line 2979 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/MbSubstituteCharacterDynamicReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
Generate PHP baseline
Process completed with exit code 2.
Generate baseline
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest)
Internal error: PHPStan\Node\LiteralArrayItem::__construct(): Argument #2 ($arrayItem) must be of type ?PhpParser\Node\ArrayItem, PhpParser\Node\Expr\ArrayItem given, called in /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php on line 3063 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Node/ClassStatementsGatherer.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest)
Internal error: PHPStan\Node\LiteralArrayItem::__construct(): Argument #2 ($arrayItem) must be of type ?PhpParser\Node\ArrayItem, PhpParser\Node\Expr\ArrayItem given, called in /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php on line 2979 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/MbSubstituteCharacterDynamicReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.3, ubuntu-latest)
Internal error: Argument 2 passed to PHPStan\Node\LiteralArrayItem::__construct() must be an instance of PhpParser\Node\ArrayItem or null, instance of PhpParser\Node\Expr\ArrayItem given, called in /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php on line 3121 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Dummy/DummyMethodReflection.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.2, ubuntu-latest)
Internal error: Argument 2 passed to PHPStan\Node\LiteralArrayItem::__construct() must be an instance of PhpParser\Node\ArrayItem or null, instance of PhpParser\Node\Expr\ArrayItem given, called in /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php on line 2731 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Dummy/DummyMethodReflection.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest)
Internal error: Argument 2 passed to PHPStan\Node\LiteralArrayItem::__construct() must be an instance of PhpParser\Node\ArrayItem or null, instance of PhpParser\Node\Expr\ArrayItem given, called in /home/runner/work/phpstan-src/phpstan-src/src/Analyser/NodeScopeResolver.php on line 3070 while analysing file /home/runner/work/phpstan-src/phpstan-src/src/Reflection/Dummy/DummyMethodReflection.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, windows-latest)
Internal error: PHPStan\Node\LiteralArrayItem::__construct(): Argument #2 ($arrayItem) must be of type ?PhpParser\Node\ArrayItem, PhpParser\Node\Expr\ArrayItem given, called in D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php on line 2979 while analysing file D:\a\phpstan-src\phpstan-src\src\Internal\ContainerDynamicReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest)
Internal error: PHPStan\Node\LiteralArrayItem::__construct(): Argument #2 ($arrayItem) must be of type ?PhpParser\Node\ArrayItem, PhpParser\Node\Expr\ArrayItem given, called in D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php on line 2979 while analysing file D:\a\phpstan-src\phpstan-src\src\Internal\ContainerDynamicReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest)
Internal error: PHPStan\Node\LiteralArrayItem::__construct(): Argument #2 ($arrayItem) must be of type ?PhpParser\Node\ArrayItem, PhpParser\Node\Expr\ArrayItem given, called in D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php on line 2979 while analysing file D:\a\phpstan-src\phpstan-src\src\Internal\ContainerDynamicReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest)
Internal error: PHPStan\Node\LiteralArrayItem::__construct(): Argument #2 ($arrayItem) must be of type ?PhpParser\Node\ArrayItem, PhpParser\Node\Expr\ArrayItem given, called in D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php on line 2979 while analysing file D:\a\phpstan-src\phpstan-src\src\Internal\ContainerDynamicReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest)
Internal error: PHPStan\Node\LiteralArrayItem::__construct(): Argument #2 ($arrayItem) must be of type ?PhpParser\Node\ArrayItem, PhpParser\Node\Expr\ArrayItem given, called in D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php on line 3063 while analysing file D:\a\phpstan-src\phpstan-src\src\Internal\ContainerDynamicReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (7.3, windows-latest)
Internal error: Argument 2 passed to PHPStan\Node\LiteralArrayItem::__construct() must be an instance of PhpParser\Node\ArrayItem or null, instance of PhpParser\Node\Expr\ArrayItem given, called in D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php on line 3121 while analysing file D:\a\phpstan-src\phpstan-src\src\Internal\ContainerDynamicReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.3, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest)
Internal error: Argument 2 passed to PHPStan\Node\LiteralArrayItem::__construct() must be an instance of PhpParser\Node\ArrayItem or null, instance of PhpParser\Node\Expr\ArrayItem given, called in D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php on line 3070 while analysing file D:\a\phpstan-src\phpstan-src\src\Internal\ContainerDynamicReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.2, windows-latest)
Internal error: Argument 2 passed to PHPStan\Node\LiteralArrayItem::__construct() must be an instance of PhpParser\Node\ArrayItem or null, instance of PhpParser\Node\Expr\ArrayItem given, called in D:\a\phpstan-src\phpstan-src\src\Analyser\NodeScopeResolver.php on line 2731 while analysing file D:\a\phpstan-src\phpstan-src\src\Internal\ContainerDynamicReturnTypeExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHPStan (7.2, windows-latest)
Process completed with exit code 1.