From 4cd9f3191a28d709f8e0c5d6e17b80c344b4cc00 Mon Sep 17 00:00:00 2001 From: Greg Sherwood Date: Fri, 27 Aug 2021 09:22:28 +1000 Subject: [PATCH] Runner: removed use of deprecated auto_detect_line_endings ini setting Ref: * squizlabs/PHP_CodeSniffer 3394 --- src/Runner.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Runner.php b/src/Runner.php index ca1d1476a7..ab1d5f785d 100644 --- a/src/Runner.php +++ b/src/Runner.php @@ -255,10 +255,6 @@ public function init() define('PHP_CODESNIFFER_CBF', false); } - // Ensure this option is enabled or else line endings will not always - // be detected properly for files created on a Mac with the /r line ending. - @ini_set('auto_detect_line_endings', true); - // Disable the PCRE JIT as this caused issues with parallel running. ini_set('pcre.jit', false);