Skip to content

Commit

Permalink
Set rectop PHP Unit Version
Browse files Browse the repository at this point in the history
  • Loading branch information
kduma committed Dec 25, 2022
1 parent 0876e56 commit b688c3a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@

LevelSetList::UP_TO_PHP_81,

PHPUnitLevelSetList::UP_TO_PHPUNIT_100,
PHPUnitLevelSetList::UP_TO_PHPUNIT_90,

// Skipped
// SetList::PRIVATIZATION,
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/WebPrintApi/CreateDialogsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function test_sets_correct_values(array $post, array $expected): void
]);
}

public function correctValues()
public function correctValues(): \Generator
{
yield 'auto_print' => [
[
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/WebPrintApi/CreatePromisesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function test_can_create_with_correct_token(callable $post, callable $exp
]);
}

public function providesDataForCreate()
public function providesDataForCreate(): \Generator
{
yield 'minimal' => [
fn (Collection $printers, Collection $printers_ppd, CreatePromisesTest $test): array => [
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/WebPrintApi/UpdatePromisesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function test_can_update_with_correct_token(callable $post, callable $ass
$asserts($promise, $response, $printers_ppd, $this);
}

public function providesDataForUpdate()
public function providesDataForUpdate(): \Generator
{
yield 'updates name' => [
fn (Collection $printers_ppd, UpdatePromisesTest $test): array => [
Expand Down

0 comments on commit b688c3a

Please sign in to comment.