Skip to content
This repository was archived by the owner on Aug 21, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@
"ext-xml": "*",
"ext-xmlwriter": "*",
"ergebnis/composer-normalize": "^2.52.0",
"infection/infection": "^0.33.2",
"infection/infection": "^0.34.0",
"jbelien/phpstan-sarif-formatter": "^1.2.0",
"laminas/laminas-modulemanager": "^2.19.0",
"mimmi20/coding-standard": "^6.2.5",
"nikic/php-parser": "^5.7.0",
"nikic/php-parser": "^5.8.0",
"phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan": "^2.2.2",
"phpstan/phpstan": "^2.2.5",
"phpstan/phpstan-deprecation-rules": "^2.0.4",
"phpunit/phpunit": "^12.5.3",
"rector/rector": "^2.4.5",
"rector/rector": "^2.5.7",
"rector/type-perfect": "^2.1.4",
"shipmonk/composer-dependency-analyser": "^1.8.4",
"symfony/process": "^7.3.4",
Expand Down
34 changes: 3 additions & 31 deletions tests/StreamFormatterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,6 @@ static function (TableSeparator | array $row) use ($matcher, $table, $datetime,
table: $table,
format: '%message% %context.five% %extra.app%',
tableStyle: $tableStyle,
dateFormat: null,
allowInlineLineBreaks: false,
);

Expand Down Expand Up @@ -1366,7 +1365,6 @@ static function (TableSeparator | array $row) use ($matcher, $table, $datetime,
table: $table,
format: '%message% %context.five% %extra.app%',
tableStyle: $tableStyle,
dateFormat: null,
allowInlineLineBreaks: true,
);

Expand Down Expand Up @@ -1622,7 +1620,6 @@ static function (TableSeparator | array $row) use ($matcher, $table, $datetime,
table: $table,
format: '%message% %context.five% <%extra.Exception%>',
tableStyle: $tableStyle,
dateFormat: null,
allowInlineLineBreaks: true,
);

Expand Down Expand Up @@ -1868,7 +1865,6 @@ static function (TableSeparator | array $row) use ($matcher, $table, $datetime,
table: $table,
format: '%message% %context.five% %extra.app%',
tableStyle: $tableStyle,
dateFormat: null,
allowInlineLineBreaks: true,
);

Expand Down Expand Up @@ -2261,7 +2257,6 @@ static function (TableSeparator | array $row) use ($matcher, $table, $datetime,
table: $table,
format: '%message% %context.five% %extra.app%',
tableStyle: $tableStyle,
dateFormat: null,
allowInlineLineBreaks: true,
);

Expand Down Expand Up @@ -2654,7 +2649,6 @@ static function (TableSeparator | array $row) use ($matcher, $table, $datetime,
table: $table,
format: '%message% context.one %context.five% %extra.app% extra.Exception',
tableStyle: $tableStyle,
dateFormat: null,
allowInlineLineBreaks: true,
);

Expand Down Expand Up @@ -2828,7 +2822,6 @@ static function (TableSeparator | array $row) use ($matcher, $table, $datetime,
table: $table,
format: '%message% %context.one% %context.five% %context% %extra.app% %extra.app% %extra%',
tableStyle: $tableStyle,
dateFormat: null,
allowInlineLineBreaks: true,
);

Expand Down Expand Up @@ -3003,7 +2996,6 @@ static function (TableSeparator | array $row) use ($matcher, $table, $datetime,
table: $table,
format: '%message% %context.one% %context.five% %context% %extra.app% %extra.app% %extra%',
tableStyle: $tableStyle,
dateFormat: null,
allowInlineLineBreaks: true,
);

Expand Down Expand Up @@ -3084,7 +3076,6 @@ public function testFormat13(): void
table: $table,
format: '%message% %context.one% %context.five% %context% %extra.app% %extra.app% %extra%',
tableStyle: $tableStyle,
dateFormat: null,
allowInlineLineBreaks: true,
);

Expand Down Expand Up @@ -3164,7 +3155,6 @@ public function testFormat14(): void
table: $table,
format: '%message% %context.one% %context.five% %context% %extra.app% %extra.app% %extra%',
tableStyle: $tableStyle,
dateFormat: null,
allowInlineLineBreaks: true,
);

Expand Down Expand Up @@ -3449,7 +3439,6 @@ static function (TableSeparator | array $row) use ($matcher, $table, $datetime,
table: $table,
format: '%message% %context.one% %context.five% %context% %extra.app% %extra.app% %extra%',
tableStyle: $tableStyle,
dateFormat: null,
allowInlineLineBreaks: true,
);

Expand Down Expand Up @@ -3529,7 +3518,6 @@ public function testFormat16(): void
table: $table,
format: '%message% %context.one% %context.five% %context% %extra.app% %extra.app% %extra%',
tableStyle: $tableStyle,
dateFormat: null,
allowInlineLineBreaks: false,
);

Expand Down Expand Up @@ -3621,7 +3609,6 @@ public function testFormat17(): void
table: $table,
format: '%message% %context.one% %context.five% %context% %extra.app% %extra.app% %extra%',
tableStyle: $tableStyle,
dateFormat: null,
allowInlineLineBreaks: true,
);

Expand Down Expand Up @@ -4041,12 +4028,7 @@ public function testFormatBatch2(): void
$output = new BufferedOutput();
$table = new Table($output);

$formatter = new StreamFormatter(
output: $output,
table: $table,
format: null,
tableStyle: $tableStyle,
);
$formatter = new StreamFormatter(output: $output, table: $table, tableStyle: $tableStyle);

$formatted = $formatter->formatBatch([$record1, $record2, $record3]);

Expand Down Expand Up @@ -4146,12 +4128,7 @@ public function testFormatBatch3(): void
$output = new BufferedOutput();
$table = new Table($output);

$formatter = new StreamFormatter(
output: $output,
table: $table,
format: null,
tableStyle: $tableStyle,
);
$formatter = new StreamFormatter(output: $output, table: $table, tableStyle: $tableStyle);

$formatted = $formatter->formatBatch([$record1, $record2, $record3]);

Expand Down Expand Up @@ -4251,12 +4228,7 @@ public function testFormatBatch4(): void
$output = new BufferedOutput();
$table = new Table($output);

$formatter = new StreamFormatter(
output: $output,
table: $table,
format: null,
tableStyle: $tableStyle,
);
$formatter = new StreamFormatter(output: $output, table: $table, tableStyle: $tableStyle);

$formatted = $formatter->formatBatch([$record1, $record2, $record3]);

Expand Down
Loading