Skip to content

Change "isDisabled" to "isEnabled" for actions everywhere #33859

Change "isDisabled" to "isEnabled" for actions everywhere

Change "isDisabled" to "isEnabled" for actions everywhere #33859

Triggered via pull request November 25, 2024 21:46
Status Failure
Total duration 16m 32s
Artifacts

test-unit.yml

on: pull_request
Matrix: Behat
Matrix: Smoke
Matrix: Unit
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Smoke (latest, StaticAnalysis): src/Grid.php#L355
Default value of the parameter #4 $isEnabled (true) of method Atk4\Ui\Grid::addActionButton() is incompatible with type null.
Smoke (latest, StaticAnalysis): src/Grid.php#L378
Parameter #4 $isEnabled of method Atk4\Ui\Table\Column\ActionButtons::addButton() expects null, bool|(Closure) given.
Smoke (latest, StaticAnalysis): src/Grid.php#L400
Default value of the parameter #4 $isEnabled (true) of method Atk4\Ui\Grid::addActionMenuItem() is incompatible with type null.
Smoke (latest, StaticAnalysis): src/Grid.php#L418
Parameter #4 $isEnabled of method Atk4\Ui\Table\Column\ActionMenu::addActionMenuItem() expects null, bool|(Closure) given.
Smoke (latest, StaticAnalysis): src/Grid.php#L502
Default value of the parameter #5 $isEnabled (true) of method Atk4\Ui\Grid::addModalAction() is incompatible with type null.
Smoke (latest, StaticAnalysis): src/Table/Column/ActionButtons.php#L49
Default value of the parameter #4 $isEnabled (true) of method Atk4\Ui\Table\Column\ActionButtons::addButton() is incompatible with type null.
Smoke (latest, StaticAnalysis): src/Table/Column/ActionButtons.php#L63
Strict comparison using === between null and false will always evaluate to false.
Smoke (latest, StaticAnalysis): src/Table/Column/ActionButtons.php#L99
Default value of the parameter #6 $isEnabled (true) of method Atk4\Ui\Table\Column\ActionButtons::addModal() is incompatible with type null.
Smoke (latest, StaticAnalysis): src/Table/Column/ActionMenu.php#L63
Default value of the parameter #4 $isEnabled (true) of method Atk4\Ui\Table\Column\ActionMenu::addActionMenuItem() is incompatible with type null.
Smoke (latest, StaticAnalysis): src/Table/Column/ActionMenu.php#L78
Strict comparison using === between null and false will always evaluate to false.
Smoke (latest, CodingStyle)
Process completed with exit code 8.