mambax7/gbook

View on GitHub

Showing 307 of 307 total issues

Line exceeds 120 characters; contains 163 characters
Open

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

Line exceeds 120 characters; contains 124 characters
Open

    public static function truncateHtml($text, $length = 100, $ending = '...', $exact = false, $considerHtml = true): string
Severity: Minor
Found in class/Common/SysUtility.php by phpcodesniffer

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

.gbook-title {
Severity: Minor
Found in assets/css/gbook.css by csslint

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

.gbook-entry {
Severity: Minor
Found in assets/css/gbook.css by csslint

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

.gbook-sign {
Severity: Minor
Found in assets/css/gbook.css by csslint

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

.gbook-note {
Severity: Minor
Found in assets/css/gbook.css by csslint

Closing brace indented incorrectly; expected 8 spaces, found 12
Open

            } elseif (\getenv('REMOTE_ADDR')) {
Severity: Minor
Found in class/Utility.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 16
Open

                }
Severity: Minor
Found in class/Utility.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        if (0 !== strncmp($prefix, $class, $len)) {
Severity: Minor
Found in preloads/autoloader.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        if (is_file($file)) {
Severity: Minor
Found in preloads/autoloader.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        }
Severity: Minor
Found in preloads/autoloader.php by phpcodesniffer

Opening brace should be on a new line
Open

function clearSampleData(){
Severity: Minor
Found in testdata/index.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 4
Open

    }
Severity: Minor
Found in preloads/autoloader.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 4
Open

    static function ($class) {
Severity: Minor
Found in preloads/autoloader.php by phpcodesniffer

Closing brace indented incorrectly; expected 12 spaces, found 16
Open

                }
Severity: Minor
Found in class/Utility.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        }
Severity: Minor
Found in preloads/autoloader.php by phpcodesniffer

Whitespace found at end of line
Open

        // copy content of the record you wish to clone 
Severity: Minor
Found in class/Common/SysUtility.php by phpcodesniffer

No space found after comma in function call
Open

\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_FILE_SIZE_DSC','The maximum file size of the image file (in Bytes)');
Severity: Minor
Found in language/english/common.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 12
Open

            } elseif (\getenv('REMOTE_ADDR')) {
Severity: Minor
Found in class/Utility.php by phpcodesniffer

Whitespace found at end of line
Open

        // insert cloned copy of the original  record 
Severity: Minor
Found in class/Common/SysUtility.php by phpcodesniffer
Severity
Category
Status
Source
Language