Failed Conditions
Pull Request — master (#1)
by
unknown
02:11
created
src/Filter/Email.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     public static function filter($value) : string
24 24
     {
25 25
         if (!is_string($value)) {
26
-            throw new FilterException("Value '" . var_export($value, true) . "' is not a string");
26
+            throw new FilterException("Value '".var_export($value, true)."' is not a string");
27 27
         }
28 28
 
29 29
         $filteredEmail = filter_var($value, FILTER_VALIDATE_EMAIL);
Please login to merge, or discard this patch.
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/Strings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     {
64 64
         if (empty($delimiter)) {
65 65
             throw new \InvalidArgumentException(
66
-                "Delimiter '" . var_export($delimiter, true) . "' is not a non-empty string"
66
+                "Delimiter '".var_export($delimiter, true)."' is not a non-empty string"
67 67
             );
68 68
         }
69 69
 
Please login to merge, or discard this patch.