From 5efa671b70b7ef4488fff09fb301e4da2f7fc54c Mon Sep 17 00:00:00 2001 From: Frederik Rommel Date: Wed, 13 Sep 2023 17:23:30 +0200 Subject: [PATCH] ecs: remove legacy condition/method-calls (SW 6.4.x) --- ecs.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/ecs.php b/ecs.php index 4d6c5d59..f344b9e5 100644 --- a/ecs.php +++ b/ecs.php @@ -1,13 +1,11 @@ parameters(); - - $parameters->set(Option::CACHE_DIRECTORY, __DIR__ . '/var/cache/cs_fixer'); - $parameters->set(Option::PATHS, [__DIR__ . '/src', __DIR__ . '/tests']); + $ecsConfig->paths([ + __DIR__ . '/src', + __DIR__ . '/tests' + ]); };