Completed
Push — master ( 7d74eb...d218a1 )
by Hannes
01:21
created
src/Rule.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
      */
40 40
     public function __construct()
41 41
     {
42
-        $this->onException(function (\Exception $exception) {
42
+        $this->onException(function(\Exception $exception) {
43 43
             throw new Exception(sprintf($this->exceptionMessage, $exception->getMessage()), 0, $exception);
44 44
         });
45 45
     }
Please login to merge, or discard this patch.
src/ArrayValidator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     public function __construct(array $validators = [])
28 28
     {
29 29
         foreach ($validators as $name => $validator) {
30
-            $this->addValidator((string)$name, $validator);
30
+            $this->addValidator((string) $name, $validator);
31 31
         }
32 32
     }
33 33
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                     isset($tainted[$name]) ? $tainted[$name] : null
69 69
                 );
70 70
             } catch (Exception $exception) {
71
-                $exception->pushValidatorName((string)$name);
71
+                $exception->pushValidatorName((string) $name);
72 72
                 $this->fireException($exception);
73 73
             } catch (\Exception $exception) {
74 74
                 $this->fireException($exception);
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
         if (!$this->ignoreUnknown && $diff = array_diff_key($tainted, $this->validators)) {
79 79
             $this->fireException(
80
-                new Exception('Unknown input item(s): ' . implode(array_keys($diff), ', '))
80
+                new Exception('Unknown input item(s): '.implode(array_keys($diff), ', '))
81 81
             );
82 82
         }
83 83
 
Please login to merge, or discard this patch.