mambax7/cardealer

View on GitHub

Showing 664 of 664 total issues

Line exceeds 120 characters; contains 134 characters
Open

        $this->addElement(new \XoopsFormText(AM_CARDEALER_PART_STOCK, 'stock', 50, 255, $this->targetObject->getVar('stock')), false);
Severity: Minor
Found in class/Form/PartForm.php by phpcodesniffer

Line exceeds 120 characters; contains 123 characters
Open

        $fileseltray->addElement(new \XoopsFormFile(AM_CARDEALER_FORMUPLOAD, 'picture', xoops_getModuleOption('maxsize')));
Severity: Minor
Found in class/Form/PartForm.php by phpcodesniffer

Line exceeds 120 characters; contains 160 characters
Open

        $this->addElement(new \XoopsFormTextDateSelect(AM_CARDEALER_WORKORDER_ORDERDATE, 'orderdate', '', strtotime($this->targetObject->getVar('orderdate'))));
Severity: Minor
Found in class/Form/WorkorderForm.php by phpcodesniffer

Line exceeds 120 characters; contains 236 characters
Open

        $downloads = ini_get('file_uploads') ? '<span style="color: #008000;">' . constant('CO_' . $moduleDirNameUpper . '_ON') . '</span>' : '<span style="color: #ff0000;">' . constant('CO_' . $moduleDirNameUpper . '_OFF') . '</span>';
Severity: Minor
Found in class/Common/ServerStats.php by phpcodesniffer

Line exceeds 120 characters; contains 184 characters
Open

                $descEditor = new \XoopsFormEditor(AM_CARDEALER_CUSTOMER_CUSTADDR, $helper->getConfig('cardealerEditorUser'), $editorOptions, $nohtml = false, $onfailure = 'textarea');
Severity: Minor
Found in class/Form/CustomerForm.php by phpcodesniffer

Line exceeds 120 characters; contains 165 characters
Open

            $descEditor = new \XoopsFormDhtmlTextArea(AM_CARDEALER_PART_DESCRIPTION, 'description', $this->targetObject->getVar('description', 'e'), '100%', '100%');
Severity: Minor
Found in class/Form/PartForm.php by phpcodesniffer

Line exceeds 120 characters; contains 129 characters
Open

        $part_id_select = new \XoopsFormSelect(AM_CARDEALER_SERVPART_PARTNUM, 'partnum', $this->targetObject->getVar('partnum'));
Severity: Minor
Found in class/Form/ServpartForm.php by phpcodesniffer

Line exceeds 120 characters; contains 168 characters
Open

        $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_MAXUPLOADSIZE') . ' <b><span style="color: blue;">' . ini_get('upload_max_filesize') . '</span></b>';
Severity: Minor
Found in class/Common/ServerStats.php by phpcodesniffer

Line exceeds 120 characters; contains 142 characters
Open

        $imageselect->setExtra("onchange='showImgSelected(\"image_picture\", \"picture\", \"" . $uploadDir . '", "", "' . XOOPS_URL . "\")'");
Severity: Minor
Found in class/Form/PartForm.php by phpcodesniffer

Line exceeds 120 characters; contains 137 characters
Open

        $this->addElement(new \XoopsFormText(AM_CARDEALER_SERVICE_TITLE, 'title', 50, 255, $this->targetObject->getVar('title')), false);
Severity: Minor
Found in class/Form/ServiceForm.php by phpcodesniffer

Line exceeds 120 characters; contains 132 characters
Open

        $service_id_select = new \XoopsFormSelect(AM_CARDEALER_SERVPART_ITEMNUM, 'itemnum', $this->targetObject->getVar('itemnum'));
Severity: Minor
Found in class/Form/ServpartForm.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

        $fileseltray->addElement(new \XoopsFormFile(AM_CARDEALER_FORMUPLOAD, 'pictures', xoops_getModuleOption('maxsize')));
Severity: Minor
Found in class/Form/VehicleForm.php by phpcodesniffer

Line exceeds 120 characters; contains 134 characters
Open

        $customer_id_select = new \XoopsFormSelect(AM_CARDEALER_WORKORDER_CUSTNUM, 'custnum', $this->targetObject->getVar('custnum'));
Severity: Minor
Found in class/Form/WorkorderForm.php by phpcodesniffer

Line exceeds 120 characters; contains 176 characters
Open

        $imgtray->addElement(new \XoopsFormLabel('', "<br><img src='" . XOOPS_URL . '/' . $uploadDir . '/' . $picture . "' name='image_picture' id='image_picture' alt='' />"));
Severity: Minor
Found in class/Form/PartForm.php by phpcodesniffer

Line exceeds 120 characters; contains 186 characters
Open

                $descEditor = new \XoopsFormEditor(AM_CARDEALER_SERVICE_DESCRIPTION, $helper->getConfig('cardealerEditorUser'), $editorOptions, $nohtml = false, $onfailure = 'textarea');
Severity: Minor
Found in class/Form/ServiceForm.php by phpcodesniffer

Line exceeds 120 characters; contains 176 characters
Open

        $form .= "<option value='" . $id . "' " . (false === in_array($id, $options) ? '' : "selected='selected'") . '>' . $workorderArray[$i]->getVar('custnum') . '</option>';
Severity: Minor
Found in blocks/workorder.php by phpcodesniffer

Line exceeds 120 characters; contains 137 characters
Open

        $this->addElement(new \XoopsFormText(AM_CARDEALER_SERVICE_LABOR, 'labor', 50, 255, $this->targetObject->getVar('labor')), false);
Severity: Minor
Found in class/Form/ServiceForm.php by phpcodesniffer

Line exceeds 120 characters; contains 159 characters
Open

        $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_MEMORYLIMIT') . ' <b><span style="color: blue;">' . ini_get('memory_limit') . '</span></b>';
Severity: Minor
Found in class/Common/ServerStats.php by phpcodesniffer

Don't use IDs in selectors.
Open

#about label {
Severity: Minor
Found in assets/css/style.css by csslint

Rule doesn't have all its properties in alphabetical order.
Open

div.outer {
Severity: Minor
Found in assets/css/style.css by csslint
Severity
Category
Status
Source
Language