From f09b40f70f7bab11dc4230c4e78745518accdaef Mon Sep 17 00:00:00 2001 From: Ruud Kamphuis Date: Fri, 27 May 2022 11:20:52 +0200 Subject: [PATCH 01/17] NotifyDeploymentCommand > Define command name in config This fixes a deprecation on Symfony 6.1: The "Symfony\Component\Console\Command\Command::$defaultName" property is considered final. You should not override it in "Ekino\NewRelicBundle\Command\NotifyDeploymentCommand". --- Command/NotifyDeploymentCommand.php | 2 -- Resources/config/services.xml | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Command/NotifyDeploymentCommand.php b/Command/NotifyDeploymentCommand.php index d6e5ab7..493953a 100644 --- a/Command/NotifyDeploymentCommand.php +++ b/Command/NotifyDeploymentCommand.php @@ -25,8 +25,6 @@ class NotifyDeploymentCommand extends Command public const EXIT_UNAUTHORIZED = 2; public const EXIT_HTTP_ERROR = 3; - protected static $defaultName = 'newrelic:notify-deployment'; - private $newrelic; public function __construct(Config $newrelic) diff --git a/Resources/config/services.xml b/Resources/config/services.xml index 453c4b9..a36bfa4 100644 --- a/Resources/config/services.xml +++ b/Resources/config/services.xml @@ -10,6 +10,10 @@ + + + + From 0199856843b41f158e7d096ec9bba5779b41c202 Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Tue, 31 May 2022 22:01:01 -0300 Subject: [PATCH 02/17] Add PHP 8.1 to GitHub Actions --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ec23cd..f98d984 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: pull_request: ~ push: branches: - - master + - patch-1 jobs: php-cs-fixer: @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.1', '7.2', '7.3', '7.4', '8.0'] + php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1'] composer: [''] phpunit: [''] deprecation: [''] @@ -29,7 +29,7 @@ jobs: stability: [''] include: # Minimum supported dependencies with the latest and oldest PHP version - - php: 8.0 + - php: 8.1 composer: --prefer-stable --prefer-lowest deprecation: max[direct]=0 - php: 7.1 @@ -37,15 +37,15 @@ jobs: deprecation: max[direct]=0 # symfony version - - php: 8.0 + - php: 8.1 symfony: '^3.0' - - php: 8.0 + - php: 8.1 symfony: '^4.0' - - php: 8.0 + - php: 8.1 symfony: '^5.0' # dev - - php: 8.0 + - php: 8.1 stability: 'dev' steps: From 6ec63082115e1acd0fc98efcfe5a61b29c239110 Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Tue, 31 May 2022 23:26:15 -0300 Subject: [PATCH 03/17] Support Symfony 6.1 in PHP 8.1 (drops support for earlier PHP versions) --- .github/workflows/ci.yml | 5 +---- Logging/AdaptiveHandler.php | 3 ++- composer.json | 5 +++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f98d984..6a69ac9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1'] + php: ['8.1'] composer: [''] phpunit: [''] deprecation: [''] @@ -32,9 +32,6 @@ jobs: - php: 8.1 composer: --prefer-stable --prefer-lowest deprecation: max[direct]=0 - - php: 7.1 - composer: --prefer-stable --prefer-lowest - deprecation: max[direct]=0 # symfony version - php: 8.1 diff --git a/Logging/AdaptiveHandler.php b/Logging/AdaptiveHandler.php index 396fa67..1d0ee3a 100644 --- a/Logging/AdaptiveHandler.php +++ b/Logging/AdaptiveHandler.php @@ -14,6 +14,7 @@ namespace Ekino\NewRelicBundle\Logging; use Monolog\Handler\NewRelicHandler; +use Monolog\LogRecord; use Psr\Log\LogLevel; class AdaptiveHandler extends NewRelicHandler @@ -28,7 +29,7 @@ public function __construct( parent::__construct($level, $bubble, $appName, $explodeArrays, $transactionName); } - protected function write(array $record): void + protected function write(LogRecord $record): void { if (!$this->isNewRelicEnabled()) { return; diff --git a/composer.json b/composer.json index 357653c..cb49c71 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require": { - "php": "^7.1 | ^8.0", + "php": "^8.1", "symfony/config": "^3.4|^4.0|^5.0|^6.0", "symfony/console": "^3.4|^4.0|^5.0|^6.0", "symfony/dependency-injection": "^3.4|^4.0|^5.0|^6.0", @@ -29,7 +29,8 @@ "symfony/monolog-bundle": "^3.2" }, "conflict": { - "twig/twig": "<1.32" + "twig/twig": "<1.32", + "monolog/monolog": "<3.0" }, "suggest": { "symfony/monolog-bundle": "^3.2" From 9291a12d6aba10bc62a95a2fb8f835365b5d7d2c Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Tue, 31 May 2022 23:30:00 -0300 Subject: [PATCH 04/17] Fix deprecated phpunit.xml.dist Schema --- phpunit.xml.dist | 44 ++++++++++++++++---------------------------- 1 file changed, 16 insertions(+), 28 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 415b8b5..d2d3979 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,30 +1,18 @@ - - - - - ./Tests - - - - - - ./ - - ./Tests/ - ./Resources/ - ./vendor/ - - - - + + + + ./ + + + ./Tests/ + ./Resources/ + ./vendor/ + + + + + ./Tests + + From 6173df98f2a7440a0721b8ee71a4d3ce67c9f507 Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Tue, 31 May 2022 23:34:58 -0300 Subject: [PATCH 05/17] Fix deprecated $defaultName override in commands --- Command/NotifyDeploymentCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Command/NotifyDeploymentCommand.php b/Command/NotifyDeploymentCommand.php index d6e5ab7..4064646 100644 --- a/Command/NotifyDeploymentCommand.php +++ b/Command/NotifyDeploymentCommand.php @@ -14,19 +14,19 @@ namespace Ekino\NewRelicBundle\Command; use Ekino\NewRelicBundle\NewRelic\Config; +use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; +#[AsCommand(name: 'newrelic:notify-deployment')] class NotifyDeploymentCommand extends Command { public const EXIT_NO_APP_NAMES = 1; public const EXIT_UNAUTHORIZED = 2; public const EXIT_HTTP_ERROR = 3; - protected static $defaultName = 'newrelic:notify-deployment'; - private $newrelic; public function __construct(Config $newrelic) From 1cc565fc63998db170cd974d9af0677c78b14993 Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Tue, 31 May 2022 23:47:11 -0300 Subject: [PATCH 06/17] Add 'http_method_override' framework config option (suppress deprecation warning) --- Tests/AppKernel.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/AppKernel.php b/Tests/AppKernel.php index 9e3b397..3c1f4d9 100644 --- a/Tests/AppKernel.php +++ b/Tests/AppKernel.php @@ -98,6 +98,7 @@ public function registerContainerConfiguration(LoaderInterface $loader) 'resource' => 'kernel:loadRoutes', 'type' => 'service', ], + 'http_method_override' => false, ]); // Not setting the router to utf8 is deprecated in symfony 5.1 From 6f1437e0f86fadf2c5a1ce2f6cfd0263115a5deb Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Tue, 31 May 2022 23:58:06 -0300 Subject: [PATCH 07/17] Readd support for PHP < 8.1 --- .github/workflows/ci.yml | 13 +++++++++++-- Logging/AdaptiveHandler.php | 5 ++++- composer.json | 5 ++--- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a69ac9..96a4eca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,11 +17,12 @@ jobs: build: name: Build - runs-on: Ubuntu-20.04 + runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: - php: ['8.1'] + php: ['7.1, '7.2', '7.3', '7.4', '8.0', '8.1'] + composer-version: [''] composer: [''] phpunit: [''] deprecation: [''] @@ -32,6 +33,9 @@ jobs: - php: 8.1 composer: --prefer-stable --prefer-lowest deprecation: max[direct]=0 + - php: 7.1 + composer: --prefer-stable --prefer-lowest + deprecation: max[direct]=0 # symfony version - php: 8.1 @@ -69,6 +73,11 @@ jobs: run: | echo 'SYMFONY_REQUIRE=${{ matrix.symfony }}' >> $GITHUB_ENV + - name: Rollback Composer to 2.2 LTS + if: matrix.php == '7.1' + run: | + composer self-update --2.2 + - name: Download dependencies run: | composer update ${{ matrix.composer}} --prefer-dist --no-interaction diff --git a/Logging/AdaptiveHandler.php b/Logging/AdaptiveHandler.php index 1d0ee3a..2720920 100644 --- a/Logging/AdaptiveHandler.php +++ b/Logging/AdaptiveHandler.php @@ -29,7 +29,10 @@ public function __construct( parent::__construct($level, $bubble, $appName, $explodeArrays, $transactionName); } - protected function write(LogRecord $record): void + /** + * @inheritDoc + */ + protected function write($record): void { if (!$this->isNewRelicEnabled()) { return; diff --git a/composer.json b/composer.json index cb49c71..357653c 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require": { - "php": "^8.1", + "php": "^7.1 | ^8.0", "symfony/config": "^3.4|^4.0|^5.0|^6.0", "symfony/console": "^3.4|^4.0|^5.0|^6.0", "symfony/dependency-injection": "^3.4|^4.0|^5.0|^6.0", @@ -29,8 +29,7 @@ "symfony/monolog-bundle": "^3.2" }, "conflict": { - "twig/twig": "<1.32", - "monolog/monolog": "<3.0" + "twig/twig": "<1.32" }, "suggest": { "symfony/monolog-bundle": "^3.2" From a19a2943056e099993fe0e2f99d313c1c1ea448a Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Wed, 1 Jun 2022 00:02:48 -0300 Subject: [PATCH 08/17] Rollback attribute for $defaultName --- Command/NotifyDeploymentCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Command/NotifyDeploymentCommand.php b/Command/NotifyDeploymentCommand.php index 4064646..d6e5ab7 100644 --- a/Command/NotifyDeploymentCommand.php +++ b/Command/NotifyDeploymentCommand.php @@ -14,19 +14,19 @@ namespace Ekino\NewRelicBundle\Command; use Ekino\NewRelicBundle\NewRelic\Config; -use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; -#[AsCommand(name: 'newrelic:notify-deployment')] class NotifyDeploymentCommand extends Command { public const EXIT_NO_APP_NAMES = 1; public const EXIT_UNAUTHORIZED = 2; public const EXIT_HTTP_ERROR = 3; + protected static $defaultName = 'newrelic:notify-deployment'; + private $newrelic; public function __construct(Config $newrelic) From af93fa43c6274e476f0d87ca0d78e0161874cf04 Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Wed, 1 Jun 2022 00:06:14 -0300 Subject: [PATCH 09/17] Force Composer 2.2 via setup-php for PHP 7.1, fix deprecation warnings for Symfony 3 --- .github/workflows/ci.yml | 19 +++++++++++-------- Tests/AppKernel.php | 14 ++++++++++++++ 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96a4eca..9677213 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.1, '7.2', '7.3', '7.4', '8.0', '8.1'] + php: ['7.2', '7.3', '7.4', '8.0', '8.1'] composer-version: [''] composer: [''] phpunit: [''] @@ -29,17 +29,25 @@ jobs: symfony: [''] stability: [''] include: + # Force Composer 2.2 LTS for PHP 7.1 support + - php: 7.1 + composer-version: :2.2 + # Minimum supported dependencies with the latest and oldest PHP version - php: 8.1 composer: --prefer-stable --prefer-lowest deprecation: max[direct]=0 - php: 7.1 + composer-version: :2.2 composer: --prefer-stable --prefer-lowest deprecation: max[direct]=0 # symfony version - php: 8.1 symfony: '^3.0' + deprecation: max[self]=0 # since Symfony 3 itself causes them... + - php: 8.0 + symfony: '^3.0' - php: 8.1 symfony: '^4.0' - php: 8.1 @@ -51,11 +59,11 @@ jobs: steps: - name: Set up PHP - uses: shivammathur/setup-php@2.7.0 + uses: shivammathur/setup-php@2.18.1 with: php-version: ${{ matrix.php }} coverage: none - tools: flex + tools: flex, composer${{ matrix.composer-version }} - name: Checkout code uses: actions/checkout@v2 @@ -73,11 +81,6 @@ jobs: run: | echo 'SYMFONY_REQUIRE=${{ matrix.symfony }}' >> $GITHUB_ENV - - name: Rollback Composer to 2.2 LTS - if: matrix.php == '7.1' - run: | - composer self-update --2.2 - - name: Download dependencies run: | composer update ${{ matrix.composer}} --prefer-dist --no-interaction diff --git a/Tests/AppKernel.php b/Tests/AppKernel.php index 3c1f4d9..3f088a1 100644 --- a/Tests/AppKernel.php +++ b/Tests/AppKernel.php @@ -14,6 +14,7 @@ namespace Ekino\NewRelicBundle\Tests; use Ekino\NewRelicBundle\EkinoNewRelicBundle; +use Exception; use Symfony\Bundle\FrameworkBundle\FrameworkBundle; use Symfony\Component\Config\Loader\LoaderInterface; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; @@ -159,4 +160,17 @@ public function process(ContainerBuilder $container) return $container; } + + /** + * @throws Exception + */ + public function __serialize(): array + { + return unserialize($this->serialize()); + } + + public function __unserialize(array $data): void + { + $this->unserialize(serialize($data)); + } } From 87b97d9bae4af1aea1b52272f04cd62170668624 Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Wed, 1 Jun 2022 01:24:18 -0300 Subject: [PATCH 10/17] Drop PHP 7.1 support --- .github/workflows/ci.yml | 13 ++++--------- composer.json | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9677213..cc4f76b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: pull_request: ~ push: branches: - - patch-1 + - patch-1-1 jobs: php-cs-fixer: @@ -29,16 +29,11 @@ jobs: symfony: [''] stability: [''] include: - # Force Composer 2.2 LTS for PHP 7.1 support - - php: 7.1 - composer-version: :2.2 - # Minimum supported dependencies with the latest and oldest PHP version - php: 8.1 composer: --prefer-stable --prefer-lowest deprecation: max[direct]=0 - - php: 7.1 - composer-version: :2.2 + - php: 7.2 composer: --prefer-stable --prefer-lowest deprecation: max[direct]=0 @@ -59,11 +54,11 @@ jobs: steps: - name: Set up PHP - uses: shivammathur/setup-php@2.18.1 + uses: shivammathur/setup-php@2.7.0 with: php-version: ${{ matrix.php }} coverage: none - tools: flex, composer${{ matrix.composer-version }} + tools: flex - name: Checkout code uses: actions/checkout@v2 diff --git a/composer.json b/composer.json index 357653c..87d3e85 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require": { - "php": "^7.1 | ^8.0", + "php": "^7.2 | ^8.0", "symfony/config": "^3.4|^4.0|^5.0|^6.0", "symfony/console": "^3.4|^4.0|^5.0|^6.0", "symfony/dependency-injection": "^3.4|^4.0|^5.0|^6.0", From f9681865435f4cb7f5d7f7306492d80eaa29e24f Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Wed, 1 Jun 2022 01:31:46 -0300 Subject: [PATCH 11/17] Revert "Fix deprecated phpunit.xml.dist Schema" This reverts commit 9291a12d6aba10bc62a95a2fb8f835365b5d7d2c. --- phpunit.xml.dist | 44 ++++++++++++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index d2d3979..415b8b5 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,18 +1,30 @@ - - - - ./ - - - ./Tests/ - ./Resources/ - ./vendor/ - - - - - ./Tests - - + + + + + ./Tests + + + + + + ./ + + ./Tests/ + ./Resources/ + ./vendor/ + + + + From 8e0213e0de55825e0d45e24c4645eb2a3ea99483 Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Wed, 1 Jun 2022 01:56:28 -0300 Subject: [PATCH 12/17] Fix matthiasnoback/symfony-dependency-injection-test version constraint --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 87d3e85..24ef6d7 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "symfony/http-kernel": "^3.4|^4.0|^5.0|^6.0" }, "require-dev": { - "matthiasnoback/symfony-dependency-injection-test": "^3.1|^4.0", + "matthiasnoback/symfony-dependency-injection-test": "^4.0", "symfony/framework-bundle": "^3.4|^4.0|^5.0|^6.0", "symfony/phpunit-bridge": "^5.3", "symfony/debug": ">3.4.21", From 2077b59beedacd9438e8a1b08ae352af1e935551 Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Wed, 1 Jun 2022 02:19:51 -0300 Subject: [PATCH 13/17] Revert ci.yml branch tag --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc4f76b..b081add 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: pull_request: ~ push: branches: - - patch-1-1 + - master jobs: php-cs-fixer: @@ -22,7 +22,6 @@ jobs: fail-fast: false matrix: php: ['7.2', '7.3', '7.4', '8.0', '8.1'] - composer-version: [''] composer: [''] phpunit: [''] deprecation: [''] @@ -38,11 +37,11 @@ jobs: deprecation: max[direct]=0 # symfony version + - php: 8.0 + symfony: '^3.0' - php: 8.1 symfony: '^3.0' deprecation: max[self]=0 # since Symfony 3 itself causes them... - - php: 8.0 - symfony: '^3.0' - php: 8.1 symfony: '^4.0' - php: 8.1 From ee0d9063be16921fa8ded44adb4b5f1f4130c841 Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Wed, 16 Nov 2022 10:59:05 -0300 Subject: [PATCH 14/17] Update AppKernel.php --- Tests/AppKernel.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tests/AppKernel.php b/Tests/AppKernel.php index 3f088a1..f8051b8 100644 --- a/Tests/AppKernel.php +++ b/Tests/AppKernel.php @@ -14,7 +14,6 @@ namespace Ekino\NewRelicBundle\Tests; use Ekino\NewRelicBundle\EkinoNewRelicBundle; -use Exception; use Symfony\Bundle\FrameworkBundle\FrameworkBundle; use Symfony\Component\Config\Loader\LoaderInterface; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; @@ -162,7 +161,7 @@ public function process(ContainerBuilder $container) } /** - * @throws Exception + * @throws \Exception */ public function __serialize(): array { From f4242abb11e84896191862f54c027ad147ceb8c8 Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Wed, 16 Nov 2022 12:26:30 -0300 Subject: [PATCH 15/17] Update AdaptiveHandler.php --- Logging/AdaptiveHandler.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/Logging/AdaptiveHandler.php b/Logging/AdaptiveHandler.php index 2720920..75189c9 100644 --- a/Logging/AdaptiveHandler.php +++ b/Logging/AdaptiveHandler.php @@ -29,9 +29,6 @@ public function __construct( parent::__construct($level, $bubble, $appName, $explodeArrays, $transactionName); } - /** - * @inheritDoc - */ protected function write($record): void { if (!$this->isNewRelicEnabled()) { From 772112fd16bb3406e7a04c73c227a58e9638f371 Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Wed, 16 Nov 2022 12:49:27 -0300 Subject: [PATCH 16/17] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b081add..a3ebc5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.2', '7.3', '7.4', '8.0', '8.1'] + php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1'] composer: [''] phpunit: [''] deprecation: [''] @@ -32,7 +32,7 @@ jobs: - php: 8.1 composer: --prefer-stable --prefer-lowest deprecation: max[direct]=0 - - php: 7.2 + - php: 7.1 composer: --prefer-stable --prefer-lowest deprecation: max[direct]=0 From e784413ab222027b0a7255945b12f764fc57e8f6 Mon Sep 17 00:00:00 2001 From: Kevin Mian Kraiker Date: Wed, 16 Nov 2022 12:50:08 -0300 Subject: [PATCH 17/17] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 24ef6d7..3931f21 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require": { - "php": "^7.2 | ^8.0", + "php": "^7.1 | ^8.0", "symfony/config": "^3.4|^4.0|^5.0|^6.0", "symfony/console": "^3.4|^4.0|^5.0|^6.0", "symfony/dependency-injection": "^3.4|^4.0|^5.0|^6.0",