used native PHP 8 functions #110
Annotations
10 errors
PHPStan:
src/Bridges/Latte/TexyExtension.php#L43
Generator expects value type Latte\Compiler\Node, array|null given.
|
PHPStan:
src/Bridges/Latte/TexyMacro.php#L1
Class Latte\Macros\MacroSet not found.
|
PHPStan:
src/Bridges/Latte/TexyNode.php#L43
Unsafe usage of new static().
|
PHPStan:
src/Bridges/Latte/TexyNode.php#L65
Method Texy\Bridges\Latte\TexyNode::create() should return static(Texy\Bridges\Latte\TexyNode) but returns Latte\Compiler\Nodes\TextNode.
|
PHPStan:
src/Texy.php#L12
If condition is always false.
|
PHPStan:
src/Texy/HtmlElement.php#L111
Method Texy\HtmlElement::el() should return static(Texy\HtmlElement) but returns Texy\HtmlElement.
|
PHPStan:
src/Texy/HtmlElement.php#L245
Method Texy\HtmlElement::create() should return static(Texy\HtmlElement) but returns Texy\HtmlElement.
|
PHPStan:
src/Texy/LineParser.php#L83
If condition is always false.
|
PHPStan:
src/Texy/Modules/HeadingModule.php#L116
Variable $top might not be defined.
|
PHPStan:
src/Texy/Modules/HeadingModule.php#L119
Variable $map might not be defined.
|