From 5b3d6aab8d518e3c0210154290becb680d16c2d7 Mon Sep 17 00:00:00 2001 From: Yanick Witschi Date: Wed, 12 Jun 2024 16:00:06 +0200 Subject: [PATCH] Allow Symfony 7 --- composer.json | 14 +++++++------- ecs.php | 3 --- src/Annotation/ServiceTag.php | 2 ++ .../Compiler/ServiceAnnotationPass.php | 3 --- 4 files changed, 9 insertions(+), 13 deletions(-) delete mode 100644 ecs.php diff --git a/composer.json b/composer.json index 8a06216..d85f970 100644 --- a/composer.json +++ b/composer.json @@ -20,20 +20,20 @@ "require": { "php": "^7.1 || ^8.0", "doctrine/annotations": "^1.6 || ^2.0", - "symfony/dependency-injection": "^4.0 || ^5.0 || ^6.0", - "symfony/http-kernel": "^4.0 || ^5.0 || ^6.0" + "symfony/dependency-injection": "^4.0 || ^5.0 || ^6.0 || ^7.0", + "symfony/http-kernel": "^4.0 || ^5.0 || ^6.0 || ^7.0" }, "require-dev": { - "contao/easy-coding-standard": "^3.0" + "terminal42/contao-build-tools": "@dev" }, "autoload": { "psr-4": { "Terminal42\\ServiceAnnotationBundle\\": "src/" } }, - "scripts": { - "cs-fixer": [ - "vendor/bin/ecs check src/ --fix --ansi" - ] + "config": { + "allow-plugins": { + "terminal42/contao-build-tools": true + } } } diff --git a/ecs.php b/ecs.php deleted file mode 100644 index 9afc61d..0000000 --- a/ecs.php +++ /dev/null @@ -1,3 +0,0 @@ -has('annotation_reader')) {