EscolaLMS/topic-types

View on GitHub

Showing 313 of 313 total issues

Closing parenthesis of a multi-line function call must be on a line by itself
Open

        });

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                'hh5p_contents.user_id',

Space before opening parenthesis of function call prohibited
Open

                match (true) {
Severity: Minor
Found in src/Helpers/Markdown.php by phpcodesniffer

Whitespace found at end of line
Open

            $destDir = dirname($dest);           

Line indented incorrectly; expected 0 spaces, found 4
Open

    public const SCHEME_STRING_NAME = 'scheme';
Severity: Minor
Found in src/Helpers/Markdown.php by phpcodesniffer

Line indented incorrectly; expected 12 spaces, found 20
Open

                    default => $results[] = null,
Severity: Minor
Found in src/Helpers/Markdown.php by phpcodesniffer

Line indented incorrectly; expected 16 spaces, found 12
Open

            if (strpos($filepath, 'api/images/img') !== false) {
Severity: Minor
Found in src/Helpers/Markdown.php by phpcodesniffer

Line indented incorrectly; expected at least 20 spaces, found 16
Open

                return str_replace($match[2], $destination, $match[0]);
Severity: Minor
Found in src/Helpers/Markdown.php by phpcodesniffer

Expected 0 spaces before closing bracket; newline found
Open

            ->has(Lesson::factory()

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                'hh5p_contents.author',

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                'hh5p_contents.created_at',

Line indented incorrectly; expected 0 spaces, found 4
Open

    public const FRAGMENT_STRING_NAME = 'fragment';
Severity: Minor
Found in src/Helpers/Markdown.php by phpcodesniffer

Line indented incorrectly; expected 16 spaces, found 12
Open

            }
Severity: Minor
Found in src/Helpers/Markdown.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    public function getImagesPathsWithoutImageApi(string $input): string
Severity: Minor
Found in src/Helpers/Markdown.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    }
Severity: Minor
Found in src/Helpers/Markdown.php by phpcodesniffer

Line indented incorrectly; expected at least 20 spaces, found 16
Open

                parse_str($pattern[self::QUERY_STRING_NAME], $vars);
Severity: Minor
Found in src/Helpers/Markdown.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 4
Open

    public const USER_STRING_NAME = 'user';
Severity: Minor
Found in src/Helpers/Markdown.php by phpcodesniffer

Line indented incorrectly; expected at least 16 spaces, found 12
Open

            $info = getimagesize(Storage::path($destination));
Severity: Minor
Found in src/Helpers/Markdown.php by phpcodesniffer

Line indented incorrectly; expected at least 12 spaces, found 8
Open

        return [$filepath, $destination];
Severity: Minor
Found in src/Helpers/Markdown.php by phpcodesniffer

Closing brace indented incorrectly; expected 4 spaces, found 0
Open

}
Severity: Minor
Found in src/Helpers/Markdown.php by phpcodesniffer
Severity
Category
Status
Source
Language