Showing 1,792 of 1,794 total issues

Line exceeds 120 characters; contains 125 characters
Open

                    $this->getApp()->getTag('script', [], (new Jquery(new JsFunction([], $this->getJs())))->jsRender() . ';')
Severity: Minor
Found in src/VirtualPage.php by phpcodesniffer

Line exceeds 120 characters; contains 163 characters
Open

                } elseif (is_array($value)) { // todo, remove later and fix wrong usages, this is the original behaviour, only directly passed strings were escaped
Severity: Minor
Found in src/App.php by phpcodesniffer

Line exceeds 120 characters; contains 147 characters
Open

                $valueDecimals = strlen(preg_replace('~^[^.]$|^.+\.|0+$~s', '', number_format($value, max(0, 11 - (int) log10($value)), '.', '')));
Severity: Minor
Found in src/Persistence/Ui.php by phpcodesniffer

Line exceeds 120 characters; contains 129 characters
Open

                    if ($field->type === 'atk4_money' && $this->currency !== '' && substr_count($value, $this->currency) === 1) {
Severity: Minor
Found in src/Persistence/Ui.php by phpcodesniffer

Line exceeds 120 characters; contains 157 characters
Open

    /** @var array<string, \Closure<T of Model>(T): bool> Callbacks as defined in UserAction->enabled for evaluating row-specific if an action is enabled. */

Line exceeds 120 characters; contains 125 characters
Open

        // contain the column instance anymore but an array with column instance set at 0 indexes and the rest as decorators.
Severity: Minor
Found in src/Table.php by phpcodesniffer

Line exceeds 120 characters; contains 134 characters
Open

            Header::addTo($this, [$this->action->getCaption(), 'subHeader' => $this->description ?? $this->action->getDescription()]);

Line exceeds 120 characters; contains 168 characters
Open

    /** @var JsExpressionable|\Closure<T of Model>($this, T, mixed, mixed): ?JsBlock JS expression to return if action was successful, e.g "new JsToast('Thank you')" */

Line exceeds 120 characters; contains 121 characters
Open

 *  - ArgumentForm. Displays a form which is populated with arguments. When submitting the form, action will be executed.

Line exceeds 120 characters; contains 162 characters
Open

            new JsExpression('if (event.target === this) { event.stopImmediatePropagation(); [] }', [new JsBlock([$this->formElement->js()->trigger('submit')])]),
Severity: Minor
Found in src/Form.php by phpcodesniffer

Line exceeds 120 characters; contains 137 characters
Open

     * @param \Closure(string): (JsExpressionable|View|string|void) $fx         the callback function to execute when an item is selected
Severity: Minor
Found in src/Grid.php by phpcodesniffer

Line exceeds 120 characters; contains 155 characters
Open

        $this->invokeFxWithUrlArgs(function () { // backup/restore $this->args mutated in https://github.com/atk4/ui/blob/8926412a31/src/JsCallback.php#L71

Line exceeds 120 characters; contains 126 characters
Open

        $this->previousStepButton = Button::addTo($this->buttonsView, ['Previous'])->setStyle(['float' => 'left !important']);

Line exceeds 120 characters; contains 131 characters
Open

        return $this->getApp()->getTag('img/', ['src' => parent::getDataCellTemplate($field), 'alt' => $caption, 'border' => '0']);
Severity: Minor
Found in src/Table/Column/Image.php by phpcodesniffer

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/View.php by phpcodesniffer

Line exceeds 120 characters; contains 155 characters
Open

        } elseif ($action instanceof UserAction\ExecutorInterface || $action instanceof UserAction\SharedExecutor || $action instanceof Model\UserAction) {
Severity: Minor
Found in src/View.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

            $page[$key] = $this->getApp()->uiPersistence->typecastAttributeSaveField($row->getField($val), $row->get($val));
Severity: Minor
Found in src/Table/Column/Link.php by phpcodesniffer

Line exceeds 120 characters; contains 134 characters
Open

            set_error_handler(function (int $severity, string $msg, string $file, int $line) use ($createErrorExceptionArgsFx): bool {
Severity: Minor
Found in src/App.php by phpcodesniffer

Line exceeds 120 characters; contains 134 characters
Open

     * @param \Closure<TModel of Model, TField of Field>(TModel, TField|null): list<array<0|string, mixed>|Table\Column> $decoratorsFx

Line exceeds 120 characters; contains 127 characters
Open

        $type = preg_replace('~;.*~', '', strtolower($this->response->getHeaderLine('Content-Type'))); // in LC without charset
Severity: Minor
Found in src/App.php by phpcodesniffer
Severity
Category
Status
Source
Language