1 | <?php |
||||
2 | |||||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||||
3 | namespace Hhxsv5\LaravelS\Illuminate; |
||||
4 | |||||
5 | use Illuminate\Support\ServiceProvider; |
||||
0 ignored issues
–
show
The type
Illuminate\Support\ServiceProvider was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||||
6 | |||||
7 | class LaravelSServiceProvider extends ServiceProvider |
||||
0 ignored issues
–
show
|
|||||
8 | { |
||||
9 | public function boot() |
||||
0 ignored issues
–
show
|
|||||
10 | { |
||||
11 | $this->publishes([ |
||||
0 ignored issues
–
show
|
|||||
12 | __DIR__ . '/../../config/laravels.php' => base_path('config/laravels.php'), |
||||
0 ignored issues
–
show
The function
base_path was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||
13 | ]); |
||||
0 ignored issues
–
show
For multi-line function calls, the closing parenthesis should be on a new line.
If a function call spawns multiple lines, the coding standard suggests to move the closing parenthesis to a new line: someFunctionCall(
$firstArgument,
$secondArgument,
$thirdArgument
); // Closing parenthesis on a new line.
![]() |
|||||
14 | } |
||||
15 | |||||
16 | public function register() |
||||
0 ignored issues
–
show
|
|||||
17 | { |
||||
18 | $this->mergeConfigFrom( |
||||
19 | __DIR__ . '/../../config/laravels.php', 'laravels' |
||||
20 | ); |
||||
21 | |||||
22 | $this->commands([ |
||||
0 ignored issues
–
show
|
|||||
23 | LaravelSCommand::class, |
||||
24 | ListPropertiesCommand::class, |
||||
25 | ]); |
||||
0 ignored issues
–
show
For multi-line function calls, the closing parenthesis should be on a new line.
If a function call spawns multiple lines, the coding standard suggests to move the closing parenthesis to a new line: someFunctionCall(
$firstArgument,
$secondArgument,
$thirdArgument
); // Closing parenthesis on a new line.
![]() |
|||||
26 | } |
||||
27 | } |