Passed
Push — master ( 08a7b5...bf65f8 )
by Magnar Ovedal
03:29 queued 42s
created
src/Rule/DictionaryRule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
             return true;
109 109
         }
110 110
 
111
-        $word = $this->getDictionaryWord((string)$password);
111
+        $word = $this->getDictionaryWord((string) $password);
112 112
 
113 113
         return $word === null;
114 114
     }
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     public function validate($password): ?ValidationError
120 120
     {
121
-        $word = $this->getDictionaryWord((string)$password);
121
+        $word = $this->getDictionaryWord((string) $password);
122 122
 
123 123
         if ($word !== null) {
124 124
             return new ValidationError(
Please login to merge, or discard this patch.
src/Rule/GuessableDataRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
             $guessableData = array_merge($guessableData, $password->getGuessableData());
134 134
         }
135 135
 
136
-        foreach ($this->getFormattedWords((string)$password) as $word) {
136
+        foreach ($this->getFormattedWords((string) $password) as $word) {
137 137
             foreach ($guessableData as $data) {
138 138
                 if ($this->contains($word, $data)) {
139 139
                     return $data;
Please login to merge, or discard this patch.