diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3bed3be..12ce2d6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: Build on: push: - branches: [ master ] + branches: [ main ] pull_request: types: [opened, synchronize, reopened] diff --git a/composer.json b/composer.json index cf7ae0a..771d10e 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-strict-rules": "^2.0", "phpstan/phpstan-webmozart-assert": "^2.0", - "phpunit/phpunit": "^11", + "phpunit/phpunit": "^11 || ^12 || ^13", "rector/rector": "^2.2", "roave/no-floaters": "^1.13", "shipmonk/phpstan-rules": "^4.2", diff --git a/src/Rector/rules.php b/src/Rector/rules.php index 3d15fe2..e7f5671 100644 --- a/src/Rector/rules.php +++ b/src/Rector/rules.php @@ -3,8 +3,6 @@ declare(strict_types=1); use Rector\CodeQuality\Rector\LogicalAnd\LogicalToBooleanRector; -use Rector\CodingStyle\Rector\ArrowFunction\StaticArrowFunctionRector; -use Rector\CodingStyle\Rector\Closure\StaticClosureRector; use Rector\Config\RectorConfig; use Rector\Php84\Rector\Param\ExplicitNullableParamTypeRector; use Rector\PHPUnit\PHPUnit100\Rector\Class_\PublicDataProviderClassMethodRector; @@ -13,9 +11,6 @@ return static function (RectorConfig $rectorConfig): void { $rectorConfig->rules([ - // Coding style - StaticArrowFunctionRector::class, - StaticClosureRector::class, // Code Quality LogicalToBooleanRector::class, // Type Declaration