for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* YAWIK
* Auth Module Bootstrap
*
* @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
* @license MIT
*/
namespace Cv;
use Core\ModuleManager\Feature\VersionProviderInterface;
use Core\ModuleManager\Feature\VersionProviderTrait;
use Laminas\Mvc\MvcEvent;
* Bootstrap class of the Core module
class Module implements VersionProviderInterface
{
use VersionProviderTrait;
const VERSION = \Core\Module::VERSION;
* Loads module specific configuration.
* @return array
public function getConfig()
return include __DIR__ . '/../config/module.config.php';
}
public function onBootstrap(MvcEvent $e)
$e
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function onBootstrap(/** @scrutinizer ignore-unused */ MvcEvent $e)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.