Skip to content

Commit ca0dfe6

Browse files
committed
fix couple typos
1 parent c072064 commit ca0dfe6

File tree

17 files changed

+18
-14
lines changed

17 files changed

+18
-14
lines changed

.github/typos.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[default.extend-words]
22
Symplify = "Symplify"
3+
Invokable = "Invokable"
4+
5+
# as in 2nd
6+
nd = "nd"
37

48
# plurals
59
Identicals = "Identicals"

rules-tests/DeadCode/Rector/ClassMethod/RemoveUnusedPromotedPropertyRector/Fixture/some_private_roperty_readonly.php.inc renamed to rules-tests/DeadCode/Rector/ClassMethod/RemoveUnusedPromotedPropertyRector/Fixture/some_private_property_readonly.php.inc

File renamed without changes.

rules-tests/DeadCode/Rector/If_/RemoveAlwaysTrueIfConditionRector/Fixture/merge_comment.php.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class MergeComments
88
{
99
// toplevel
1010
if (true) {
11-
// first innner
11+
// first inner
1212
f();
1313
// second inner
1414
}
@@ -26,7 +26,7 @@ class MergeComments
2626
public function run()
2727
{
2828
// toplevel
29-
// first innner
29+
// first inner
3030
f();
3131
// second inner
3232
}

rules-tests/DeadCode/Rector/If_/RemoveDeadInstanceOfRector/Fixture/skip_asssign_union.php.inc renamed to rules-tests/DeadCode/Rector/If_/RemoveDeadInstanceOfRector/Fixture/skip_assign_union.php.inc

File renamed without changes.

rules-tests/DeadCode/Rector/MethodCall/RemoveNullArgOnNullDefaultParamRector/Fixture/skip_named_argument_position_not_match.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Rector\Tests\DeadCode\Rector\MethodCall\RemoveNullArgOnNullDefaultPara
66

77
use Rector\Tests\DeadCode\Rector\MethodCall\RemoveNullArgOnNullDefaultParamRector\Source\SomeExternalClass;
88

9-
final class SkipNamedArgumentPostitionNotMatch
9+
final class SkipNamedArgumentPositionNotMatch
1010
{
1111
public function get()
1212
{

rules-tests/Php84/Rector/Class_/PropertyHookRector/Fixture/skip_missmatching_getter_setter_names.php.inc renamed to rules-tests/Php84/Rector/Class_/PropertyHookRector/Fixture/skip_mismatching_getter_setter_names.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\Php84\Rector\Class_\PropertyHookRector\Fixture;
44

5-
final class SkipMissmatchingGetterSetterNames
5+
final class SkipMismatchingGetterSetterNames
66
{
77
private string $name;
88

rules-tests/Transform/Rector/ArrayDimFetch/ArrayDimFetchToMethodCallRector/Fixture/partial_tranformation.php.inc renamed to rules-tests/Transform/Rector/ArrayDimFetch/ArrayDimFetchToMethodCallRector/Fixture/partial_transformation.php.inc

File renamed without changes.

rules-tests/TypeDeclaration/Rector/ClassMethod/AddMethodCallBasedStrictParamTypeRector/FixtureTreatClassesAsFinal/skip_abstract_class.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ declare(strict_types=1);
44

55
namespace Rector\Tests\TypeDeclaration\Rector\ClassMethod\AddMethodCallBasedStrictParamTypeRector\FixtureTreatClassesAsFinal;
66

7-
// both classses here on purpose as the abstract class is subject to test
7+
// both classes here on purpose as the abstract class is subject to test
88
// with child class override
99
abstract class SkipAbstractClass
1010
{

rules-tests/TypeDeclaration/Rector/ClassMethod/ParamTypeByParentCallTypeRector/Fixture/skip_just_spreaded_arg.php.inc renamed to rules-tests/TypeDeclaration/Rector/ClassMethod/ParamTypeByParentCallTypeRector/Fixture/skip_just_spread_arg.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace Rector\Tests\TypeDeclaration\Rector\ClassMethod\ParamTypeByParentCallT
44

55
use Rector\Tests\TypeDeclaration\Rector\ClassMethod\ParamTypeByParentCallTypeRector\Source\ParentClassWithArraySpread;
66

7-
final class SkipJustSPreadedArg extends ParentClassWithArraySpread
7+
final class SkipJustSpreadArg extends ParentClassWithArraySpread
88
{
99
public function __construct($items)
1010
{

rules-tests/TypeDeclaration/Rector/ClassMethod/ParamTypeByParentCallTypeRector/Source/ParentClassWithArraySpread.php

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

77
class ParentClassWithArraySpread
88
{
9-
public function __construct(string $spreadedItem)
9+
public function __construct(string $spreadItem)
1010
{
1111
}
1212
}

0 commit comments

Comments
 (0)