Showing 11 of 1,021 total issues

Method _setOrAppend has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    protected function _setOrAppend($tag, $value = null, $encode = true, $append = false, $throwIfNotFound = true): void
Severity: Minor
Found in src/Template.php - About 35 mins to fix

Method addMenuButton has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function addMenuButton($button, $callback = null, $confirm = null, bool $isDisabled = false, $args = null)
Severity: Minor
Found in src/CardDeck.php - About 35 mins to fix

Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function __construct(View $context = null, Model\UserAction $action = null, $modelId = null, array $args = [], $stateContext = null)
Severity: Minor
Found in src/UserAction/JsEventExecutor.php - About 35 mins to fix

Method addJsPaginatorInContainer has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function addJsPaginatorInContainer($ipp, $containerHeight, $options = [], $container = null, $scrollRegion = 'Body')
Severity: Minor
Found in src/Grid.php - About 35 mins to fix

Method addModal has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function addModal($button, $defaults, \Closure $callback, $owner = null, $args = [])
Severity: Minor
Found in src/Table/Column/ActionButtons.php - About 35 mins to fix

Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function __construct($view, $args = [], $afterSuccess = null, $apiConfig = [], $includeStorage = false)
Severity: Minor
Found in src/JsReload.php - About 35 mins to fix

Method addSection has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function addSection(string $title = null, Model $model = null, array $fields = null, bool $useTable = false, bool $useLabel = false)
Severity: Minor
Found in src/Card.php - About 35 mins to fix

Avoid too many return statements within this method.
Open

        return $this;
Severity: Major
Found in src/Form.php - About 30 mins to fix

Avoid too many return statements within this method.
Open

            return $this->_mapComponent((new \ReflectionClass($fieldType))->getShortName());
Severity: Major
Found in src/Form/Control/Multiline.php - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return 'input';
Severity: Major
Found in src/Form/Control/Multiline.php - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return "<{$tag}" . ($tmp ? (' ' . implode(' ', $tmp)) : '') . $postfix . '>' . ($value !== null ? $value . "</{$tag}>" : '');
Severity: Major
Found in src/App.php - About 30 mins to fix
Severity
Category
Status
Source
Language