Passed
Push — master ( d65e4b...4d53de )
by Dedipyaman
03:52
created
src/Validator/Validator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
5 5
 
6 6
 interface Validator
7 7
 {
8
-    public function isValid($type, $options = []) : bool;
8
+    public function isValid($type, $options = [ ]) : bool;
9 9
     public function getErrorMessage(): ?string;
10 10
 }
11 11
\ No newline at end of file
Please login to merge, or discard this patch.
src/Validator/PasswordValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     private function isLongEnough(string $password, int $minSize) : bool
46 46
     {
47
-        return strlen($password) >= $minSize ;
47
+        return strlen($password) >= $minSize;
48 48
     }
49 49
 
50 50
     /**
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      * @param array $options
56 56
      * @return bool
57 57
      */
58
-    public function isValid($password, $options = []): bool
58
+    public function isValid($password, $options = [ ]): bool
59 59
     {
60 60
         $this->validated = true;
61 61
 
Please login to merge, or discard this patch.
src/Validator/EmailValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 
6 6
 class EmailValidator extends AbstractValidator
7 7
 {
8
-    public function isValid($email, $options = []): bool
8
+    public function isValid($email, $options = [ ]): bool
9 9
     {
10 10
         $this->validated = true;
11 11
 
Please login to merge, or discard this patch.
src/Validator/IPAddressValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 
6 6
 class IPAddressValidator extends AbstractValidator
7 7
 {
8
-    public function isValid($ip, $options = []): bool
8
+    public function isValid($ip, $options = [ ]): bool
9 9
     {
10 10
         $this->validated = true;
11 11
 
Please login to merge, or discard this patch.
src/Validator/Error.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 abstract class Error
13 13
 {
14
-    const PREMATURE_CALL_TO_METHOD  = 230000;
14
+    const PREMATURE_CALL_TO_METHOD = 230000;
15 15
 
16 16
     const EMAIL_INVALID = 320001;
17 17
     const PASSWORD_TOO_SMALL = 320002;
Please login to merge, or discard this patch.