Skip to content

Commit 542bc5d

Browse files
committed
Fix node type
1 parent b625d14 commit 542bc5d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/Extension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function configure(ArrayNodeDefinition $builder): void
189189
->scalarNode('highLowerBound')->defaultValue(90)->end()
190190
->booleanNode('showOnlySummary')->defaultValue(false)->end()
191191
->booleanNode('showUncoveredFiles')->defaultValue(false)->end()
192-
->booleanNode('target')->defaultNull()->end()
192+
->scalarNode('target')->defaultNull()->end()
193193
->end()
194194
->end()
195195
->arrayNode('xml')

tests/ReportServiceTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public function testCanGenerateTextReport(): void
2828
$reportService = new ReportService(
2929
[
3030
'text' => [
31+
'target' => null,
3132
'lowUpperBound' => 50,
3233
'highLowerBound' => 90,
3334
'showColors' => true,

0 commit comments

Comments
 (0)