diff --git a/.php_cs.dist b/.php_cs.dist index e5c0d64..2f69e56 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -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 ]); diff --git a/test/tests/unit/Dispatching/DispatcherTest.php b/test/tests/unit/Dispatching/DispatcherTest.php index 63c6019..fd7e712 100644 --- a/test/tests/unit/Dispatching/DispatcherTest.php +++ b/test/tests/unit/Dispatching/DispatcherTest.php @@ -190,6 +190,7 @@ class HandlerDouble implements RequestHandlerInterface { /** @var ResponseInterface */ private $response; + public function __construct(ResponseInterface $response) { $this->response = $response;