Showing 1,792 of 1,794 total issues

Line exceeds 120 characters; contains 122 characters
Open

            if ($this->getSession()->evaluateScript($finishedScript, $args)) { // TODO wait() uses evaluateScript(), dedup
Severity: Minor
Found in src/Behat/Context.php by phpcodesniffer

Line exceeds 120 characters; contains 150 characters
Open

            throw new \Exception('Page contains element with invalid ID: ' . implode(', ', array_map(static fn ($v) => '"' . $v . '"', $invalidIds)));
Severity: Minor
Found in src/Behat/Context.php by phpcodesniffer

Line exceeds 120 characters; contains 133 characters
Open

            self::URL_QUERY_TRIGGER_PREFIX . $this->urlTrigger => $value ?? ($this->isTriggered() ? $this->getTriggeredValue() : ''),
Severity: Minor
Found in src/Callback.php by phpcodesniffer

Line exceeds 120 characters; contains 138 characters
Open

                    $this->outputHtmlWithoutPre('<div class="ui segment">{ex}</div>', ['ex' => $this->getApp()->renderExceptionHtml($e)]);
Severity: Minor
Found in src/Console.php by phpcodesniffer

Line exceeds 120 characters; contains 121 characters
Open

    /** @var list<array<string, \Closure(Form, UserAction\ModalExecutor): void>> Callback containers for model action. */
Severity: Minor
Found in src/Crud.php by phpcodesniffer

Line exceeds 120 characters; contains 135 characters
Open

                    $this->container->js(true, $item['item']->js()->on('click.atk_crud_item', new JsFunction([], $ex->jsExecute([]))));
Severity: Minor
Found in src/Crud.php by phpcodesniffer

Line exceeds 120 characters; contains 128 characters
Open

    /** @var list<string> Model no_record scope action to include in menu. Will include all no record scope actions if empty. */
Severity: Minor
Found in src/Crud.php by phpcodesniffer

Line exceeds 120 characters; contains 174 characters
Open

                    ? $this->js(false, null, 'tr[data-id="' . $this->getApp()->uiPersistence->typecastAttributeSaveField($this->model->getIdField(), $this->deletedId) . '"]')
Severity: Minor
Found in src/Crud.php by phpcodesniffer

Line exceeds 120 characters; contains 142 characters
Open

        foreach ($entity->getFields() as $field) { // @phpstan-ignore foreach.valueOverwrite (https://github.com/phpstan/phpstan/issues/11012)

Line exceeds 120 characters; contains 128 characters
Open

                'labels' => $this->labels !== [] ? $this->labels : null, // TODO do we need to really pass null for empty array?

Line exceeds 120 characters; contains 161 characters
Open

 * @phpstan-type JsCallbackSetClosure \Closure(Jquery, mixed, mixed, mixed, mixed, mixed, mixed, mixed, mixed, mixed, mixed): (JsExpressionable|View|string|void)
Severity: Minor
Found in src/Form/Control.php by phpcodesniffer

Line exceeds 120 characters; contains 186 characters
Open

        if (!$button->isInitialized()) { // TODO if should be replaced with new method like View::addOrAssertRegion() which will add the element and otherwise assert the owner and region
Severity: Minor
Found in src/Form/Control/Input.php by phpcodesniffer

Line exceeds 120 characters; contains 125 characters
Open

                'form' => new JsFunction([], [new JsExpression('return []', [$this->form->formElement->js()->serialize()])]),
Severity: Minor
Found in src/Form/Control/Lookup.php by phpcodesniffer

Line exceeds 120 characters; contains 154 characters
Open

        $entity = $model->tryLoadBy($field->getReference()->getTheirFieldName($model), $this->getApp()->uiPersistence->typecastLoadField($field, $value));

Line exceeds 120 characters; contains 145 characters
Open

            $this->scopeBuilderTemplate = new HtmlTemplate('<div {$attributes}><atk-query-builder v-bind="initData"></atk-query-builder></div>');

Line exceeds 120 characters; contains 129 characters
Open

            'value' => $this->getApp()->uiPersistence->typecastAttributeSaveField($row->getField($idField), $row->get($idField)),
Severity: Minor
Found in src/Form/Control/Lookup.php by phpcodesniffer

Inline control structures are not allowed
Open

        if ($this->revealEye && !$this->disabled) {

Line exceeds 120 characters; contains 159 characters
Open

 *   return $form->js(false, null, 'input[name="grand_total"]')->val($app->uiPersistence->typecastSaveField(new Field(['type' => 'atk4_money']), $grandTotal));

Line exceeds 120 characters; contains 138 characters
Open

                        : $createExprFromValueFx($entity->getModel()->getPersistence()->typecastSaveField($field, $field->get($entity)))),

Line exceeds 120 characters; contains 124 characters
Open

        return $this->getApp()->uiPersistence->typecastSaveField($this->entityField->getField(), $this->entityField->get());
Severity
Category
Status
Source
Language