Skip to content

Rename namespace to PHPUnitTestGenerator and update metadata. #5

Rename namespace to PHPUnitTestGenerator and update metadata.

Rename namespace to PHPUnitTestGenerator and update metadata. #5

Triggered via push November 1, 2024 14:33
Status Failure
Total duration 37s
Artifacts

ci.yaml

on: push
code-style
27s
code-style
Matrix: phpstan
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

18 errors
PHPStan on PHP 8.3 & lowest dependencies: lib/Command/GenerateTestClassCommand.php#L52
Parameter #1 $className of method PHPUnitTestGenerator\TestClassGenerator::generate() expects class-string, string given.
PHPStan on PHP 8.3 & lowest dependencies: lib/TestClassGenerator.php#L29
Property PHPUnitTestGenerator\TestClassGenerator::$reflectionClass with generic class ReflectionClass does not specify its types: T
PHPStan on PHP 8.3 & lowest dependencies: lib/TestClassMetadataParser.php#L24
Property PHPUnitTestGenerator\TestClassMetadataParser::$reflectionClass with generic class ReflectionClass does not specify its types: T
PHPStan on PHP 8.3 & lowest dependencies: lib/TestClassMetadataParser.php#L37
Parameter #1 $objectOrClass of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
PHPStan on PHP 8.3 & lowest dependencies: lib/TestClassMetadataParser.php#L89
Call to an undefined method ReflectionType::getName().
PHPStan on PHP 8.3 & lowest dependencies: lib/TestClassMetadataParser.php#L251
Call to an undefined method ReflectionType::getName().
PHPStan on PHP 8.3 & lowest dependencies: lib/TestClassMetadataParser.php#L274
Method PHPUnitTestGenerator\TestClassMetadataParser::generateTypeRandomValue() return type has no value type specified in iterable type array.
PHPStan on PHP 8.3 & lowest dependencies: lib/TestClassMetadataParser.php#L295
Call to an undefined method ReflectionType::isBuiltin().
PHPStan on PHP 8.3 & lowest dependencies
Process completed with exit code 1.
PHPStan on PHP 8.3 & highest dependencies: lib/Command/GenerateTestClassCommand.php#L52
Parameter #1 $className of method PHPUnitTestGenerator\TestClassGenerator::generate() expects class-string, string given.
PHPStan on PHP 8.3 & highest dependencies: lib/TestClassGenerator.php#L29
Property PHPUnitTestGenerator\TestClassGenerator::$reflectionClass with generic class ReflectionClass does not specify its types: T
PHPStan on PHP 8.3 & highest dependencies: lib/TestClassMetadataParser.php#L24
Property PHPUnitTestGenerator\TestClassMetadataParser::$reflectionClass with generic class ReflectionClass does not specify its types: T
PHPStan on PHP 8.3 & highest dependencies: lib/TestClassMetadataParser.php#L37
Parameter #1 $objectOrClass of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
PHPStan on PHP 8.3 & highest dependencies: lib/TestClassMetadataParser.php#L89
Call to an undefined method ReflectionType::getName().
PHPStan on PHP 8.3 & highest dependencies: lib/TestClassMetadataParser.php#L251
Call to an undefined method ReflectionType::getName().
PHPStan on PHP 8.3 & highest dependencies: lib/TestClassMetadataParser.php#L274
Method PHPUnitTestGenerator\TestClassMetadataParser::generateTypeRandomValue() return type has no value type specified in iterable type array.
PHPStan on PHP 8.3 & highest dependencies: lib/TestClassMetadataParser.php#L295
Call to an undefined method ReflectionType::isBuiltin().
PHPStan on PHP 8.3 & highest dependencies
Process completed with exit code 1.