for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Leonidas\Plugin\Module;
use Leonidas\Contracts\Extension\ModuleInterface;
use Leonidas\Framework\Module\Abstracts\PluginSetupModule;
final class Setup extends PluginSetupModule implements ModuleInterface
{
protected function doActivatePluginAction(bool $networkWide): void
$networkWide
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
protected function doActivatePluginAction(/** @scrutinizer ignore-unused */ bool $networkWide): void
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
//
}
protected function doDeactivatePluginAction(bool $networkDeactivating): void
$networkDeactivating
protected function doDeactivatePluginAction(/** @scrutinizer ignore-unused */ bool $networkDeactivating): void
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.