Skip to content

Commit cf5b091

Browse files
authored
Merge pull request #47 from bjeavons/code-style
Fix code style violations This now passes squizlabs/php_codesniffer 3.5.8
2 parents dde9679 + 607c176 commit cf5b091

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Matchers/SpatialMatch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ protected static function graphMatch($password, $graph, $graphName)
150150
$j += 1;
151151
} else {
152152
// otherwise push the pattern discovered so far, if any...
153-
153+
154154
// Ignore length 1 or 2 chains.
155155
if ($j - $i > 2) {
156156
$result[] = [

test/Matchers/L33tTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public function testGuessesL33tAndUppercased()
282282
"extra guesses are added for both capitalization and common l33t substitutions"
283283
);
284284
}
285-
285+
286286
public function variationsProvider()
287287
{
288288
return array(

test/Matchers/RepeatTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function testEmpty()
2222
);
2323
}
2424
}
25-
25+
2626
public function testSingleCharacterEmbeddedRepeats()
2727
{
2828
$prefixes = ['@', 'y4@'];

test/Matchers/SpatialTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function testShiftedCountForMultipleMatches()
125125
]
126126
);
127127
}
128-
128+
129129
protected function getBaseGuessCount($token)
130130
{
131131
// KEYBOARD_STARTING_POSITIONS * KEYBOARD_AVERAGE_DEGREE * (length - 1)

0 commit comments

Comments
 (0)