Skip to content

Test PHP-Parser 5 #17204

Test PHP-Parser 5

Test PHP-Parser 5 #17204

Triggered via pull request September 4, 2024 13:18
@ondrejmirtesondrejmirtes
synchronize #2839
2.0.x
Status Failure
Total duration 4m 52s
Artifacts 1

static-analysis.yml

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

Annotations

20 errors and 3 warnings
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L248
Parameter #1 $filename of function is_file expects string, PHPStan\BetterReflection\Reflection\Adapter\false|string given.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L252
Method PHPStan\Reflection\ClassReflection::getFileName() should return string|null but returns PHPStan\BetterReflection\Reflection\Adapter\false|string.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L252
Property PHPStan\Reflection\ClassReflection::$filename (string|false|null) does not accept PHPStan\BetterReflection\Reflection\Adapter\false|string.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L277
Call to method getName() on an unknown class PHPStan\BetterReflection\Reflection\Adapter\false.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L290
Call to method getName() on an unknown class PHPStan\BetterReflection\Reflection\Adapter\false.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L293
Call to method getName() on an unknown class PHPStan\BetterReflection\Reflection\Adapter\false.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L296
Call to method getName() on an unknown class PHPStan\BetterReflection\Reflection\Adapter\false.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L807
Parameter #1 $reflectionType of static method PHPStan\Type\TypehintHelper::decideTypeFromReflection() expects ReflectionType|null, PHPStan\BetterReflection\Reflection\Adapter\null|PHPStan\BetterReflection\Reflection\Adapter\ReflectionNamedType given.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L1175
Call to method getParentClass() on an unknown class PHPStan\BetterReflection\Reflection\Adapter\false.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L1176
Call to method getParentClass() on an unknown class PHPStan\BetterReflection\Reflection\Adapter\false.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L248
Parameter #1 $filename of function is_file expects string, PHPStan\BetterReflection\Reflection\Adapter\false|string given.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L252
Method PHPStan\Reflection\ClassReflection::getFileName() should return string|null but returns PHPStan\BetterReflection\Reflection\Adapter\false|string.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L252
Property PHPStan\Reflection\ClassReflection::$filename (string|false|null) does not accept PHPStan\BetterReflection\Reflection\Adapter\false|string.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L277
Call to method getName() on an unknown class PHPStan\BetterReflection\Reflection\Adapter\false.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L290
Call to method getName() on an unknown class PHPStan\BetterReflection\Reflection\Adapter\false.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L293
Call to method getName() on an unknown class PHPStan\BetterReflection\Reflection\Adapter\false.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L296
Call to method getName() on an unknown class PHPStan\BetterReflection\Reflection\Adapter\false.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L807
Parameter #1 $reflectionType of static method PHPStan\Type\TypehintHelper::decideTypeFromReflection() expects ReflectionType|null, PHPStan\BetterReflection\Reflection\Adapter\null|PHPStan\BetterReflection\Reflection\Adapter\ReflectionNamedType given.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L1175
Call to method getParentClass() on an unknown class PHPStan\BetterReflection\Reflection\Adapter\false.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L1176
Call to method getParentClass() on an unknown class PHPStan\BetterReflection\Reflection\Adapter\false.
PHPStan (7.4, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPStan (7.4, windows-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "transformed-src". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size Digest
transformed-src Expired
4.16 MB