Skip to content

Factory::fromClassReflection() refactoring #561

Factory::fromClassReflection() refactoring

Factory::fromClassReflection() refactoring #561

Triggered via push December 18, 2025 01:32
Status Success
Total duration 25s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/PhpGenerator/Factory.php#L128
Call to an undefined method ReflectionClass::isBacked().
PHPStan: src/PhpGenerator/Factory.php#L117
Call to an undefined method Nette\PhpGenerator\ClassLike::setProperties().
PHPStan: src/PhpGenerator/Factory.php#L94
Method Nette\PhpGenerator\Factory::populateMembers() has parameter $from with generic class ReflectionClass but does not specify its types: T
PHPStan: src/PhpGenerator/Factory.php#L89
Call to an undefined method Nette\PhpGenerator\ClassLike::setImplements().
PHPStan: src/PhpGenerator/Factory.php#L89
Call to an undefined method Nette\PhpGenerator\ClassLike::getImplements().
PHPStan: src/PhpGenerator/Factory.php#L88
Call to an undefined method Nette\PhpGenerator\ClassLike::setExtends().
PHPStan: src/PhpGenerator/Factory.php#L82
Call to an undefined method Nette\PhpGenerator\ClassLike::setImplements().
PHPStan: src/PhpGenerator/Factory.php#L80
Call to an undefined method Nette\PhpGenerator\ClassLike::setExtends().
PHPStan: src/PhpGenerator/Factory.php#L71
Method Nette\PhpGenerator\Factory::setupInheritance() has parameter $from with generic class ReflectionClass but does not specify its types: T
PHPStan: src/PhpGenerator/Factory.php#L48
Method Nette\PhpGenerator\Factory::createClassObject() has parameter $from with generic class ReflectionClass but does not specify its types: T