efureev/u.php

View on GitHub

Showing 114 of 114 total issues

Inline control structures are not allowed
Open

        if (!count($array)) return null;
Severity: Minor
Found in src/uArray.php by phpcodesniffer

Inline control structures are not allowed
Open

            if (strlen($m) === 1) $m = '0' . $m;
Severity: Minor
Found in src/uTime.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    ['dasdasdasda' => [
Severity: Minor
Found in index.php by phpcodesniffer

Line exceeds 120 characters; contains 132 characters
Open

     * Массив индексируем, если все ключи массива - цифры. Если `$consecutive` == true,
Severity: Minor
Found in src/uArray.php by phpcodesniffer

Inline control structures are not allowed
Open

        if (!file_exists($file))
Severity: Minor
Found in src/uFile.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'dw2asdasdasda'=>'true',
Severity: Minor
Found in index.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'dwa2sdasdasda'=>true,
Severity: Minor
Found in index.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'dwas3dasdasda'=>null,
Severity: Minor
Found in index.php by phpcodesniffer

Inline control structures are not allowed
Open

        if (!count($array)) return null;
Severity: Minor
Found in src/uArray.php by phpcodesniffer

Inline control structures are not allowed
Open

        if ($strip) $string = self::stripSpace($string);
Severity: Minor
Found in src/uString.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'dasdasdasda'=>32323,
Severity: Minor
Found in index.php by phpcodesniffer

Line exceeds 120 characters; contains 145 characters
Open

     * то масссив является ассоциативным, если хотя бы один ключ является строкой.
Severity: Minor
Found in src/uArray.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'dwasdasdasda'=>'32323',
Severity: Minor
Found in index.php by phpcodesniffer

Line exceeds 120 characters; contains 127 characters
Open

        return $returnAsString ? implode($separator, $rgbArray) : $rgbArray; // returns the rgb string or the associative array
Severity: Minor
Found in src/uColor.php by phpcodesniffer

Inline control structures are not allowed
Open

        if ($from == $to)
Severity: Minor
Found in src/uList.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    ]
Severity: Minor
Found in index.php by phpcodesniffer

Line exceeds 120 characters; contains 128 characters
Open

        return ($parseInfo['completed'] && ($parseInfo['isExists'] || $parseInfo['isString'])) ? $parseInfo['value'] : $default;
Severity: Minor
Found in src/uArray.php by phpcodesniffer

Inline control structures are not allowed
Open

        if ($startStr === '')
Severity: Minor
Found in src/uString.php by phpcodesniffer

Inline control structures are not allowed
Open

            if (strlen($h) === 1) $h = '0' . $h;
Severity: Minor
Found in src/uTime.php by phpcodesniffer

Inline control structures are not allowed
Open

        if ($alpha) $string = preg_replace('/[^a-zA-Z 0-9]+/', '', $string);
Severity: Minor
Found in src/uString.php by phpcodesniffer
Severity
Category
Status
Source
Language