diff --git a/tests/fixed/EarlyReturn.php b/tests/fixed/EarlyReturn.php index 5a82a937..caf1dbb6 100644 --- a/tests/fixed/EarlyReturn.php +++ b/tests/fixed/EarlyReturn.php @@ -13,7 +13,7 @@ public function bar(): bool public function foo(): ?string { - foreach ($itens as $item) { + foreach ($items as $item) { if (! $item->isItem()) { return 'There is an item that is not an item'; } diff --git a/tests/input/EarlyReturn.php b/tests/input/EarlyReturn.php index 7d90c6d6..9f13d86e 100644 --- a/tests/input/EarlyReturn.php +++ b/tests/input/EarlyReturn.php @@ -17,7 +17,7 @@ public function bar(): bool public function foo(): ?string { - foreach ($itens as $item) { + foreach ($items as $item) { if (! ($item->isItem())) { return 'There is an item that is not an item'; } else { diff --git a/tests/php80-compatibility.patch b/tests/php80-compatibility.patch index cedc03c0..0963401f 100644 --- a/tests/php80-compatibility.patch +++ b/tests/php80-compatibility.patch @@ -69,7 +69,7 @@ index 5a82a93..7d5eb01 100644 - public function foo(): ?string + public function foo(): string|null { - foreach ($itens as $item) { + foreach ($items as $item) { if (! $item->isItem()) { diff --git a/tests/fixed/NamingCamelCase.php b/tests/fixed/NamingCamelCase.php index 57d9f2b..5493471 100644 diff --git a/tests/php81-compatibility.patch b/tests/php81-compatibility.patch index ab6a74f2..87588696 100644 --- a/tests/php81-compatibility.patch +++ b/tests/php81-compatibility.patch @@ -69,7 +69,7 @@ index 5a82a93..7d5eb01 100644 - public function foo(): ?string + public function foo(): string|null { - foreach ($itens as $item) { + foreach ($items as $item) { if (! $item->isItem()) { diff --git a/tests/fixed/NamingCamelCase.php b/tests/fixed/NamingCamelCase.php index 57d9f2b..5493471 100644