Skip to content

Fix PHPStan issue with nette/component-model 3.1.0 #94

Fix PHPStan issue with nette/component-model 3.1.0

Fix PHPStan issue with nette/component-model 3.1.0 #94

Triggered via push March 20, 2024 09:10
Status Failure
Total duration 42s
Artifacts

phpstan.yml

on: push
Phpstan  /  Phpstan (8.1)
30s
Phpstan / Phpstan (8.1)
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
Phpstan / Phpstan (8.1): src/Multiplier.php#L239
Cannot call method create() on Contributte\FormMultiplier\Buttons\RemoveButton|null.
Phpstan / Phpstan (8.1): src/Multiplier.php#L320
Parameter #1 $array of function array_filter expects array, Iterator<int|string, Nette\ComponentModel\IComponent> given.
Phpstan / Phpstan (8.1): src/Multiplier.php#L392
Cannot call method getHttpData() on Nette\Forms\Form|null.
Phpstan / Phpstan (8.1): src/Multiplier.php#L399
Parameter #1 $array of function array_filter expects array, Iterator<int|string, Nette\ComponentModel\IComponent> given.
Phpstan / Phpstan (8.1): src/Multiplier.php#L435
Parameter #1 $array of function array_filter expects array, Iterator<int|string, Nette\ComponentModel\IComponent> given.
Phpstan / Phpstan (8.1)
Process completed with exit code 2.
Phpstan / Phpstan (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.