Skip to content

Commit 15e79a0

Browse files
committed
Fix occurrences of CRLF line endings.
Add rule to .gitattributes to commit all files with LF line endings.
1 parent 9caf304 commit 15e79a0

File tree

6 files changed

+64
-63
lines changed

6 files changed

+64
-63
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
* text=auto
2+
* eol=lf
23

34
/tests export-ignore
45
/.gitattributes export-ignore

src/Exception/ExceptionInterface.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<?php
2-
3-
namespace Dotenv\Exception;
4-
5-
/**
6-
* This is the exception interface.
7-
*/
8-
interface ExceptionInterface
9-
{
10-
//
11-
}
1+
<?php
2+
3+
namespace Dotenv\Exception;
4+
5+
/**
6+
* This is the exception interface.
7+
*/
8+
interface ExceptionInterface
9+
{
10+
//
11+
}
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
<?php
2-
3-
namespace Dotenv\Exception;
4-
5-
use InvalidArgumentException;
6-
7-
/**
8-
* This is the invalid callback exception class.
9-
*/
10-
class InvalidCallbackException extends InvalidArgumentException implements ExceptionInterface
11-
{
12-
//
13-
}
1+
<?php
2+
3+
namespace Dotenv\Exception;
4+
5+
use InvalidArgumentException;
6+
7+
/**
8+
* This is the invalid callback exception class.
9+
*/
10+
class InvalidCallbackException extends InvalidArgumentException implements ExceptionInterface
11+
{
12+
//
13+
}
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
<?php
2-
3-
namespace Dotenv\Exception;
4-
5-
use InvalidArgumentException;
6-
7-
/**
8-
* This is the invalid file exception class.
9-
*/
10-
class InvalidFileException extends InvalidArgumentException implements ExceptionInterface
11-
{
12-
//
13-
}
1+
<?php
2+
3+
namespace Dotenv\Exception;
4+
5+
use InvalidArgumentException;
6+
7+
/**
8+
* This is the invalid file exception class.
9+
*/
10+
class InvalidFileException extends InvalidArgumentException implements ExceptionInterface
11+
{
12+
//
13+
}
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
<?php
2-
3-
namespace Dotenv\Exception;
4-
5-
use InvalidArgumentException;
6-
7-
/**
8-
* This is the invalid path exception class.
9-
*/
10-
class InvalidPathException extends InvalidArgumentException implements ExceptionInterface
11-
{
12-
//
13-
}
1+
<?php
2+
3+
namespace Dotenv\Exception;
4+
5+
use InvalidArgumentException;
6+
7+
/**
8+
* This is the invalid path exception class.
9+
*/
10+
class InvalidPathException extends InvalidArgumentException implements ExceptionInterface
11+
{
12+
//
13+
}

src/Exception/ValidationException.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
<?php
2-
3-
namespace Dotenv\Exception;
4-
5-
use RuntimeException;
6-
7-
/**
8-
* This is the validation exception class.
9-
*/
10-
class ValidationException extends RuntimeException implements ExceptionInterface
11-
{
12-
//
13-
}
1+
<?php
2+
3+
namespace Dotenv\Exception;
4+
5+
use RuntimeException;
6+
7+
/**
8+
* This is the validation exception class.
9+
*/
10+
class ValidationException extends RuntimeException implements ExceptionInterface
11+
{
12+
//
13+
}

0 commit comments

Comments
 (0)