Issues (339)

config/uploadable.php (21 issues)

1
<?php
0 ignored issues
show
This file is missing a doc comment.
Loading history...
The PHP open tag does not have a corresponding PHP close tag
Loading history...
2
0 ignored issues
show
Missing file doc comment
Loading history...
3
use UniSharp\Uploadable\Plugins\ImagePlugin;
4
5
return [
0 ignored issues
show
Short array syntax is not allowed
Loading history...
6
    'use_image_orientate' => false,
0 ignored issues
show
This array key does not seem to be aligned correctly; expected 8 spaces, but found 4.
Loading history...
TRUE, FALSE and NULL should be uppercase as per the configured coding-style; instead of false please use FALSE.
Loading history...
7
    'thumbs' => [
0 ignored issues
show
This array key does not seem to be aligned correctly; expected 8 spaces, but found 4.
Loading history...
Short array syntax is not allowed
Loading history...
8
        's' => '96x96',
0 ignored issues
show
This array key does not seem to be aligned correctly; expected 17 spaces, but found 8.
Loading history...
9
        'm' => '256x256',
0 ignored issues
show
This array key does not seem to be aligned correctly; expected 17 spaces, but found 8.
Loading history...
10
        'l' => '480x480'
0 ignored issues
show
This array key does not seem to be aligned correctly; expected 17 spaces, but found 8.
Loading history...
11
    ],
0 ignored issues
show
The closing parenthesis does not seem to be aligned correctly; expected 16 space(s), but found 4.
Loading history...
12
    'plugins' => [
0 ignored issues
show
This array key does not seem to be aligned correctly; expected 8 spaces, but found 4.
Loading history...
Short array syntax is not allowed
Loading history...
13
        'image' => [
0 ignored issues
show
This array key does not seem to be aligned correctly; expected 18 spaces, but found 8.
Loading history...
Multi-line array contains a single value; use single-line array instead
Loading history...
Short array syntax is not allowed
Loading history...
14
            ImagePlugin::class
15
        ]
0 ignored issues
show
The closing parenthesis does not seem to be aligned correctly; expected 19 space(s), but found 8.
Loading history...
16
    ]
0 ignored issues
show
The closing parenthesis does not seem to be aligned correctly; expected 17 space(s), but found 4.
Loading history...
17
];
0 ignored issues
show
The closing parenthesis does not seem to be aligned correctly; expected 7 space(s), but found 0.
Loading history...
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
18