for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Broadcast;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
Broadcast::routes();
require base_path('routes/channels.php');
base_path
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
require /** @scrutinizer ignore-call */ base_path('routes/channels.php');
}