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\app\Library\Components;
/**
* This is a test class.
*/
class Page
{
public static function button(string|array $name)
$name
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public static function button(/** @scrutinizer ignore-unused */ string|array $name)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
}
* Undocumented function.
*
* @param string|array $input
* @return Field
public static function field(string|array $input)
return new BaseField($input);
return new Backpack\CRUD...nents\BaseField($input)
Backpack\CRUD\app\Library\Components\BaseField
Backpack\CRUD\app\Library\Components\Field
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.