NNTmux /
newznab-tmux
| 1 | <?php |
||||
| 2 | |||||
| 3 | declare(strict_types=1); |
||||
| 4 | |||||
| 5 | namespace App\Providers; |
||||
| 6 | |||||
| 7 | use App\Services\PostProcessService; |
||||
| 8 | use App\Services\ReleaseProcessingService; |
||||
|
0 ignored issues
–
show
|
|||||
| 9 | use Illuminate\Support\ServiceProvider; |
||||
| 10 | |||||
| 11 | class ProcessingServiceProvider extends ServiceProvider |
||||
| 12 | { |
||||
| 13 | /** |
||||
| 14 | * Register services. |
||||
| 15 | */ |
||||
| 16 | public function register(): void |
||||
| 17 | { |
||||
| 18 | $this->app->singleton(PostProcessService::class, function ($app) { |
||||
|
0 ignored issues
–
show
The parameter
$app is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. Loading history...
|
|||||
| 19 | return new PostProcessService(); |
||||
| 20 | }); |
||||
| 21 | |||||
| 22 | $this->app->singleton(ReleaseProcessingService::class, function ($app) { |
||||
|
0 ignored issues
–
show
The parameter
$app is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. Loading history...
|
|||||
| 23 | return new ReleaseProcessingService(); |
||||
| 24 | }); |
||||
| 25 | } |
||||
| 26 | |||||
| 27 | /** |
||||
| 28 | * Bootstrap services. |
||||
| 29 | */ |
||||
| 30 | public function boot(): void |
||||
| 31 | { |
||||
| 32 | // |
||||
| 33 | } |
||||
| 34 | } |
||||
| 35 | |||||
| 36 |
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.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths