diff --git a/composer.json b/composer.json index c31b498..2ddaa0e 100644 --- a/composer.json +++ b/composer.json @@ -20,9 +20,9 @@ "larastan/larastan": "^3.9", "nunomaduro/collision": "^7.10 || ^8.1.1", "orchestra/testbench": "^10.8 || ^11.0", - "pestphp/pest": "^4.4", + "pestphp/pest": "^4.7", "pestphp/pest-plugin-laravel": "^4.1", - "worksome/coding-style": "^3.4" + "worksome/coding-style": "^4.0" }, "autoload": { "psr-4": { diff --git a/ecs.php b/ecs.php index 79e255b..45d2ecb 100644 --- a/ecs.php +++ b/ecs.php @@ -2,15 +2,11 @@ declare(strict_types=1); -use Symplify\EasyCodingStandard\Config\ECSConfig; use Worksome\CodingStyle\WorksomeEcsConfig; - -return static function (ECSConfig $ecsConfig): void { - $ecsConfig->paths([ +return WorksomeEcsConfig::configure() + ->withPaths([ + __DIR__ . '/ecs.php', __DIR__ . '/src', __DIR__ . '/tests', ]); - - WorksomeEcsConfig::setup($ecsConfig); -};