for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Fesor\RequestObject\Tests\Fixtures;
use Symfony\Component\HttpFoundation\Request;
class ExampleRequestMapper
{
public function someSetterForService(string $someParameter)
$someParameter
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
// do nothing
}
public function exampleMapper(Request $request): ExampleRequestObject
$request
return new ExampleRequestObject();
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.