Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/typos.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[default.extend-words]
Symplify = "Symplify"
Invokable = "Invokable"

# as in 2nd
nd = "nd"

# plurals
Identicals = "Identicals"
2 changes: 1 addition & 1 deletion .github/workflows/typos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
uses: "crate-ci/[email protected]"
with:
config: .github/typos.toml
files: "README.md src rules tests"
files: "README.md src config rules tests rules-tests templates"
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class MergeComments
{
// toplevel
if (true) {
// first innner
// first inner
f();
// second inner
}
Expand All @@ -26,7 +26,7 @@ class MergeComments
public function run()
{
// toplevel
// first innner
// first inner
f();
// second inner
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Rector\Tests\DeadCode\Rector\MethodCall\RemoveNullArgOnNullDefaultPara

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

final class SkipNamedArgumentPostitionNotMatch
final class SkipNamedArgumentPositionNotMatch
{
public function get()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Rector\Tests\Php84\Rector\Class_\PropertyHookRector\Fixture;

final class SkipMissmatchingGetterSetterNames
final class SkipMismatchingGetterSetterNames
{
private string $name;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ declare(strict_types=1);

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

// both classses here on purpose as the abstract class is subject to test
// both classes here on purpose as the abstract class is subject to test
// with child class override
abstract class SkipAbstractClass
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace Rector\Tests\TypeDeclaration\Rector\ClassMethod\ParamTypeByParentCallT

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

final class SkipJustSPreadedArg extends ParentClassWithArraySpread
final class SkipJustSpreadArg extends ParentClassWithArraySpread
{
public function __construct($items)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class ParentClassWithArraySpread
{
public function __construct(string $spreadedItem)
public function __construct(string $spreadItem)
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class ReturnAnonymousClassVariable
// any properties
};

// some bussines logic to fill the data
// some business logic to fill the data

return $data;
}
Expand All @@ -36,7 +36,7 @@ final class ReturnAnonymousClassVariable
// any properties
};

// some bussines logic to fill the data
// some business logic to fill the data

return $data;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class SkipIsBool
return '';
}

if ('alle' === $ids[0]) {
if ('value' === $ids[0]) {
return $ids[0];
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class SkipIsFloat
return '';
}

if ('alle' === $ids[0]) {
if ('value' === $ids[0]) {
return $ids[0];
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class SkipIsInt
return '';
}

if ('alle' === $ids[0]) {
if ('value' === $ids[0]) {
return $ids[0];
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class SkipIsString
return '';
}

if ('alle' === $ids[0]) {
if ('value' === $ids[0]) {
return $ids[0];
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Rector\Tests\TypeDeclarationDocblocks\Rector\ClassMethod\AddParamArrayDocblockFromAssignsParamToParamReferenceRector\Fixture;

final class SkipDimFetchAssingDeep
final class SkipDimFetchAssignDeep
{
public function run(array &$items)
{
Expand Down