Skip to content

Commit

Permalink
Merge branch '5.4' into 6.2
Browse files Browse the repository at this point in the history
* 5.4:
  Migrate to `static` data providers using `rector/rector`
  • Loading branch information
nicolas-grekas committed Feb 14, 2023
2 parents 5a30533 + 7ce4529 commit 67820d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/Command/UserPasswordHashCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public function testCompletionSuggestions(array $input, array $expectedSuggestio
$this->assertSame($expectedSuggestions, $tester->complete($input));
}

public function provideCompletionSuggestions(): iterable
public static function provideCompletionSuggestions(): iterable
{
yield 'user_class_empty' => [
['p@ssw0rd', ''],
Expand Down
2 changes: 1 addition & 1 deletion Tests/Hasher/NativePasswordHasherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function testCostInRange($cost)
$this->assertInstanceOf(NativePasswordHasher::class, new NativePasswordHasher(null, null, $cost));
}

public function validRangeData()
public static function validRangeData()
{
$costs = range(4, 31);
array_walk($costs, function (&$cost) { $cost = [$cost]; });
Expand Down

0 comments on commit 67820d8

Please sign in to comment.