Passed
Branch master (2ef000)
by Florian
04:32
created
phpunit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-include __DIR__.'/vendor/autoload.php';
2
+include __DIR__ . '/vendor/autoload.php';
3 3
 
4 4
 date_default_timezone_set('UTC');
5 5
 
Please login to merge, or discard this patch.
src/PaginationToCakeOrmMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  * @link          https://github.com/Phauthentic
11 11
  * @license       https://opensource.org/licenses/mit-license.php MIT License
12 12
  */
13
-declare(strict_types = 1);
13
+declare(strict_types=1);
14 14
 
15 15
 namespace Phauthentic\Pagination;
16 16
 
Please login to merge, or discard this patch.
src/PaginationService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  * @link          https://github.com/Phauthentic
11 11
  * @license       https://opensource.org/licenses/mit-license.php MIT License
12 12
  */
13
-declare(strict_types = 1);
13
+declare(strict_types=1);
14 14
 
15 15
 namespace Phauthentic\Pagination;
16 16
 
Please login to merge, or discard this patch.
src/PaginationServiceInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * Copyright (c) Phauthentic (https://github.com/Phauthentic)
5 5
  *
Please login to merge, or discard this patch.
src/PaginationToDoctrineMapper.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@
 block discarded – undo
31 31
      */
32 32
     public function map(PaginationParamsInterface $paginationParams, $repository) {
33 33
         $query = $repository
34
-           ->setFirstResult($paginationParams->getCurrentPage())
35
-           ->setMaxResults($paginationParams->getLimit());
34
+            ->setFirstResult($paginationParams->getCurrentPage())
35
+            ->setMaxResults($paginationParams->getLimit());
36 36
 
37 37
         return new Paginator($query, $fetchJoinCollection = true);
38 38
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  * @link          https://github.com/Phauthentic
11 11
  * @license       https://opensource.org/licenses/mit-license.php MIT License
12 12
  */
13
-declare(strict_types = 1);
13
+declare(strict_types=1);
14 14
 
15 15
 namespace Phauthentic\Pagination;
16 16
 
Please login to merge, or discard this patch.
src/PaginationParamsFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * Copyright (c) Phauthentic (https://github.com/Phauthentic)
5 5
  *
Please login to merge, or discard this patch.
src/PaginationToRepositoryMapperInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * Copyright (c) Phauthentic (https://github.com/Phauthentic)
5 5
  *
Please login to merge, or discard this patch.
src/PaginationParams.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * Copyright (c) Phauthentic (https://github.com/Phauthentic)
5 5
  *
Please login to merge, or discard this patch.
src/PaginationParamsFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * Copyright (c) Phauthentic (https://github.com/Phauthentic)
5 5
  *
Please login to merge, or discard this patch.