Skip to content

Implement @pure-unless-callable-impure #18538

Implement @pure-unless-callable-impure

Implement @pure-unless-callable-impure #18538

Triggered via pull request November 3, 2024 17:57
Status Failure
Total duration 3m 49s
Artifacts

static-analysis.yml

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

Annotations

141 errors
PHPStan with result cache (8.4): src/Analyser/NodeScopeResolver.php#L4579
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan with result cache (8.4): src/Analyser/NodeScopeResolver.php#L4581
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan with result cache (8.4): src/Analyser/NodeScopeResolver.php#L4582
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan with result cache (8.4): src/Analyser/NodeScopeResolver.php#L4587
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan with result cache (8.4): src/Analyser/NodeScopeResolver.php#L4844
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan with result cache (8.4): src/Reflection/Php/PhpClassReflectionExtension.php#L618
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4579
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (8.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4581
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4582
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4587
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (8.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4844
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (8.3, ubuntu-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L618
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4579
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (8.1, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4581
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.1, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4582
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.1, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4587
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (8.1, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4844
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (8.1, ubuntu-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L618
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4579
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (8.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4581
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4582
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4587
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (8.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4844
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (8.2, ubuntu-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L618
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4579
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (8.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4581
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4582
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4587
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (8.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4844
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (8.4, ubuntu-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L618
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.1): src/Analyser/NodeScopeResolver.php#L4579
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan with result cache (8.1): src/Analyser/NodeScopeResolver.php#L4581
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan with result cache (8.1): src/Analyser/NodeScopeResolver.php#L4582
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan with result cache (8.1): src/Analyser/NodeScopeResolver.php#L4587
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan with result cache (8.1): src/Analyser/NodeScopeResolver.php#L4844
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan with result cache (8.1): src/Reflection/Php/PhpClassReflectionExtension.php#L618
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Analyser/NodeScopeResolver.php#L4579
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan with result cache (8.2): src/Analyser/NodeScopeResolver.php#L4581
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan with result cache (8.2): src/Analyser/NodeScopeResolver.php#L4582
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan with result cache (8.2): src/Analyser/NodeScopeResolver.php#L4587
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan with result cache (8.2): src/Analyser/NodeScopeResolver.php#L4844
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan with result cache (8.2): src/Reflection/Php/PhpClassReflectionExtension.php#L618
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Analyser/NodeScopeResolver.php#L4579
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan with result cache (8.3): src/Analyser/NodeScopeResolver.php#L4581
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan with result cache (8.3): src/Analyser/NodeScopeResolver.php#L4582
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan with result cache (8.3): src/Analyser/NodeScopeResolver.php#L4587
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan with result cache (8.3): src/Analyser/NodeScopeResolver.php#L4844
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan with result cache (8.3): src/Reflection/Php/PhpClassReflectionExtension.php#L618
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan with result cache (8.3)
Process completed with exit code 2.
Generate baseline
Process completed with exit code 1.
PHPStan (8.0, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4663
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (8.0, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4665
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.0, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4666
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.0, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4671
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (8.0, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4928
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (8.0, ubuntu-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L618
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4683
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (7.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4685
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (7.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4686
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (7.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4691
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (7.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4961
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (7.3, ubuntu-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L654
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (7.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4608
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (7.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4610
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (7.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4611
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (7.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4616
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (7.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4872
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (7.4, ubuntu-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L606
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4109
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (7.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4111
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (7.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4112
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (7.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4115
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (7.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L4369
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (7.2, ubuntu-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L587
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (7.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, windows-latest): src/Analyser/NodeScopeResolver.php#L4579
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (8.1, windows-latest): src/Analyser/NodeScopeResolver.php#L4581
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.1, windows-latest): src/Analyser/NodeScopeResolver.php#L4582
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.1, windows-latest): src/Analyser/NodeScopeResolver.php#L4587
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (8.1, windows-latest): src/Analyser/NodeScopeResolver.php#L4844
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (8.1, windows-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L618
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Analyser/NodeScopeResolver.php#L4579
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (8.3, windows-latest): src/Analyser/NodeScopeResolver.php#L4581
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.3, windows-latest): src/Analyser/NodeScopeResolver.php#L4582
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.3, windows-latest): src/Analyser/NodeScopeResolver.php#L4587
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (8.3, windows-latest): src/Analyser/NodeScopeResolver.php#L4844
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (8.3, windows-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L618
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Analyser/NodeScopeResolver.php#L4579
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (8.4, windows-latest): src/Analyser/NodeScopeResolver.php#L4581
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.4, windows-latest): src/Analyser/NodeScopeResolver.php#L4582
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.4, windows-latest): src/Analyser/NodeScopeResolver.php#L4587
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (8.4, windows-latest): src/Analyser/NodeScopeResolver.php#L4844
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (8.4, windows-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L618
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Analyser/NodeScopeResolver.php#L4579
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (8.2, windows-latest): src/Analyser/NodeScopeResolver.php#L4581
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.2, windows-latest): src/Analyser/NodeScopeResolver.php#L4582
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.2, windows-latest): src/Analyser/NodeScopeResolver.php#L4587
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (7.3, windows-latest): src/Analyser/NodeScopeResolver.php#L4683
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (8.2, windows-latest): src/Analyser/NodeScopeResolver.php#L4844
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (7.3, windows-latest): src/Analyser/NodeScopeResolver.php#L4685
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.2, windows-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L618
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (7.3, windows-latest): src/Analyser/NodeScopeResolver.php#L4686
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (7.3, windows-latest): src/Analyser/NodeScopeResolver.php#L4691
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (7.3, windows-latest): src/Analyser/NodeScopeResolver.php#L4961
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (7.3, windows-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L654
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (7.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Analyser/NodeScopeResolver.php#L4663
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (8.0, windows-latest): src/Analyser/NodeScopeResolver.php#L4665
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.0, windows-latest): src/Analyser/NodeScopeResolver.php#L4666
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (8.0, windows-latest): src/Analyser/NodeScopeResolver.php#L4671
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (8.0, windows-latest): src/Analyser/NodeScopeResolver.php#L4928
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (8.0, windows-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L618
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Analyser/NodeScopeResolver.php#L4608
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (7.4, windows-latest): src/Analyser/NodeScopeResolver.php#L4610
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (7.4, windows-latest): src/Analyser/NodeScopeResolver.php#L4611
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (7.4, windows-latest): src/Analyser/NodeScopeResolver.php#L4616
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (7.4, windows-latest): src/Analyser/NodeScopeResolver.php#L4872
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (7.4, windows-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L606
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.2, windows-latest): src/Analyser/NodeScopeResolver.php#L4109
Cannot call method isTrue() on PHPStan\Type\Type|null.
PHPStan (7.2, windows-latest): src/Analyser/NodeScopeResolver.php#L4111
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (7.2, windows-latest): src/Analyser/NodeScopeResolver.php#L4112
Cannot call method getCallableParametersAcceptors() on PHPStan\Type\Type|null.
PHPStan (7.2, windows-latest): src/Analyser/NodeScopeResolver.php#L4115
Cannot call method getName() on PHPStan\Reflection\FunctionReflection|PHPStan\Reflection\MethodReflection|null.
PHPStan (7.2, windows-latest): src/Analyser/NodeScopeResolver.php#L4369
Parameter #4 $impurePoints of class PHPStan\Analyser\ExpressionResult constructor expects array<PHPStan\Analyser\ImpurePoint>, array<PHPStan\Analyser\ImpurePoint|PHPStan\Reflection\Callables\SimpleImpurePoint> given.
PHPStan (7.2, windows-latest): src/Reflection/Php/PhpClassReflectionExtension.php#L587
Offset 'hasSideEffects' might not exist on array{hasSideEffects?: bool, pureUnlessCallableIsImpureParameters?: array<string, bool>}.
PHPStan (7.2, windows-latest)
Process completed with exit code 1.