Skip to content

Fix MethodExistsTypeSpecifyingExtension for union types #21957

Fix MethodExistsTypeSpecifyingExtension for union types

Fix MethodExistsTypeSpecifyingExtension for union types #21957

Triggered via pull request July 23, 2025 08:43
Status Cancelled
Total duration 4m 26s
Artifacts

static-analysis.yml

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

Annotations

32 errors
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Type/Php/MethodExistsTypeSpecifyingExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/MethodExistsTypeSpecifyingExtension.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/Php/MethodExistsTypeSpecifyingExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/MethodExistsTypeSpecifyingExtension.php was not matched in reported errors.
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Type/Php/MethodExistsTypeSpecifyingExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/MethodExistsTypeSpecifyingExtension.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/Php/MethodExistsTypeSpecifyingExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/MethodExistsTypeSpecifyingExtension.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/Php/MethodExistsTypeSpecifyingExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/MethodExistsTypeSpecifyingExtension.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/Php/MethodExistsTypeSpecifyingExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/MethodExistsTypeSpecifyingExtension.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/Php/MethodExistsTypeSpecifyingExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/MethodExistsTypeSpecifyingExtension.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/Php/MethodExistsTypeSpecifyingExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/MethodExistsTypeSpecifyingExtension.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/Php/MethodExistsTypeSpecifyingExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\Php\MethodExistsTypeSpecifyingExtension.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/Php/MethodExistsTypeSpecifyingExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\Php\MethodExistsTypeSpecifyingExtension.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/Php/MethodExistsTypeSpecifyingExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\Php\MethodExistsTypeSpecifyingExtension.php was not matched in reported errors.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): src/Type/Php/MethodExistsTypeSpecifyingExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\Php\MethodExistsTypeSpecifyingExtension.php was not matched in reported errors.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Type/Php/MethodExistsTypeSpecifyingExtension.php#L0
Ignored error pattern #^Doing instanceof PHPStan\\Type\\Constant\\ConstantStringType is error\-prone and deprecated\. Use Type\:\:getConstantStrings\(\) instead\.$# (phpstanApi.instanceofType) in path D:\a\phpstan-src\phpstan-src\src\Type\Php\MethodExistsTypeSpecifyingExtension.php was not matched in reported errors.
PHPStan (7.4, windows-latest)
The operation was canceled.
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for sa-mexists exists
PHPStan (7.4, ubuntu-latest)
The operation was canceled.
PHPStan (7.4, ubuntu-latest)
Canceling since a higher priority waiting request for sa-mexists exists
Static Analysis
Canceling since a higher priority waiting request for sa-mexists exists