Update CS rules
This commit is contained in:
parent
002bdb7541
commit
ff28f3c6eb
|
|
@ -9,6 +9,10 @@ return PhpCsFixer\Config::create()
|
||||||
->setFinder($finder)
|
->setFinder($finder)
|
||||||
->setRules([
|
->setRules([
|
||||||
'@PSR2' => true,
|
'@PSR2' => true,
|
||||||
|
'align_multiline_comment' => true,
|
||||||
'array_syntax' => ['syntax' => 'short'],
|
'array_syntax' => ['syntax' => 'short'],
|
||||||
|
'blank_line_after_opening_tag' => true,
|
||||||
|
'cast_spaces' => true,
|
||||||
|
'class_attributes_separation' => ['elements' => ['method']],
|
||||||
'single_quote' => true
|
'single_quote' => true
|
||||||
]);
|
]);
|
||||||
|
|
|
||||||
|
|
@ -190,6 +190,7 @@ class HandlerDouble implements RequestHandlerInterface
|
||||||
{
|
{
|
||||||
/** @var ResponseInterface */
|
/** @var ResponseInterface */
|
||||||
private $response;
|
private $response;
|
||||||
|
|
||||||
public function __construct(ResponseInterface $response)
|
public function __construct(ResponseInterface $response)
|
||||||
{
|
{
|
||||||
$this->response = $response;
|
$this->response = $response;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue