Completed
Push — master ( f6b863...dc6b17 )
by Albert
02:31
created
web/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 use Nastoletni\Code\AppKernel;
6 6
 
Please login to merge, or discard this patch.
src/Slim/Handler/LoggingErrorHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nastoletni\Code\Slim\Handler;
6 6
 
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      * @param LoggerInterface $logger
28 28
      * @param callable|null   $nextHandler
29 29
      */
30
-    public function __construct(LoggerInterface $logger, ?callable $nextHandler = null)
30
+    public function __construct(LoggerInterface $logger, ? callable $nextHandler = null)
31 31
     {
32 32
         $this->logger = $logger;
33 33
         $this->nextHandler = $nextHandler;
Please login to merge, or discard this patch.
src/Slim/DecoratingCallableResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nastoletni\Code\Slim;
6 6
 
Please login to merge, or discard this patch.
src/Slim/Middleware/SymfonySessionMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nastoletni\Code\Slim\Middleware;
6 6
 
Please login to merge, or discard this patch.
src/Twig/SymfonyValidatorExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nastoletni\Code\Twig;
6 6
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      *
29 29
      * @return iterable
30 30
      */
31
-    public function error(string $field, ?ConstraintViolationListInterface $errors): iterable
31
+    public function error(string $field, ? ConstraintViolationListInterface $errors) : iterable
32 32
     {
33 33
         if (is_null($errors)) {
34 34
             return;
Please login to merge, or discard this patch.
src/UserInterface/Controller/AbstractController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nastoletni\Code\UserInterface\Controller;
6 6
 
Please login to merge, or discard this patch.
src/UserInterface/Web/Controller/PasteController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nastoletni\Code\UserInterface\Web\Controller;
6 6
 
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 use Nastoletni\Code\Application\Crypter\PasteCrypter;
9 9
 use Nastoletni\Code\Application\Form\CreatePasteFormValidator;
10 10
 use Nastoletni\Code\Application\Service\CreatePasteService;
11
+use Nastoletni\Code\Domain\PasteRepository;
11 12
 use Nastoletni\Code\Domain\Paste\Id;
12 13
 use Nastoletni\Code\Domain\Paste\NotExistsException;
13
-use Nastoletni\Code\Domain\PasteRepository;
14 14
 use Nastoletni\Code\UserInterface\Controller\AbstractController;
15 15
 use Psr\Http\Message\ResponseInterface as Response;
16 16
 use Psr\Http\Message\ServerRequestInterface as Request;
Please login to merge, or discard this patch.
src/Application/Service/CreatePasteService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nastoletni\Code\Application\Service;
6 6
 
Please login to merge, or discard this patch.
src/Application/Crypter/CrypterException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Nastoletni\Code\Application\Crypter;
6 6
 
Please login to merge, or discard this patch.