Skip to content

Commit 4cd9f31

Browse files
gsherwoodjrfnl
authored andcommitted
Runner: removed use of deprecated auto_detect_line_endings ini setting
Ref: * squizlabs/PHP_CodeSniffer 3394
1 parent d91b9f2 commit 4cd9f31

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Runner.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,6 @@ public function init()
255255
define('PHP_CODESNIFFER_CBF', false);
256256
}
257257

258-
// Ensure this option is enabled or else line endings will not always
259-
// be detected properly for files created on a Mac with the /r line ending.
260-
@ini_set('auto_detect_line_endings', true);
261-
262258
// Disable the PCRE JIT as this caused issues with parallel running.
263259
ini_set('pcre.jit', false);
264260

0 commit comments

Comments
 (0)