Issues (339)

src/Providers/UploadableServiceProvider.php (20 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...
Filename "UploadableServiceProvider.php" doesn't match the expected filename "uploadableserviceprovider.php"
Loading history...
2
0 ignored issues
show
Missing file doc comment
Loading history...
3
namespace UniSharp\Uploadable\Providers;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class UploadableServiceProvider extends ServiceProvider
0 ignored issues
show
Coding Style Documentation introduced by
Missing class doc comment
Loading history...
8
{
0 ignored issues
show
Opening brace should be on the same line as the declaration for class UploadableServiceProvider
Loading history...
9
    /**
10
     * Boot the services for the application.
11
     *
12
     * @return void
13
     */
14
    public function boot()
0 ignored issues
show
Expected 2 blank lines before function; 0 found
Loading history...
15
    {
0 ignored issues
show
Opening brace should be on the same line as the declaration
Loading history...
16
        $this->mergeConfigFrom(__DIR__ . '/../../config/uploadable.php', 'uploadable');
0 ignored issues
show
Concat operator must not be surrounded by spaces
Loading history...
17
        $this->loadMigrationsFrom(__DIR__ . '/../../database/migrations');
0 ignored issues
show
Concat operator must not be surrounded by spaces
Loading history...
18
    }
0 ignored issues
show
Expected 2 blank lines after function; 1 found
Loading history...
Expected 1 blank line before closing function brace; 0 found
Loading history...
Expected //end boot()
Loading history...
19
20
    /**
21
     * Register any application services.
22
     *
23
     * @return void
24
     */
25
    public function register()
26
    {
0 ignored issues
show
Opening brace should be on the same line as the declaration
Loading history...
27
        //
0 ignored issues
show
Blank comments are not allowed
Loading history...
28
    }
0 ignored issues
show
Expected 2 blank lines after function; 0 found
Loading history...
Expected 1 blank line before closing function brace; 0 found
Loading history...
Expected //end register()
Loading history...
29
}
0 ignored issues
show
Expected //end class
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...
30