Fix tests with nette/component-model 3.1.0 #49
phpstan.yml
on: pull_request
Phpstan
/
Phpstan (8.1)
34s
Annotations
10 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#L284
Method Contributte\FormMultiplier\Multiplier::getValues() has parameter $returnType with no type specified.
|
Phpstan / Phpstan (8.1):
src/Multiplier.php#L294
No error to ignore is reported on line 294.
|
Phpstan / Phpstan (8.1):
src/Multiplier.php#L389
Cannot call method getHttpData() on Nette\Forms\Form|null.
|
Phpstan / Phpstan (8.1):
src/Multiplier.php#L396
Parameter #1 $value of function count expects array|Countable, Iterator<int|string, Nette\ComponentModel\IComponent> given.
|
Phpstan / Phpstan (8.1):
src/Multiplier.php#L414
Expression on left side of ?? is not nullable.
|
Phpstan / Phpstan (8.1):
src/Multiplier.php#L432
If condition is always true.
|
Phpstan / Phpstan (8.1):
src/Multiplier.php#L433
Cannot call method getName() on Nette\ComponentModel\IComponent|false.
|
Phpstan / Phpstan (8.1):
src/Multiplier.php#L436
Unreachable statement - code above always terminates.
|
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/.
|