Skip to content

Commit f0a6e6f

Browse files
Use PHP_EOL
1 parent 1140fad commit f0a6e6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Runner/ShutdownHandler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*/
1010
namespace PHPUnit\Runner;
1111

12+
use const PHP_EOL;
1213
use function register_shutdown_function;
1314
use function rtrim;
1415

@@ -45,7 +46,7 @@ private static function register(): void
4546
register_shutdown_function(
4647
static function (): void
4748
{
48-
print rtrim(self::$message) . "\n";
49+
print rtrim(self::$message) . PHP_EOL;
4950
},
5051
);
5152
}

0 commit comments

Comments
 (0)