mambax7/cardealer

View on GitHub
include/common.php

Summary

Maintainability
A
0 mins
Test Coverage

A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 63 and the first side effect is on line 27.
Open

<?php
Severity: Minor
Found in include/common.php by phpcodesniffer

Line exceeds 120 characters; contains 144 characters
Open

    define($moduleDirNameUpper . '_CAT_IMAGES_URL', XOOPS_UPLOAD_URL . ' / ' . constant($moduleDirNameUpper . '_DIRNAME') . '/images/category');
Severity: Minor
Found in include/common.php by phpcodesniffer

Line exceeds 120 characters; contains 148 characters
Open

    define($moduleDirNameUpper . '_CAT_IMAGES_PATH', XOOPS_UPLOAD_PATH . '/' . constant($moduleDirNameUpper . '_DIRNAME') . ' / images / category');
Severity: Minor
Found in include/common.php by phpcodesniffer

There are no issues that match your filters.

Category
Status