diff --git a/rules-tests/CodeQuality/Rector/Class_/NarrowUnusedSetUpDefinedPropertyRector/Fixture/skip_static_property.php.inc b/rules-tests/CodeQuality/Rector/Class_/NarrowUnusedSetUpDefinedPropertyRector/Fixture/skip_static_property.php.inc index 6fb43ec2..82dea4d6 100644 --- a/rules-tests/CodeQuality/Rector/Class_/NarrowUnusedSetUpDefinedPropertyRector/Fixture/skip_static_property.php.inc +++ b/rules-tests/CodeQuality/Rector/Class_/NarrowUnusedSetUpDefinedPropertyRector/Fixture/skip_static_property.php.inc @@ -5,7 +5,7 @@ namespace Rector\PHPUnit\Tests\CodeQuality\Rector\Class_\NarrowUnusedSetUpDefine use PHPUnit\Framework\TestCase; use Rector\PHPUnit\Tests\CodeQuality\Rector\Class_\NarrowUnusedSetUpDefinedPropertyRector\Source\SomeType; -final class SkipStaticPrpoerty extends TestCase +final class SkipStaticProperty extends TestCase { private static SomeType $someMock; diff --git a/rules-tests/CodeQuality/Rector/MethodCall/AssertInstanceOfComparisonRector/Fixture/fixture.php.inc b/rules-tests/CodeQuality/Rector/MethodCall/AssertInstanceOfComparisonRector/Fixture/fixture.php.inc index cb5f7152..f1837a92 100644 --- a/rules-tests/CodeQuality/Rector/MethodCall/AssertInstanceOfComparisonRector/Fixture/fixture.php.inc +++ b/rules-tests/CodeQuality/Rector/MethodCall/AssertInstanceOfComparisonRector/Fixture/fixture.php.inc @@ -4,7 +4,7 @@ namespace Rector\PHPUnit\Tests\CodeQuality\Rector\MethodCall\AssertInstanceOfCom use Rector\PHPUnit\Tests\CodeQuality\Rector\MethodCall\AssertInstanceOfComparisonRector\Fixture\Foo; -final class MyOfComparissonTest extends \PHPUnit\Framework\TestCase +final class MyOfComparisonTest extends \PHPUnit\Framework\TestCase { public function test() { @@ -25,7 +25,7 @@ namespace Rector\PHPUnit\Tests\CodeQuality\Rector\MethodCall\AssertInstanceOfCom use Rector\PHPUnit\Tests\CodeQuality\Rector\MethodCall\AssertInstanceOfComparisonRector\Fixture\Foo; -final class MyOfComparissonTest extends \PHPUnit\Framework\TestCase +final class MyOfComparisonTest extends \PHPUnit\Framework\TestCase { public function test() { diff --git a/rules/CodeQuality/NodeFactory/NestedClosureAssertFactory.php b/rules/CodeQuality/NodeFactory/NestedClosureAssertFactory.php index a844601d..66974d7e 100644 --- a/rules/CodeQuality/NodeFactory/NestedClosureAssertFactory.php +++ b/rules/CodeQuality/NodeFactory/NestedClosureAssertFactory.php @@ -33,7 +33,7 @@ public function create(MethodCall $assertMethodCall, int $assertKey): array if ($callableFirstArg->value instanceof ArrowFunction) { $arrowFunction = $callableFirstArg->value; if ($arrowFunction->expr instanceof Identical) { - // unwrap closure arrow function to direct assert as more readalbe + // unwrap closure arrow function to direct assert as more readable $identical = $arrowFunction->expr; if ($identical->left instanceof Variable) {