Skip to content

CodeChecker: fixes

CodeChecker: fixes #10

Triggered via push May 31, 2025 10:06
Status Failure
Total duration 2m 24s
Artifacts

build.yml

on: push
coding-style  /  Code Standard Checker
16s
coding-style / Code Standard Checker
Matrix: static-analysis / phpstan
Matrix: tests / lowest_dependencies
Matrix: tests / tests
Fit to window
Zoom out
Zoom in

Annotations

15 errors
static-analysis / PHPStan - PHP 8.1
Process completed with exit code 1.
static-analysis / PHPStan - PHP 8.1: src/Bridges/PhpStan/StaticMethodTypeSpecifyingExtension.php#L213
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
static-analysis / PHPStan - PHP 8.1: src/Bridges/PhpStan/StaticMethodTypeSpecifyingExtension.php#L201
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
static-analysis / PHPStan - PHP 8.1: src/Bridges/PhpStan/StaticMethodTypeSpecifyingExtension.php#L97
Method CzProject\Assert\Bridges\PhpStan\StaticMethodTypeSpecifyingExtension::createExpression() should return PhpParser\Node\Expr|null but returns mixed.
static-analysis / PHPStan - PHP 8.1: src/Bridges/PhpStan/StaticMethodTypeSpecifyingExtension.php#L54
Creating new ReflectionObject is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine. Use objects retrieved from ReflectionProvider instead.
static-analysis / PHPStan - PHP 8.3
Process completed with exit code 1.
static-analysis / PHPStan - PHP 8.3: src/Bridges/PhpStan/StaticMethodTypeSpecifyingExtension.php#L213
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
static-analysis / PHPStan - PHP 8.3: src/Bridges/PhpStan/StaticMethodTypeSpecifyingExtension.php#L201
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
static-analysis / PHPStan - PHP 8.3: src/Bridges/PhpStan/StaticMethodTypeSpecifyingExtension.php#L97
Method CzProject\Assert\Bridges\PhpStan\StaticMethodTypeSpecifyingExtension::createExpression() should return PhpParser\Node\Expr|null but returns mixed.
static-analysis / PHPStan - PHP 8.3: src/Bridges/PhpStan/StaticMethodTypeSpecifyingExtension.php#L54
Creating new ReflectionObject is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine. Use objects retrieved from ReflectionProvider instead.
static-analysis / PHPStan - PHP 8.2
Process completed with exit code 1.
static-analysis / PHPStan - PHP 8.2: src/Bridges/PhpStan/StaticMethodTypeSpecifyingExtension.php#L213
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
static-analysis / PHPStan - PHP 8.2: src/Bridges/PhpStan/StaticMethodTypeSpecifyingExtension.php#L201
Doing instanceof PHPStan\Type\Constant\ConstantStringType is error-prone and deprecated. Use Type::getConstantStrings() instead.
static-analysis / PHPStan - PHP 8.2: src/Bridges/PhpStan/StaticMethodTypeSpecifyingExtension.php#L97
Method CzProject\Assert\Bridges\PhpStan\StaticMethodTypeSpecifyingExtension::createExpression() should return PhpParser\Node\Expr|null but returns mixed.
static-analysis / PHPStan - PHP 8.2: src/Bridges/PhpStan/StaticMethodTypeSpecifyingExtension.php#L54
Creating new ReflectionObject is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine. Use objects retrieved from ReflectionProvider instead.