diff --git a/rector.php b/rector.php index 628b2dae3..dfa97768d 100644 --- a/rector.php +++ b/rector.php @@ -28,7 +28,6 @@ $rectorConfig->sets([ LevelSetList::UP_TO_PHP_81, - PHPUnitSetList::PHPUNIT_100, PHPUnitSetList::PHPUNIT_CODE_QUALITY, ]); diff --git a/src/Github/Domain/Value/Hook/Config.php b/src/Github/Domain/Value/Hook/Config.php index b072a3766..429cbd75e 100644 --- a/src/Github/Domain/Value/Hook/Config.php +++ b/src/Github/Domain/Value/Hook/Config.php @@ -55,7 +55,7 @@ public function url(): Url } /** - * @param array $config + * @param array $config */ public function equals(array $config): bool { diff --git a/src/Github/Domain/Value/Hook/Events.php b/src/Github/Domain/Value/Hook/Events.php index 44fd40a27..808a9440f 100644 --- a/src/Github/Domain/Value/Hook/Events.php +++ b/src/Github/Domain/Value/Hook/Events.php @@ -46,7 +46,7 @@ public static function fromArray(array $events): self } /** - * @param array $events + * @param array $events */ public function equals(array $events): bool { diff --git a/templates/project/rector.php.twig b/templates/project/rector.php.twig index bc636f54e..ad89afd86 100644 --- a/templates/project/rector.php.twig +++ b/templates/project/rector.php.twig @@ -35,7 +35,6 @@ return static function (RectorConfig $rectorConfig): void { $rectorConfig->sets([ LevelSetList::UP_TO_PHP_{{ branch.lowestPhpVersion.rectorFormat }}, - PHPUnitSetList::PHPUNIT_100, PHPUnitSetList::PHPUNIT_CODE_QUALITY, ]); diff --git a/tests/Twig/Extension/FileSystemExtensionTest.php b/tests/Twig/Extension/FileSystemExtensionTest.php index a045fcae9..d41271f60 100644 --- a/tests/Twig/Extension/FileSystemExtensionTest.php +++ b/tests/Twig/Extension/FileSystemExtensionTest.php @@ -25,8 +25,7 @@ protected function setUp(): void { parent::setUp(); - $fileSystem = $this->createMock(Filesystem::class); - $this->fileSystemExtension = new FileSystemExtension($fileSystem); + $this->fileSystemExtension = new FileSystemExtension(static::createStub(Filesystem::class)); } public function testHasDependency(): void