Skip to content

Commit

Permalink
Merge pull request #101 from janhelke/patch-2
Browse files Browse the repository at this point in the history
Create a utilities element
  • Loading branch information
mstruebing committed Jan 7, 2019
2 parents 76d9034 + ea0e8c9 commit df6ed5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/EditorconfigChecker/Validation/LineEndingValidator.php
Expand Up @@ -26,6 +26,9 @@ public function validate(
int $lineNumber,
bool $autoFix
) : bool {

$utilities = new Utilities();

if (isset($rules['end_of_line'])) {
if ($rules['end_of_line'] === 'lf') {
str_replace("\n", '', $content, $eolsLF);
Expand Down

0 comments on commit df6ed5e

Please sign in to comment.