Update CS rules

This commit is contained in:
PJ Dietz 2020-08-10 07:30:04 -04:00
parent 002bdb7541
commit ff28f3c6eb
2 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,10 @@ return PhpCsFixer\Config::create()
->setFinder($finder)
->setRules([
'@PSR2' => true,
'align_multiline_comment' => true,
'array_syntax' => ['syntax' => 'short'],
'blank_line_after_opening_tag' => true,
'cast_spaces' => true,
'class_attributes_separation' => ['elements' => ['method']],
'single_quote' => true
]);

View File

@ -190,6 +190,7 @@ class HandlerDouble implements RequestHandlerInterface
{
/** @var ResponseInterface */
private $response;
public function __construct(ResponseInterface $response)
{
$this->response = $response;