Skip to content

Commit 479a875

Browse files
The effort of testing the execution path for colorization is not worth it
1 parent 1b80b5a commit 479a875

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/TextUI/Command/Commands/CheckPhpConfigurationCommand.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@ private function ok(): string
133133
return 'ok';
134134
}
135135

136+
// @codeCoverageIgnoreStart
136137
return Color::colorizeTextBox('fg-green, bold', 'ok');
138+
// @codeCoverageIgnoreEnd
137139
}
138140

139141
/**
@@ -145,6 +147,8 @@ private function notOk(): string
145147
return 'not ok';
146148
}
147149

150+
// @codeCoverageIgnoreStart
148151
return Color::colorizeTextBox('fg-red, bold', 'not ok');
152+
// @codeCoverageIgnoreEnd
149153
}
150154
}

0 commit comments

Comments
 (0)