for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Taisiya\CoreBundle\Provider;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
use Slim\App;
abstract class ServiceProvider implements ServiceProviderInterface
{
/**
* @var App
*/
private $app;
* CoreServiceProvider constructor.
*
* @param App $app
public function __construct(App $app)
$this->app = $app;
}
public function register(Container $pimple)
$pimple['app'] = function (Container $pimple) {
$pimple
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return $this->app;
};
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.