Skip to content

add Type::isError method #26142

add Type::isError method

add Type::isError method #26142

Triggered via pull request February 19, 2026 09:20
Status Cancelled
Total duration 4m 12s
Artifacts 3

static-analysis.yml

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

Annotations

98 errors and 8 warnings
PHPStan with result cache (8.5)
Process completed with exit code 2.
PHPStan with result cache (8.5): src/Type/ObjectType.php#L253
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan with result cache (8.5): src/Type/ObjectType.php#L249
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan with result cache (8.5): src/Type/ObjectType.php#L240
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan with result cache (8.5): src/Type/ObjectType.php#L229
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan with result cache (8.5): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/ObjectType.php was not matched in reported errors.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Type/ObjectType.php#L253
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan with result cache (8.3): src/Type/ObjectType.php#L249
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan with result cache (8.3): src/Type/ObjectType.php#L240
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan with result cache (8.3): src/Type/ObjectType.php#L229
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan with result cache (8.3): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/ObjectType.php was not matched in reported errors.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Type/ObjectType.php#L253
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan with result cache (8.4): src/Type/ObjectType.php#L249
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan with result cache (8.4): src/Type/ObjectType.php#L240
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan with result cache (8.4): src/Type/ObjectType.php#L229
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan with result cache (8.4): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/ObjectType.php was not matched in reported errors.
Generate baseline
Process completed with exit code 1.
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.5, ubuntu-latest): src/Type/ObjectType.php#L253
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan (8.5, ubuntu-latest): src/Type/ObjectType.php#L249
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.5, ubuntu-latest): src/Type/ObjectType.php#L240
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.5, ubuntu-latest): src/Type/ObjectType.php#L229
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan (8.5, ubuntu-latest): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/ObjectType.php was not matched in reported errors.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Type/ObjectType.php#L253
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan (8.4, ubuntu-latest): src/Type/ObjectType.php#L249
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.4, ubuntu-latest): src/Type/ObjectType.php#L240
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.4, ubuntu-latest): src/Type/ObjectType.php#L229
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan (8.4, ubuntu-latest): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/ObjectType.php was not matched in reported errors.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Type/ObjectType.php#L253
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan (8.3, ubuntu-latest): src/Type/ObjectType.php#L249
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.3, ubuntu-latest): src/Type/ObjectType.php#L240
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.3, ubuntu-latest): src/Type/ObjectType.php#L229
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan (8.3, ubuntu-latest): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/ObjectType.php was not matched in reported errors.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Type/ObjectType.php#L253
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan (8.2, ubuntu-latest): src/Type/ObjectType.php#L249
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.2, ubuntu-latest): src/Type/ObjectType.php#L240
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.2, ubuntu-latest): src/Type/ObjectType.php#L229
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan (8.2, ubuntu-latest): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/ObjectType.php was not matched in reported errors.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Type/ObjectType.php#L253
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan with result cache (8.2): src/Type/ObjectType.php#L249
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan with result cache (8.2): src/Type/ObjectType.php#L240
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan with result cache (8.2): src/Type/ObjectType.php#L229
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan with result cache (8.2): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/ObjectType.php was not matched in reported errors.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Type/ObjectType.php#L253
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan (8.0, ubuntu-latest): src/Type/ObjectType.php#L249
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.0, ubuntu-latest): src/Type/ObjectType.php#L240
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.0, ubuntu-latest): src/Type/ObjectType.php#L229
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan (8.0, ubuntu-latest): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/ObjectType.php was not matched in reported errors.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Type/ObjectType.php#L253
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan (8.1, ubuntu-latest): src/Type/ObjectType.php#L249
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.1, ubuntu-latest): src/Type/ObjectType.php#L240
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.1, ubuntu-latest): src/Type/ObjectType.php#L229
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan (8.1, ubuntu-latest): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/ObjectType.php was not matched in reported errors.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Type/ObjectType.php#L252
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan (7.4, ubuntu-latest): src/Type/ObjectType.php#L248
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (7.4, ubuntu-latest): src/Type/ObjectType.php#L239
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (7.4, ubuntu-latest): src/Type/ObjectType.php#L228
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan (7.4, ubuntu-latest): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/ObjectType.php was not matched in reported errors.
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
PHPStan (8.5, windows-latest): src/Type/ObjectType.php#L253
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan (8.5, windows-latest): src/Type/ObjectType.php#L249
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.5, windows-latest): src/Type/ObjectType.php#L240
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.5, windows-latest): src/Type/ObjectType.php#L229
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan (8.5, windows-latest): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\ObjectType.php was not matched in reported errors.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Type/ObjectType.php#L253
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan (8.3, windows-latest): src/Type/ObjectType.php#L249
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.3, windows-latest): src/Type/ObjectType.php#L240
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.3, windows-latest): src/Type/ObjectType.php#L229
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan (8.3, windows-latest): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\ObjectType.php was not matched in reported errors.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Type/ObjectType.php#L253
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan (8.2, windows-latest): src/Type/ObjectType.php#L249
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.2, windows-latest): src/Type/ObjectType.php#L240
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.2, windows-latest): src/Type/ObjectType.php#L229
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan (8.2, windows-latest): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\ObjectType.php was not matched in reported errors.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Type/ObjectType.php#L253
Parameter #1 $propertyReflection of class PHPStan\Reflection\Type\CalledOnTypeUnresolvedPropertyPrototypeReflection constructor expects PHPStan\Reflection\ExtendedPropertyReflection, PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType given.
PHPStan (8.4, windows-latest): src/Type/ObjectType.php#L249
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.4, windows-latest): src/Type/ObjectType.php#L240
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::getDeclaringClass().
PHPStan (8.4, windows-latest): src/Type/ObjectType.php#L229
Call to an undefined method PHPStan\Reflection\ExtendedPropertyReflection|PHPStan\Type\ErrorType::isError().
PHPStan (8.4, windows-latest): src/Type/ObjectType.php#L0
Ignored error "Doing instanceof PHPStan\Type\ErrorType is error-prone and deprecated. Use Type::isError() instead." (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\ObjectType.php was not matched in reported errors.
PHPStan (8.0, windows-latest)
Canceling since a higher priority waiting request for sa-is-error exists
PHPStan (8.0, windows-latest)
The operation was canceled.
PHPStan (8.1, windows-latest)
Canceling since a higher priority waiting request for sa-is-error exists
PHPStan (8.1, windows-latest)
The operation was canceled.
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for sa-is-error exists
PHPStan (7.4, windows-latest)
The operation was canceled.
Static Analysis
Canceling since a higher priority waiting request for sa-is-error exists
PHPStan (8.5, ubuntu-latest)
No files were found with the provided path: baseline-php-8.5.neon. No artifacts will be uploaded.
PHPStan (8.4, ubuntu-latest)
No files were found with the provided path: baseline-php-8.4.neon. No artifacts will be uploaded.
PHPStan (8.3, ubuntu-latest)
No files were found with the provided path: baseline-php-8.3.neon. No artifacts will be uploaded.
PHPStan (8.2, ubuntu-latest)
No files were found with the provided path: baseline-php-8.2.neon. No artifacts will be uploaded.
PHPStan (8.5, windows-latest)
No files were found with the provided path: baseline-php-8.5.neon. No artifacts will be uploaded.
PHPStan (8.3, windows-latest)
No files were found with the provided path: baseline-php-8.3.neon. No artifacts will be uploaded.
PHPStan (8.2, windows-latest)
No files were found with the provided path: baseline-php-8.2.neon. No artifacts will be uploaded.
PHPStan (8.4, windows-latest)
No files were found with the provided path: baseline-php-8.4.neon. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
baseline-7.4
433 Bytes
sha256:a50c25a524433f2a3c20abec89ac2b6de3ed5439e6707133a7cfb335807eae8c
baseline-8.0
433 Bytes
sha256:7bda8cfdd4a4175f99f2495e96d54eb238654f48e28be7bf00630e2dea014f3f
baseline-8.1
433 Bytes
sha256:e074795d9f0fe1494c6cadc1f40b06b59f1110f19e87eb3f9cf23c99e85ac7dd