Skip to content

Commit f53d6ad

Browse files
Consistently import native constants
1 parent 8cc1582 commit f53d6ad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
'modernize_types_casting' => true,
141141
'multiline_comment_opening_closing' => true,
142142
'multiline_whitespace_before_semicolons' => true,
143-
'native_constant_invocation' => false,
143+
'native_constant_invocation' => true,
144144
'native_function_casing' => false,
145145
'native_function_invocation' => [
146146
'include' => [

src/Util/Log/TeamCity.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*/
1010
namespace PHPUnit\Util\Log;
1111

12+
use const PHP_EOL;
1213
use function class_exists;
1314
use function count;
1415
use function explode;

0 commit comments

Comments
 (0)