Skip to content

Commit 66957ed

Browse files
authored
Fix typos (#7120)
1 parent 21ad196 commit 66957ed

File tree

47 files changed

+79
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+79
-79
lines changed

build/config/phpstan-for-downgrade.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ parameters:
33
inferPrivatePropertyTypeFromConstructor: true
44

55
scanDirectories:
6-
# this is needed for symfony/dependendency-injection as it has hidden dependency on symfony/expression-language that we don't use here
6+
# this is needed for symfony/dependency-injection as it has hidden dependency on symfony/expression-language that we don't use here
77
- ../../stubs

rules-tests/CodeQuality/Rector/Concat/JoinStringConcatRector/Fixture/skip_multiple_lines.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Rector\Tests\CodeQuality\Rector\Concat\JoinStringConcatRector\Fixture;
44

5-
class SkipMultiplelines
5+
class SkipMultipleLines
66
{
77
public function run()
88
{

rules-tests/CodeQuality/Rector/Foreach_/ForeachItemsAssignToEmptyArrayToAssignRector/Fixture/skip_multiple_assign_before_foreach.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Rector\Tests\CodeQuality\Rector\Foreach_\ForeachItemsAssignToEmptyArrayToAssignRector\Fixture;
44

5-
class SkipMultipleAssignbeforeForeach
5+
class SkipMultipleAssignBeforeForeach
66
{
77
public function run(array $items)
88
{

rules-tests/CodeQuality/Rector/Foreach_/ForeachItemsAssignToEmptyArrayToAssignRector/Fixture/skip_multiple_assign_before_foreach2.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Rector\Tests\CodeQuality\Rector\Foreach_\ForeachItemsAssignToEmptyArrayToAssignRector\Fixture;
44

5-
class SkipMultipleAssignbeforeForeach2
5+
class SkipMultipleAssignBeforeForeach2
66
{
77
public function run(array $items)
88
{

rules-tests/CodeQuality/Rector/If_/SimplifyIfReturnBoolRector/Fixture/with_parentheses.php.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace Rector\Tests\CodeQuality\Rector\If_\SimplifyIfReturnBoolRector\Fixture
44

55
final class WithParentheses
66
{
7-
public static function isLeapyear(int $year): bool
7+
public static function isLeapYear(int $year): bool
88
{
99
if (($year % 400) == 0 || (($year & 4) == 0 && ($year % 100) != 0)) {
1010
return true;
@@ -21,7 +21,7 @@ namespace Rector\Tests\CodeQuality\Rector\If_\SimplifyIfReturnBoolRector\Fixture
2121

2222
final class WithParentheses
2323
{
24-
public static function isLeapyear(int $year): bool
24+
public static function isLeapYear(int $year): bool
2525
{
2626
return ($year % 400) == 0 || (($year & 4) == 0 && ($year % 100) != 0);
2727
}

rules-tests/CodingStyle/Rector/Encapsed/WrapEncapsedVariableInCurlyBracesRector/Fixture/some_variables_with_braces.php.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Rector\Tests\CodingStyle\Rector\Encapsed\WrapEncapsedVariableInCurlyBracesRector\Fixture;
44

5-
function some_variales_with_braces($hello, $world)
5+
function some_variables_with_braces($hello, $world)
66
{
77
return "$hello {$world}!";
88
}
@@ -13,7 +13,7 @@ function some_variales_with_braces($hello, $world)
1313

1414
namespace Rector\Tests\CodingStyle\Rector\Encapsed\WrapEncapsedVariableInCurlyBracesRector\Fixture;
1515

16-
function some_variales_with_braces($hello, $world)
16+
function some_variables_with_braces($hello, $world)
1717
{
1818
return "{$hello} {$world}!";
1919
}

rules-tests/CodingStyle/Rector/FuncCall/ArraySpreadInsteadOfArrayMergeRector/FixturePhp74/skip_get_iterator.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace Rector\Tests\CodingStyle\Rector\FuncCall\ArraySpreadInsteadOfArrayMerg
44

55
use Symfony\Component\Finder\Finder;
66

7-
class SkipGetIreator
7+
class SkipGetIterator
88
{
99
public function run()
1010
{

rules-tests/CodingStyle/Rector/FuncCall/ArraySpreadInsteadOfArrayMergeRector/FixturePhp74/skip_spread_array_merge.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace Rector\Tests\CodingStyle\Rector\FuncCall\ArraySpreadInsteadOfArrayMerg
44

55
use stdClass;
66

7-
class SkipSpreadyArrayMerge
7+
class SkipSpreadArrayMerge
88
{
99
public function run()
1010
{

rules-tests/CodingStyle/Rector/FuncCall/ArraySpreadInsteadOfArrayMergeRector/FixturePhp81/skip_get_iterator.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace Rector\Tests\CodingStyle\Rector\FuncCall\ArraySpreadInsteadOfArrayMerg
44

55
use Symfony\Component\Finder\Finder;
66

7-
class SkipGetIreator
7+
class SkipGetIterator
88
{
99
public function run()
1010
{

rules-tests/CodingStyle/Rector/FuncCall/ArraySpreadInsteadOfArrayMergeRector/FixturePhp81/skip_spread_array_merge.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace Rector\Tests\CodingStyle\Rector\FuncCall\ArraySpreadInsteadOfArrayMerg
44

55
use stdClass;
66

7-
class SkipSpreadyArrayMerge
7+
class SkipSpreadArrayMerge
88
{
99
public function run()
1010
{

0 commit comments

Comments
 (0)