Skip to content

Commit

Permalink
fixup! Displaying version information in tests was going to go stale …
Browse files Browse the repository at this point in the history
…quick
  • Loading branch information
cs278 committed Jul 27, 2021
1 parent 8195c8d commit 11b3aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AuditCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ private static function clearLine(OutputInterface $output): void
*/
private static function isUnderTest(): bool
{
$value = filter_var(getenv('COMPOSER_AUDIT_TEST'), \FILTER_VALIDATE_BOOL);
$value = filter_var(getenv('COMPOSER_AUDIT_TEST'), \FILTER_VALIDATE_BOOLEAN);

return $value !== null ? $value : false;
}
Expand Down

0 comments on commit 11b3aa8

Please sign in to comment.