for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* File copied from Waavi/Sanitizer https://github.com/waavi/sanitizer
* Sanitization functionality to be customized within this project before a 1.0 release.
*/
namespace PerfectOblivion\Valid\Sanitizer\Laravel;
use Illuminate\Support\ServiceProvider;
class SanitizerServiceProvider extends ServiceProvider
{
* Register the service provider.
public function register()
$this->app->singleton('sanitizer', function ($app) {
$app
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return new Factory;
});
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.