Skip to content

Commit 47d22f9

Browse files
[Messenger] Remove text format when using the messenger:stats command
1 parent 8dd2c5c commit 47d22f9

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

UPGRADE-8.0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,11 @@ Mailer
249249

250250
* Remove `TransportFactoryTestCase`, extend `AbstractTransportFactoryTestCase` instead
251251

252+
Messenger
253+
---------
254+
255+
* Remove `text` format when using the `messenger:stats` command
256+
252257
Notifier
253258
--------
254259

src/Symfony/Component/Messenger/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
8.0
5+
---
6+
7+
* Remove `text` format when using the `messenger:stats` command; use `txt` instead
8+
49
7.4
510
---
611

src/Symfony/Component/Messenger/Command/StatsCommand.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
6565
$io = new SymfonyStyle($input, $output instanceof ConsoleOutputInterface ? $output->getErrorOutput() : $output);
6666

6767
$format = $input->getOption('format');
68-
if ('text' === $format) {
69-
trigger_deprecation('symfony/messenger', '7.2', 'The "text" format is deprecated, use "txt" instead.');
70-
71-
$format = 'txt';
72-
}
7368
if (!\in_array($format, $this->getAvailableFormatOptions(), true)) {
7469
throw new InvalidArgumentException('Invalid output format.');
7570
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy