Improve TypeCombinator::unionWithSubtractedType #22177
static-analysis.yml
on: pull_request
Generate baseline
1m 40s
Generate PHP baseline
1m 48s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
39 errors and 7 notices
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.5, ubuntu-latest):
tests/PHPStan/Type/TypeCombinatorTest.php#L4148
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan with result cache (8.2)
Process completed with exit code 2.
|
PHPStan (8.2, ubuntu-latest):
tests/PHPStan/Type/TypeCombinatorTest.php#L4148
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan with result cache (8.2):
tests/PHPStan/Type/TypeCombinatorTest.php#L4148
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.4, ubuntu-latest):
tests/PHPStan/Type/TypeCombinatorTest.php#L4148
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan with result cache (8.5)
Process completed with exit code 2.
|
PHPStan with result cache (8.5):
tests/PHPStan/Type/TypeCombinatorTest.php#L4148
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan with result cache (8.4)
Process completed with exit code 2.
|
PHPStan with result cache (8.4):
tests/PHPStan/Type/TypeCombinatorTest.php#L4148
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan with result cache (8.3)
Process completed with exit code 2.
|
PHPStan with result cache (8.3):
tests/PHPStan/Type/TypeCombinatorTest.php#L4148
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.3, ubuntu-latest):
tests/PHPStan/Type/TypeCombinatorTest.php#L4148
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
Generate PHP baseline
Process completed with exit code 2.
|
Generate PHP baseline:
tests/PHPStan/Type/TypeCombinatorTest.php#L4148
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.0, ubuntu-latest):
tests/PHPStan/Type/TypeCombinatorTest.php#L4124
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.1, ubuntu-latest):
tests/PHPStan/Type/TypeCombinatorTest.php#L4124
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.2, windows-latest):
tests/PHPStan/Type/TypeCombinatorTest.php#L4148
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.3, windows-latest):
tests/PHPStan/Type/TypeCombinatorTest.php#L4148
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.4, windows-latest):
tests/PHPStan/Type/TypeCombinatorTest.php#L4148
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.5, windows-latest):
tests/PHPStan/Type/TypeCombinatorTest.php#L4148
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.1, windows-latest):
tests/PHPStan/Type/TypeCombinatorTest.php#L4124
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.0, windows-latest):
tests/PHPStan/Type/TypeCombinatorTest.php#L4124
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
PHPStan (7.4, windows-latest)
The operation was canceled.
|
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for sa-improveIntersect exists
|
PHPStan (7.4, ubuntu-latest)
The operation was canceled.
|
PHPStan (7.4, ubuntu-latest)
Canceling since a higher priority waiting request for sa-improveIntersect exists
|
Static Analysis
Canceling since a higher priority waiting request for sa-improveIntersect exists
|
PHPStan (8.2, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
PHPStan (8.3, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
PHPStan (8.4, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
PHPStan (8.5, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
PHPStan (8.1, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
PHPStan (8.0, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
PHPStan (7.4, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|