for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace SolumDeSignum\Scenarios;
use function config_path;
config_path
use Illuminate\Support\ServiceProvider;
class ScenariosServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application events.
*
* @return void
*/
public function boot(): void
if ($this->app->runningInConsole()) {
$this->publishes(
[
__DIR__.'/../config/scenarios.php' => config_path(
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
__DIR__.'/../config/scenarios.php' => /** @scrutinizer ignore-call */ config_path(
'scenarios.php'
),
],
'config'
);
}
* Register the application services.
public function register(): void
$this->mergeConfigFrom(
__DIR__.'/../config/scenarios.php',
'scenarios'