for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Install GitHub App
<?php
namespace Backpack\CRUD\Tests\Config\CrudTrait;
use Backpack\CRUD\Tests\BaseTestClass;
abstract class BaseCrudTrait extends BaseTestClass
{
protected function getPackageAliases($app)
$app
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
protected function getPackageAliases(/** @scrutinizer ignore-unused */ $app)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
return [
'\App' => \Illuminate\Support\Facades\App::class,
'\Request' => \Illuminate\Support\Facades\Request::class,
];
}
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.