Skip to content

POC: Use SimultaneousTypeTraverser in RuleLevelHelper::transformAcceptedType #23539

POC: Use SimultaneousTypeTraverser in RuleLevelHelper::transformAcceptedType

POC: Use SimultaneousTypeTraverser in RuleLevelHelper::transformAcceptedType #23539

Triggered via pull request October 18, 2025 14:33
Status Cancelled
Total duration 3m 29s
Artifacts

static-analysis.yml

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

Annotations

60 errors
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Type/ObjectType.php#L1704
Parameter #1 $className of class PHPStan\Type\ObjectType constructor expects string, PHPStan\Type\Type given.
PHPStan with result cache (8.4): src/Rules/RuleLevelHelper.php#L141
Doing instanceof PHPStan\Type\NullType is error-prone and deprecated. Use Type::isNull() instead.
PHPStan with result cache (8.4): src/Rules/RuleLevelHelper.php#L93
Doing instanceof PHPStan\Type\CallableType is error-prone and deprecated. Use Type::isCallable() and Type::getCallableParametersAcceptors() instead.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Type/ObjectType.php#L1704
Parameter #1 $className of class PHPStan\Type\ObjectType constructor expects string, PHPStan\Type\Type given.
PHPStan (8.2, ubuntu-latest): src/Rules/RuleLevelHelper.php#L141
Doing instanceof PHPStan\Type\NullType is error-prone and deprecated. Use Type::isNull() instead.
PHPStan (8.2, ubuntu-latest): src/Rules/RuleLevelHelper.php#L93
Doing instanceof PHPStan\Type\CallableType is error-prone and deprecated. Use Type::isCallable() and Type::getCallableParametersAcceptors() instead.
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Type/ObjectType.php#L1704
Parameter #1 $className of class PHPStan\Type\ObjectType constructor expects string, PHPStan\Type\Type given.
PHPStan with result cache (8.3): src/Rules/RuleLevelHelper.php#L141
Doing instanceof PHPStan\Type\NullType is error-prone and deprecated. Use Type::isNull() instead.
PHPStan with result cache (8.3): src/Rules/RuleLevelHelper.php#L93
Doing instanceof PHPStan\Type\CallableType is error-prone and deprecated. Use Type::isCallable() and Type::getCallableParametersAcceptors() instead.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Type/ObjectType.php#L1704
Parameter #1 $className of class PHPStan\Type\ObjectType constructor expects string, PHPStan\Type\Type given.
PHPStan with result cache (8.2): src/Rules/RuleLevelHelper.php#L141
Doing instanceof PHPStan\Type\NullType is error-prone and deprecated. Use Type::isNull() instead.
PHPStan with result cache (8.2): src/Rules/RuleLevelHelper.php#L93
Doing instanceof PHPStan\Type\CallableType is error-prone and deprecated. Use Type::isCallable() and Type::getCallableParametersAcceptors() instead.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Type/ObjectType.php#L1704
Parameter #1 $className of class PHPStan\Type\ObjectType constructor expects string, PHPStan\Type\Type given.
PHPStan (8.4, ubuntu-latest): src/Rules/RuleLevelHelper.php#L141
Doing instanceof PHPStan\Type\NullType is error-prone and deprecated. Use Type::isNull() instead.
PHPStan (8.4, ubuntu-latest): src/Rules/RuleLevelHelper.php#L93
Doing instanceof PHPStan\Type\CallableType is error-prone and deprecated. Use Type::isCallable() and Type::getCallableParametersAcceptors() instead.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Type/ObjectType.php#L1704
Parameter #1 $className of class PHPStan\Type\ObjectType constructor expects string, PHPStan\Type\Type given.
PHPStan (8.3, ubuntu-latest): src/Rules/RuleLevelHelper.php#L141
Doing instanceof PHPStan\Type\NullType is error-prone and deprecated. Use Type::isNull() instead.
PHPStan (8.3, ubuntu-latest): src/Rules/RuleLevelHelper.php#L93
Doing instanceof PHPStan\Type\CallableType is error-prone and deprecated. Use Type::isCallable() and Type::getCallableParametersAcceptors() instead.
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.5, ubuntu-latest): src/Type/ObjectType.php#L1704
Parameter #1 $className of class PHPStan\Type\ObjectType constructor expects string, PHPStan\Type\Type given.
PHPStan (8.5, ubuntu-latest): src/Rules/RuleLevelHelper.php#L141
Doing instanceof PHPStan\Type\NullType is error-prone and deprecated. Use Type::isNull() instead.
PHPStan (8.5, ubuntu-latest): src/Rules/RuleLevelHelper.php#L93
Doing instanceof PHPStan\Type\CallableType is error-prone and deprecated. Use Type::isCallable() and Type::getCallableParametersAcceptors() instead.
PHPStan with result cache (8.5)
Process completed with exit code 2.
PHPStan with result cache (8.5): src/Type/ObjectType.php#L1704
Parameter #1 $className of class PHPStan\Type\ObjectType constructor expects string, PHPStan\Type\Type given.
PHPStan with result cache (8.5): src/Rules/RuleLevelHelper.php#L141
Doing instanceof PHPStan\Type\NullType is error-prone and deprecated. Use Type::isNull() instead.
PHPStan with result cache (8.5): src/Rules/RuleLevelHelper.php#L93
Doing instanceof PHPStan\Type\CallableType is error-prone and deprecated. Use Type::isCallable() and Type::getCallableParametersAcceptors() instead.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Type/ObjectType.php#L1704
Parameter #1 $className of class PHPStan\Type\ObjectType constructor expects string, PHPStan\Type\Type given.
PHPStan (8.1, ubuntu-latest): src/Rules/RuleLevelHelper.php#L141
Doing instanceof PHPStan\Type\NullType is error-prone and deprecated. Use Type::isNull() instead.
PHPStan (8.1, ubuntu-latest): src/Rules/RuleLevelHelper.php#L93
Doing instanceof PHPStan\Type\CallableType is error-prone and deprecated. Use Type::isCallable() and Type::getCallableParametersAcceptors() instead.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Type/ObjectType.php#L1704
Parameter #1 $className of class PHPStan\Type\ObjectType constructor expects string, PHPStan\Type\Type given.
PHPStan (8.0, ubuntu-latest): src/Rules/RuleLevelHelper.php#L141
Doing instanceof PHPStan\Type\NullType is error-prone and deprecated. Use Type::isNull() instead.
PHPStan (8.0, ubuntu-latest): src/Rules/RuleLevelHelper.php#L93
Doing instanceof PHPStan\Type\CallableType is error-prone and deprecated. Use Type::isCallable() and Type::getCallableParametersAcceptors() instead.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Type/ObjectType.php#L1703
Parameter #1 $className of class PHPStan\Type\ObjectType constructor expects string, PHPStan\Type\Type given.
PHPStan (7.4, ubuntu-latest): src/Rules/RuleLevelHelper.php#L156
Doing instanceof PHPStan\Type\NullType is error-prone and deprecated. Use Type::isNull() instead.
PHPStan (7.4, ubuntu-latest): src/Rules/RuleLevelHelper.php#L108
Doing instanceof PHPStan\Type\CallableType is error-prone and deprecated. Use Type::isCallable() and Type::getCallableParametersAcceptors() instead.
PHPStan (8.1, windows-latest)
Canceling since a higher priority waiting request for sa-poc/12008 exists
PHPStan (8.1, windows-latest)
The operation was canceled.
PHPStan (8.2, windows-latest)
Canceling since a higher priority waiting request for sa-poc/12008 exists
PHPStan (8.2, windows-latest)
The operation was canceled.
PHPStan (8.4, windows-latest)
Canceling since a higher priority waiting request for sa-poc/12008 exists
PHPStan (8.4, windows-latest)
The operation was canceled.
PHPStan (8.3, windows-latest)
Canceling since a higher priority waiting request for sa-poc/12008 exists
PHPStan (8.3, windows-latest)
The operation was canceled.
PHPStan (8.0, windows-latest)
Canceling since a higher priority waiting request for sa-poc/12008 exists
PHPStan (8.0, windows-latest)
The operation was canceled.
PHPStan (8.5, windows-latest)
Canceling since a higher priority waiting request for sa-poc/12008 exists
PHPStan (8.5, windows-latest)
The operation was canceled.
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for sa-poc/12008 exists
PHPStan (7.4, windows-latest)
The operation was canceled.
Static Analysis
Canceling since a higher priority waiting request for sa-poc/12008 exists