Completed
Push — master ( 038d63...2823b8 )
by Chad
22s
created
tests/Filter/StringsTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
 
169 169
             public function __construct()
170 170
             {
171
-                $this->data = [1,2,3,4,5];
171
+                $this->data = [1, 2, 3, 4, 5];
172 172
             }
173 173
 
174 174
             public function __toString()
Please login to merge, or discard this patch.
src/Filter/Email.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     private static function validateString($value)
40 40
     {
41 41
         if (!is_string($value)) {
42
-            throw new FilterException("Value '" . var_export($value, true) . "' is not a string");
42
+            throw new FilterException("Value '".var_export($value, true)."' is not a string");
43 43
         }
44 44
     }
45 45
 }
Please login to merge, or discard this patch.
src/Filter/Url.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     private static function validateString($value)
40 40
     {
41 41
         if (!is_string($value)) {
42
-            throw new FilterException("Value '" . var_export($value, true) . "' is not a string");
42
+            throw new FilterException("Value '".var_export($value, true)."' is not a string");
43 43
         }
44 44
     }
45 45
 }
Please login to merge, or discard this patch.
src/Filter/Strings.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 
65 65
         if (empty($delimiter)) {
66 66
             throw new \InvalidArgumentException(
67
-                "Delimiter '" . var_export($delimiter, true) . "' is not a non-empty string"
67
+                "Delimiter '".var_export($delimiter, true)."' is not a non-empty string"
68 68
             );
69 69
         }
70 70
 
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     private static function validateIfObjectIsAString($value)
126 126
     {
127 127
         if (!is_string($value)) {
128
-            throw new FilterException("Value '" . var_export($value, true) . "' is not a string");
128
+            throw new FilterException("Value '".var_export($value, true)."' is not a string");
129 129
         }
130 130
     }
131 131
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     {
134 134
         try {
135 135
             $value = (
136
-                function (string $str) : string {
136
+                function(string $str) : string {
137 137
                     return $str;
138 138
                 }
139 139
             )($value);
Please login to merge, or discard this patch.