Skip to content

Commit df4f22d

Browse files
committed
fix couple typos
1 parent c072064 commit df4f22d

File tree

12 files changed

+16
-12
lines changed

12 files changed

+16
-12
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/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/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
}

rules-tests/TypeDeclaration/Rector/ClassMethod/ReturnTypeFromReturnNewRector/Fixture/return_anonymous_class_variable.php.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ final class ReturnAnonymousClassVariable
1313
// any properties
1414
};
1515

16-
// some bussines logic to fill the data
16+
// some business logic to fill the data
1717

1818
return $data;
1919
}
@@ -36,7 +36,7 @@ final class ReturnAnonymousClassVariable
3636
// any properties
3737
};
3838

39-
// some bussines logic to fill the data
39+
// some business logic to fill the data
4040

4141
return $data;
4242
}

rules-tests/TypeDeclaration/Rector/ClassMethod/StrictArrayParamDimFetchRector/Fixture/skip_is_bool.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ final class SkipIsBool
1313
return '';
1414
}
1515

16-
if ('alle' === $ids[0]) {
16+
if ('value' === $ids[0]) {
1717
return $ids[0];
1818
}
1919
}

rules-tests/TypeDeclaration/Rector/ClassMethod/StrictArrayParamDimFetchRector/Fixture/skip_is_float.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ final class SkipIsFloat
1313
return '';
1414
}
1515

16-
if ('alle' === $ids[0]) {
16+
if ('value' === $ids[0]) {
1717
return $ids[0];
1818
}
1919
}

rules-tests/TypeDeclaration/Rector/ClassMethod/StrictArrayParamDimFetchRector/Fixture/skip_is_int.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ final class SkipIsInt
1313
return '';
1414
}
1515

16-
if ('alle' === $ids[0]) {
16+
if ('value' === $ids[0]) {
1717
return $ids[0];
1818
}
1919
}

0 commit comments

Comments
 (0)