Failed Conditions
Pull Request — master (#188)
by
unknown
01:46
created
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/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.
src/Db/Json/JsonDriver.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/DonorQueryDecorator.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;
24 24
 
Please login to merge, or discard this patch.
src/Validator/PostalCodeValidator.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\Validator;
24 24
 
@@ -30,9 +30,9 @@  discard block
 block discarded – undo
30 30
 
31 31
     protected function getRule(): Rule
32 32
     {
33
-        return (new Rule)->msg('must be a numerical postal code')->pre(function (string $val) {
33
+        return (new Rule)->msg('must be a numerical postal code')->pre(function(string $val) {
34 34
             return str_replace([' ', "\n", "\r", "\t"], '', $val);
35
-        })->match(function (string $val) {
35
+        })->match(function(string $val) {
36 36
             return empty($val) || ctype_digit($val);
37 37
         });
38 38
     }
Please login to merge, or discard this patch.