From 3ad67423a7d819a0a3483aaee809327b3e35688d Mon Sep 17 00:00:00 2001 From: Nicolas Joubert Date: Wed, 21 Oct 2026 11:10:13 +0200 Subject: [PATCH] #69 - Align composer.json (Symfony style, maintainers) and the bundle class on the other process bundles composer.json on the Symfony style (4-space indentation, | between the constraints); authors: the current maintainers only. The bundle class calls parent::build(). Co-Authored-By: Claude Opus 5.5 (1M context) --- composer.json | 37 +++++++++++++++++++---------- src/CleverAgeCacheProcessBundle.php | 2 ++ 2 files changed, 27 insertions(+), 12 deletions(-) diff --git a/composer.json b/composer.json index 880e816..76185e5 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,20 @@ { "name": "Nicolas Joubert", "email": "njoubert@clever-age.com", - "role": "Lead Developer" + "homepage": "https://github.com/njoubert-cleverage", + "role": "Maintainer" + }, + { + "name": "Xavier Marchegay", + "email": "xmarchegay@clever-age.com", + "homepage": "https://github.com/xaviermarchegay", + "role": "Maintainer" + }, + { + "name": "Grégory Tonon", + "email": "gtonon@clever-age.com", + "homepage": "https://github.com/clever-age-gtonon", + "role": "Maintainer" } ], "autoload": { @@ -33,28 +46,28 @@ "require": { "php": "^8.2", "cleverage/process-bundle": "^5.0", - "psr/cache": "^2 || ^3", - "symfony/cache": "^6.4 || ^7.4 || ^8", - "symfony/config": "^6.4 || ^7.4 || ^8", - "symfony/dependency-injection": "^6.4 || ^7.4 || ^8", - "symfony/deprecation-contracts": "^2.5 || ^3", - "symfony/http-kernel": "^6.4 || ^7.4 || ^8", - "symfony/options-resolver": "^6.4 || ^7.4 || ^8", + "psr/cache": "^2|^3", + "symfony/cache": "^6.4|^7.4|^8", + "symfony/config": "^6.4|^7.4|^8", + "symfony/dependency-injection": "^6.4|^7.4|^8", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/http-kernel": "^6.4|^7.4|^8", + "symfony/options-resolver": "^6.4|^7.4|^8", "symfony/polyfill-php83": "^1.33", "symfony/polyfill-php84": "^1.33", "symfony/polyfill-php85": "^1.33", - "symfony/service-contracts": "^2.5 || ^3" + "symfony/service-contracts": "^2.5|^3" }, "require-dev": { "friendsofphp/php-cs-fixer": "*", "phpstan/extension-installer": "*", "phpstan/phpstan": "*", "phpstan/phpstan-symfony": "*", - "phpunit/phpunit": "^10.5 || ^11 || ^12 || ^13", - "psr/log": "^2 || ^3", + "phpunit/phpunit": "^10.5|^11|^12|^13", + "psr/log": "^2|^3", "rector/rector": "*", "roave/security-advisories": "dev-latest", - "symfony/framework-bundle": "^6.4 || ^7.4 || ^8", + "symfony/framework-bundle": "^6.4|^7.4|^8", "symfony/test-pack": "^1.1" }, "config": { diff --git a/src/CleverAgeCacheProcessBundle.php b/src/CleverAgeCacheProcessBundle.php index 7ad5012..bf8f70e 100644 --- a/src/CleverAgeCacheProcessBundle.php +++ b/src/CleverAgeCacheProcessBundle.php @@ -29,6 +29,8 @@ class CleverAgeCacheProcessBundle extends Bundle */ public function build(ContainerBuilder $container): void { + parent::build($container); + $container->addCompilerPass(new RegisterAdaptersPass()); }