Skip to content

Commit b096bd9

Browse files
committed
Drop support for Symfony 5 due to incompatibility with monolog 3
1 parent 035ab6c commit b096bd9

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

.github/workflows/ci.yml

-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ jobs:
3434
deprecation: max[direct]=0
3535

3636
# symfony version
37-
- php: 8.3
38-
symfony: '^5.4'
3937
- php: 8.3
4038
symfony: '^6.4'
4139
- php: 8.3

Command/NotifyDeploymentCommand.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,13 @@ class NotifyDeploymentCommand extends Command
2525
public const EXIT_UNAUTHORIZED = 2;
2626
public const EXIT_HTTP_ERROR = 3;
2727

28-
protected static $defaultName = 'newrelic:notify-deployment';
29-
3028
private $newrelic;
3129

3230
public function __construct(Config $newrelic)
3331
{
3432
$this->newrelic = $newrelic;
3533

36-
parent::__construct();
34+
parent::__construct('newrelic:notify-deployment');
3735
}
3836

3937
protected function configure(): void

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
],
1515
"require": {
1616
"php": "^8.1",
17-
"symfony/config": "^5.4|^6.4|^7.0",
18-
"symfony/console": "^5.4|^6.4|^7.0",
19-
"symfony/dependency-injection": "^5.4|^6.4|^7.0",
20-
"symfony/event-dispatcher": "^5.4|^6.4|^7.0",
21-
"symfony/http-kernel": "^5.4|^6.4|^7.0",
17+
"symfony/config": "^6.4|^7.0",
18+
"symfony/console": "^6.4|^7.0",
19+
"symfony/dependency-injection": "^6.4|^7.0",
20+
"symfony/event-dispatcher": "^6.4|^7.0",
21+
"symfony/http-kernel": "^6.4|^7.0",
2222
"monolog/monolog": "^3.0"
2323
},
2424
"require-dev": {
2525
"matthiasnoback/symfony-dependency-injection-test": "^4.3|^5.1",
26-
"symfony/framework-bundle": "^5.4|^6.4|^7.0",
26+
"symfony/framework-bundle": "^6.4|^7.0",
2727
"symfony/phpunit-bridge": "^5.3|^6.0|^7.0",
2828
"twig/twig": "^1.32|^2.4|^3.0",
2929
"symfony/monolog-bundle": "^3.10"

0 commit comments

Comments
 (0)