From ac4efabf6d3535172b17f57e0cc569d5fd1f6fe5 Mon Sep 17 00:00:00 2001 From: zingimmick Date: Fri, 28 Jan 2022 17:24:43 +0800 Subject: [PATCH] Use PHP version set instead of migration sets --- composer.json | 2 +- ecs.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 07e9d55..c4ff04f 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ "nunomaduro/larastan": "^1.0", "orchestra/testbench": "^4.0 || ^5.0 || ^6.0 || ^7.0", "phpunit/phpunit": "^8.0,<8.5.12 || ^9.3.3", - "zing/coding-standard": "^5.2" + "zing/coding-standard": "^5.3" }, "autoload": { "psr-4": { diff --git a/ecs.php b/ecs.php index d01e5f3..c08a122 100644 --- a/ecs.php +++ b/ecs.php @@ -7,9 +7,8 @@ use Zing\CodingStandard\Set\ECSSetList; return static function (ContainerConfigurator $containerConfigurator): void { + $containerConfigurator->import(ECSSetList::PHP_72); $containerConfigurator->import(ECSSetList::CUSTOM); - $containerConfigurator->import(ECSSetList::PHP71_MIGRATION); - $containerConfigurator->import(ECSSetList::PHP71_MIGRATION_RISKY); $parameters = $containerConfigurator->parameters(); $parameters->set(Option::PARALLEL, true);