Skip to content
Triggered via push August 6, 2023 23:50
Status Success
Total duration 23s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/PhpGenerator/ClassLike.php#L1
Ignored error pattern #^Match expression does not handle remaining value\: true$# in path /home/runner/work/php-generator/php-generator/src/PhpGenerator/ClassLike.php was not matched in reported errors.
PHPStan: src/PhpGenerator/ClassLike.php#L77
Parameter #1 $class of method Nette\PhpGenerator\Printer::printClass() expects Nette\PhpGenerator\ClassType|Nette\PhpGenerator\EnumType|Nette\PhpGenerator\InterfaceType|Nette\PhpGenerator\TraitType, $this(Nette\PhpGenerator\ClassLike) given.
PHPStan: src/PhpGenerator/Extractor.php#L1
Ignored error pattern #^Access to an undefined property PhpParser\\Node\:\:\$attrGroups\.$# in path /home/runner/work/php-generator/php-generator/src/PhpGenerator/Extractor.php was not matched in reported errors.
PHPStan: src/PhpGenerator/Extractor.php#L1
Ignored error pattern #^Access to an undefined property PhpParser\\Node\\Expr\:\:\$value\.$# in path /home/runner/work/php-generator/php-generator/src/PhpGenerator/Extractor.php was not matched in reported errors.
PHPStan: src/PhpGenerator/Extractor.php#L1
Ignored error pattern #^Property class@anonymous/PhpGenerator/Extractor\.php\:176\:\:\$callback has no type specified\.$# in path /home/runner/work/php-generator/php-generator/src/PhpGenerator/Extractor.php was not matched in reported errors.
PHPStan: src/PhpGenerator/Extractor.php#L176
Property class@anonymous/PhpGenerator/Extractor.php:175::$callback has no type specified.
PHPStan: src/PhpGenerator/Factory.php#L1
Ignored error pattern #^Parameter \#1 \$name of method Nette\\PhpGenerator\\ClassType\:\:setExtends\(\) expects string\|null, array\<int, string\> given\.$# in path /home/runner/work/php-generator/php-generator/src/PhpGenerator/Factory.php was not matched in reported errors.
PHPStan: src/PhpGenerator/Factory.php#L45
Call to an undefined method ReflectionClass<object>::isEnum().
PHPStan: src/PhpGenerator/Factory.php#L59
Call to an undefined method ReflectionClass<object>::isReadOnly().
PHPStan: src/PhpGenerator/Factory.php#L69
Elseif condition is always false.