Completed
Push — master ( 1d4d60...6612df )
by Magnar Ovedal
09:45 queued 07:05
created
src/Rule/NoReuse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     {
47 47
         $this->constraints[] = new PositionConstraint($first, $count, $weight);
48 48
 
49
-        StableSort::usort($this->constraints, static function (PositionConstraint $a, PositionConstraint $b): int {
49
+        StableSort::usort($this->constraints, static function(PositionConstraint $a, PositionConstraint $b): int {
50 50
             return $b->getWeight() <=> $a->getWeight();
51 51
         });
52 52
 
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         if ($password instanceof Password) {
132 132
             $position = 0;
133 133
             foreach ($password->getFormerPasswords() as $formerPassword) {
134
-                if ($this->hashFunction->compare((string)$password, (string)$formerPassword)) {
134
+                if ($this->hashFunction->compare((string) $password, (string) $formerPassword)) {
135 135
                     $positions[] = $position;
136 136
                 }
137 137
                 ++$position;
Please login to merge, or discard this patch.
src/WordFormatter/LeetDecoder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     {
59 59
         $decodeMap = [];
60 60
         foreach ($this->decodeMap as $encodedChar => $chars) {
61
-            if ((string)$encodedChar === mb_substr($word, 0, mb_strlen((string)$encodedChar))) {
61
+            if ((string) $encodedChar === mb_substr($word, 0, mb_strlen((string) $encodedChar))) {
62 62
                 $decodeMap[$encodedChar] = $chars;
63 63
             }
64 64
         }
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         }
90 90
 
91 91
         foreach ($this->getDecodeMap($word) as $encodedChar => $chars) {
92
-            foreach ($this->formatWord(mb_substr($word, mb_strlen((string)$encodedChar))) as $suffix) {
92
+            foreach ($this->formatWord(mb_substr($word, mb_strlen((string) $encodedChar))) as $suffix) {
93 93
                 foreach ($chars as $char) {
94 94
                     yield $char.$suffix;
95 95
                 }
Please login to merge, or discard this patch.