Completed
Pull Request — master (#182)
by
unknown
13:54 queued 11:41
created
src/Db/Json/JsonImportHistory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Db\Json;
24 24
 
Please login to merge, or discard this patch.
src/Db/Json/JsonDonorRepository.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@
 block discarded – undo
75 75
     }
76 76
 
77 77
     /**
78
-    * Implies working mandates, purgeable donors will not be found.
79
-    *
78
+     * Implies working mandates, purgeable donors will not be found.
79
+     *
80 80
      * @throws DonorDoesNotExistException If payer number does not exist
81 81
      */
82 82
     public function requireByPayerNumber(string $payerNumber): Donor
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Db\Json;
24 24
 
Please login to merge, or discard this patch.
src/Exception/ErrorCodeTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
                 . rtrim(
30 30
                     (string)preg_replace_callback(
31 31
                         '/[A-Z][a-z]+/',
32
-                        function (array $matches) {
32
+                        function(array $matches) {
33 33
                             return strtoupper($matches[0]) . '_';
34 34
                         },
35 35
                         (new \ReflectionClass($this))->getShortName()
Please login to merge, or discard this patch.
src/Listener/ImportHistoryListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Listener;
24 24
 
Please login to merge, or discard this patch.
src/Model/DonorCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Model;
24 24
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         }
46 46
 
47 47
         if (is_iterable($donors)) {
48
-            $this->factory = function () use ($donors) {
48
+            $this->factory = function() use ($donors) {
49 49
                 foreach ($donors as $donor) {
50 50
                     yield $donor;
51 51
                 }
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
     public function filter(FilterInterface $filter): DonorCollection
68 68
     {
69
-        return new DonorCollection(function () use ($filter) {
69
+        return new DonorCollection(function() use ($filter) {
70 70
             foreach ($this->getIterator() as $donor) {
71 71
                 if ($filter->filterDonor($donor)) {
72 72
                     yield $donor;
Please login to merge, or discard this patch.
src/Model/NewDonor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Model;
24 24
 
Please login to merge, or discard this patch.
src/Model/FileThatWasImported.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Model;
24 24
 
Please login to merge, or discard this patch.
src/Mapper/DonorMapper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Mapper;
24 24
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function findAll(): DonorCollection
86 86
     {
87
-        return new DonorCollection(function () {
87
+        return new DonorCollection(function() {
88 88
             foreach ($this->collection as $doc) {
89 89
                 yield $this->donorSchema->fromArray($doc);
90 90
             }
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      */
118 118
     public function findByPayerNumber(string $payerNumber): DonorCollection
119 119
     {
120
-        return new DonorCollection(function () use ($payerNumber) {
120
+        return new DonorCollection(function() use ($payerNumber) {
121 121
             foreach ($this->collection->find(y::doc(['payer_number' => y::equals($payerNumber)])) as $doc) {
122 122
                 yield $this->donorSchema->fromArray($doc);
123 123
             }
Please login to merge, or discard this patch.
src/Db/Json/JsonDriverFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Db\Json;
24 24
 
Please login to merge, or discard this patch.