AJenbo/agcms

View on GitHub

Showing 1,189 of 1,190 total issues

Line exceeds 120 characters; contains 128 characters
Open

            'SELECT * FROM `users` WHERE `name` = ' . app(DbService::class)->quote($request->getRequestString('username') ?? '')

Line exceeds 120 characters; contains 130 characters
Open

            'SELECT * FROM `users` WHERE `id` = ' . $id . ' AND access != 0 AND password = ' . app(DbService::class)->quote($hash)

Line exceeds 120 characters; contains 126 characters
Open

            if ($orm->getOneByQuery(User::class, 'SELECT * FROM users WHERE name = ' . app(DbService::class)->quote($name))) {

Line exceeds 120 characters; contains 129 characters
Open

            . number_format($this->invoice->getNetAmount() * $this->invoice->getVat(), 2, localeconv()['mon_decimal_point'], '');

Line exceeds 120 characters; contains 146 characters
Open

                    if (($column->type === ColumnType::String || $column->type === ColumnType::Int) && !isset($attributeValues[$column->title])) {

Line exceeds 120 characters; contains 149 characters
Open

        $this->pdf->Cell(self::CELL_WIDTH_TOTAL, 9, number_format($this->invoice->getAmount(), 2, localeconv()['mon_decimal_point'], ''), 1, 1, 'R');

Line exceeds 120 characters; contains 130 characters
Open

        'blank_line_before_statement'                      => ['statements' => ['continue', 'declare', 'return', 'throw', 'try']],
Severity: Minor
Found in .php-cs-fixer.dist.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

        app(DbService::class)->query('DELETE FROM `bind` WHERE `side` = ' . $this->getId() . ' AND `kat` = ' . $category->getId());

Line exceeds 120 characters; contains 174 characters
Open

        $this->dsn = ConfigService::getString('db_dns') ?: 'mysql:dbname=' . ConfigService::getString('mysql_database') . ';host=' . ConfigService::getString('mysql_server');

Line exceeds 120 characters; contains 132 characters
Open

            return new JsonResponse(['id' => 'canvas', 'html' => app(RenderService::class)->render('admin/partial-search', $data)]);

Line exceeds 120 characters; contains 139 characters
Open

        return in_array($this->status, [InvoiceStatus::Canceled, InvoiceStatus::Accepted, InvoiceStatus::Giro, InvoiceStatus::Cash], true);

Line exceeds 120 characters; contains 135 characters
Open

        $this->pdf->Cell(self::CELL_WIDTH_TOTAL, 6, number_format($lineTotal, 2, localeconv()['mon_decimal_point'], ''), 'RL', 1, 'R');

Line exceeds 120 characters; contains 121 characters
Open

        $data['contacts'] = app(OrmService::class)->getByQuery(Contact::class, 'SELECT * FROM email ORDER BY ' . $order);

Line exceeds 120 characters; contains 127 characters
Open

        $app->addRoute('DELETE', '/admin/maintenance/files/missing/', MaintenanceController::class, 'removeNoneExistingFiles');
Severity: Minor
Found in application/inc/Routes.php by phpcodesniffer

Line exceeds 120 characters; contains 121 characters
Open

        $pages = app(OrmService::class)->getByQuery(Page::class, 'SELECT * FROM sider WHERE maerke = ' . $this->getId());

Line exceeds 120 characters; contains 180 characters
Open

                        if (isset($response->transactionInformationAry->TransactionInformationType) && is_array($response->transactionInformationAry->TransactionInformationType)) {

Line exceeds 120 characters; contains 121 characters
Open

        if (!$invoice->isHandled() && InvoiceStatus::PbsOk !== $invoice->getStatus() && !$request->query->has('txnid')) {

Line exceeds 120 characters; contains 129 characters
Open

                    . htmlspecialchars(json_encode($file->getPath(), JSON_THROW_ON_ERROR) ?: "''", ENT_COMPAT | ENT_XHTML) . ')';

Line exceeds 120 characters; contains 133 characters
Open

        $this->pdf->Write(0, _('Sincerely,') . "\n\n\n" . $this->invoice->getClerk() . "\n" . ConfigService::getString('site_name'));

Line exceeds 120 characters; contains 139 characters
Open

            if ($file->getWidth() <= ConfigService::getInt('thumb_width') && $file->getHeight() <= ConfigService::getInt('thumb_height')) {
Severity
Category
Status
Source
Language