Skip to content

Avoid crash in FilterFunctionReturnTypeHelper #21975

Avoid crash in FilterFunctionReturnTypeHelper

Avoid crash in FilterFunctionReturnTypeHelper #21975

Triggered via pull request July 25, 2025 18:51
Status Failure
Total duration 13m 44s
Artifacts

static-analysis.yml

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

Annotations

31 errors
Generate baseline
Process completed with exit code 1.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Type/Php/FilterFunctionReturnTypeHelper.php#L441
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Type/Php/FilterFunctionReturnTypeHelper.php#L441
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Type/Php/FilterFunctionReturnTypeHelper.php#L441
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Type/Php/FilterFunctionReturnTypeHelper.php#L441
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Type/Php/FilterFunctionReturnTypeHelper.php#L441
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Type/Php/FilterFunctionReturnTypeHelper.php#L441
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Type/Php/FilterFunctionReturnTypeHelper.php#L441
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Type/Php/FilterFunctionReturnTypeHelper.php#L441
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Type/Php/FilterFunctionReturnTypeHelper.php#L441
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Type/Php/FilterFunctionReturnTypeHelper.php#L441
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Type/Php/FilterFunctionReturnTypeHelper.php#L441
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Type/Php/FilterFunctionReturnTypeHelper.php#L441
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): src/Type/Php/FilterFunctionReturnTypeHelper.php#L441
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Type/Php/FilterFunctionReturnTypeHelper.php#L445
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Type/Php/FilterFunctionReturnTypeHelper.php#L445
Parameter #1 $constantName of method PHPStan\Type\Php\FilterFunctionReturnTypeHelper::getConstant() expects non-empty-string, string given.