Skip to content

New decorator implementation #27

New decorator implementation

New decorator implementation #27

Triggered via pull request May 23, 2025 07:26
Status Success
Total duration 34s
Artifacts

phpstan.yml

on: pull_request
Matrix: phpstan / phpstan
Fit to window
Zoom out
Zoom in

Annotations

30 errors
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Error.php#L95
PHPDoc tag @param has invalid value (string): Unexpected token "\n * ", expected variable at offset 24 on line 2
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Error.php#L0
Ignored error pattern #^PHPDoc tag @param has invalid value \(string\)\: Unexpected token "\\n \* ", expected variable at offset 24$# in path /home/runner/work/ipl-html/ipl-html/src/Error.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/DeferredText.php#L111
Parameter #1 $content of static method ipl\Html\Html::escape() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/DeferredText.php#L109
Method ipl\Html\DeferredText::render() should return string but returns mixed.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Attributes.php#L489
Parameter #2 $value of method ipl\Html\Attributes::set() expects array|bool|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Attributes.php#L250
Parameter #2 $value of method ipl\Html\Attributes::add() expects array|bool|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Attributes.php#L202
Ignored error pattern #^Parameter \#2 \$value of method ipl\\Html\\Attributes\:\:set\(\) expects array\|bool\|string\|null, mixed given\.$# in path /home/runner/work/ipl-html/ipl-html/src/Attributes.php is expected to occur 1 time, but occurred 2 times.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Attributes.php#L52
Parameter #2 $value of method ipl\Html\Attributes::add() expects array|bool|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Attributes.php#L52
Parameter #1 $attribute of method ipl\Html\Attributes::add() expects array|ipl\Html\Attribute|ipl\Html\Attributes|string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Attributes.php#L50
Parameter #2 $value of method ipl\Html\Attributes::add() expects array|bool|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Error.php#L95
PHPDoc tag @param has invalid value (string): Unexpected token "\n * ", expected variable at offset 24 on line 2
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Error.php#L0
Ignored error pattern #^PHPDoc tag @param has invalid value \(string\)\: Unexpected token "\\n \* ", expected variable at offset 24$# in path /home/runner/work/ipl-html/ipl-html/src/Error.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/DeferredText.php#L111
Parameter #1 $content of static method ipl\Html\Html::escape() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/DeferredText.php#L109
Method ipl\Html\DeferredText::render() should return string but returns mixed.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Attributes.php#L489
Parameter #2 $value of method ipl\Html\Attributes::set() expects array|bool|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Attributes.php#L250
Parameter #2 $value of method ipl\Html\Attributes::add() expects array|bool|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Attributes.php#L202
Ignored error pattern #^Parameter \#2 \$value of method ipl\\Html\\Attributes\:\:set\(\) expects array\|bool\|string\|null, mixed given\.$# in path /home/runner/work/ipl-html/ipl-html/src/Attributes.php is expected to occur 1 time, but occurred 2 times.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Attributes.php#L52
Parameter #2 $value of method ipl\Html\Attributes::add() expects array|bool|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Attributes.php#L52
Parameter #1 $attribute of method ipl\Html\Attributes::add() expects array|ipl\Html\Attribute|ipl\Html\Attributes|string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Attributes.php#L50
Parameter #2 $value of method ipl\Html\Attributes::add() expects array|bool|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/DeferredText.php#L111
Parameter #1 $content of static method ipl\Html\Html::escape() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/DeferredText.php#L109
Method ipl\Html\DeferredText::render() should return string but returns mixed.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Attributes.php#L489
Parameter #2 $value of method ipl\Html\Attributes::set() expects array|bool|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Attributes.php#L250
Parameter #2 $value of method ipl\Html\Attributes::add() expects array|bool|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Attributes.php#L202
Ignored error pattern #^Parameter \#2 \$value of method ipl\\Html\\Attributes\:\:set\(\) expects array\|bool\|string\|null, mixed given\.$# in path /home/runner/work/ipl-html/ipl-html/src/Attributes.php is expected to occur 1 time, but occurred 2 times.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Attributes.php#L64
Deprecated in PHP 8.4: Parameter #1 $attributes (array) is implicitly nullable via default value null.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Attributes.php#L52
Parameter #2 $value of method ipl\Html\Attributes::add() expects array|bool|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Attributes.php#L52
Parameter #1 $attribute of method ipl\Html\Attributes::add() expects array|ipl\Html\Attribute|ipl\Html\Attributes|string, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Attributes.php#L50
Parameter #2 $value of method ipl\Html\Attributes::add() expects array|bool|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Attributes.php#L40
Deprecated in PHP 8.4: Parameter #1 $attributes (array) is implicitly nullable via default value null.