Skip to content

Update Row.php

Update Row.php #392

Re-run triggered March 4, 2024 08:12
Status Failure
Total duration 35s
Artifacts

phpstan.yml

on: pull_request
Phpstan  /  Phpstan (8.1)
21s
Phpstan / Phpstan (8.1)
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
Phpstan / Phpstan (8.1): src/AggregationFunction/FunctionSum.php#L72
Property Ublaboo\DataGrid\AggregationFunction\FunctionSum::$result (int) does not accept bool|float|int|string|null.
Phpstan / Phpstan (8.1): src/Filter/SubmitButton.php#L48
Parameter #1 $caption (object|string) of method Ublaboo\DataGrid\Filter\SubmitButton::getControl() should be contravariant with parameter $caption (string|Stringable|null) of method Nette\Forms\Controls\Button::getControl()
Phpstan / Phpstan (8.1): src/Filter/SubmitButton.php#L50
Parameter #1 $caption of method Nette\Forms\Controls\Button::getControl() expects string|Stringable|null, object|string|null given.
Phpstan / Phpstan (8.1): src/Utils/ItemDetailForm.php#L82
Result of || is always false.
Phpstan / Phpstan (8.1): src/Utils/ItemDetailForm.php#L82
Strict comparison using === between Nette\Forms\Form and null will always evaluate to false.
Phpstan / Phpstan (8.1): src/Utils/ItemDetailForm.php#L82
Strict comparison using === between string and null will always evaluate to false.
Phpstan / Phpstan (8.1): src/Utils/ItemDetailForm.php#L102
Strict comparison using === between Nette\Forms\Form and null will always evaluate to false.
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/.