From fab432615dc8b5062abd120e70d55360445104da Mon Sep 17 00:00:00 2001 From: Nicolas Joubert Date: Wed, 21 Oct 2026 11:10:27 +0200 Subject: [PATCH] #75 - 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 | 49 ++++++++++++++---------------- src/CleverAgeRestProcessBundle.php | 2 ++ 2 files changed, 24 insertions(+), 27 deletions(-) diff --git a/composer.json b/composer.json index c337aae..92419e4 100644 --- a/composer.json +++ b/composer.json @@ -15,27 +15,22 @@ "license": "MIT", "authors": [ { - "name": "Vincent Chalnot", - "email": "vchalnot@clever-age.com", - "homepage": "http://chalnot.fr", - "role": "Lead Developer" + "name": "Nicolas Joubert", + "email": "njoubert@clever-age.com", + "homepage": "https://github.com/njoubert-cleverage", + "role": "Maintainer" }, { - "name": "Valentin Clavreul", - "email": "vclavreul@clever-age.com", - "role": "Developer" + "name": "Xavier Marchegay", + "email": "xmarchegay@clever-age.com", + "homepage": "https://github.com/xaviermarchegay", + "role": "Maintainer" }, { - "name": "Madeline Veyrenc", - "email": "mveyrenc@clever-age.com", - "homepage": "https://github.com/mveyrenc", - "role": "Developer" - }, - { - "name": "Xavier Marchegay", - "email": "xmarchegay@clever-age.com", - "homepage": "https://github.com/xmarchegay", - "role": "Lead Developer" + "name": "Grégory Tonon", + "email": "gtonon@clever-age.com", + "homepage": "https://github.com/clever-age-gtonon", + "role": "Maintainer" } ], "autoload": { @@ -51,28 +46,28 @@ "require": { "php": "^8.2", "cleverage/process-bundle": "^5.0", - "psr/log": "^2 || ^3", - "symfony/config": "^6.4 || ^7.4 || ^8", - "symfony/dependency-injection": "^6.4 || ^7.4 || ^8", - "symfony/deprecation-contracts": "^2.5 || ^3", - "symfony/http-client": "^6.4 || ^7.4 || ^8", + "psr/log": "^2|^3", + "symfony/config": "^6.4|^7.4|^8", + "symfony/dependency-injection": "^6.4|^7.4|^8", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/http-client": "^6.4|^7.4|^8", "symfony/http-client-contracts": "^3", - "symfony/http-kernel": "^6.4 || ^7.4 || ^8", - "symfony/options-resolver": "^6.4 || ^7.4 || ^8", + "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", + "phpunit/phpunit": "^10.5|^11|^12|^13", "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/CleverAgeRestProcessBundle.php b/src/CleverAgeRestProcessBundle.php index 1bdb252..6787b14 100644 --- a/src/CleverAgeRestProcessBundle.php +++ b/src/CleverAgeRestProcessBundle.php @@ -29,6 +29,8 @@ class CleverAgeRestProcessBundle extends Bundle */ public function build(ContainerBuilder $container): void { + parent::build($container); + $container->addCompilerPass(new RegisterClientsPass()); }