Passed
Push — master ( 002eab...4a3fb7 )
by Magnar Ovedal
03:39 queued 56s
created
src/Rule/GuessableDataRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
             $guessableData = array_merge($guessableData, $password->getGuessableData());
107 107
         }
108 108
 
109
-        foreach ($this->formatter->apply(CharTree::fromString((string)$password)) as $formattedPassword) {
109
+        foreach ($this->formatter->apply(CharTree::fromString((string) $password)) as $formattedPassword) {
110 110
             foreach ($guessableData as $data) {
111 111
                 if ($this->contains($formattedPassword, $data)) {
112 112
                     return $data;
Please login to merge, or discard this patch.
src/Formatter/Coder.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
         $charTrees = [];
64 64
 
65 65
         foreach ($this->codeMap->getMap($charTree) as $char => $codedChars) {
66
-            $branch = $this->applyInternal($charTree->getBranchesAfterRoot((string)$char));
66
+            $branch = $this->applyInternal($charTree->getBranchesAfterRoot((string) $char));
67 67
 
68 68
             foreach ($codedChars as $codedChar) {
69 69
                 $charTrees[] = CharTree::fromString($codedChar, [$branch]);
Please login to merge, or discard this patch.
src/CodeMap/LeetspeakMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
                 }
62 62
             }
63 63
         }
64
-        foreach (array_keys($this->codeMap + [1 => true]) as $length) {
64
+        foreach (array_keys($this->codeMap+[1 => true]) as $length) {
65 65
             $truncator = new Truncator($length);
66 66
             $truncator->setNext(new LengthFilter($length));
67 67
             $this->charExtractors[$length] = $truncator;
Please login to merge, or discard this patch.