From ff28f3c6eb4df03e02b4455616a37024fa8c64bd Mon Sep 17 00:00:00 2001 From: PJ Dietz Date: Mon, 10 Aug 2020 07:30:04 -0400 Subject: [PATCH] Update CS rules --- .php_cs.dist | 4 ++++ test/tests/unit/Dispatching/DispatcherTest.php | 1 + 2 files changed, 5 insertions(+) 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;