Skip to content

Commit 2befc49

Browse files
Apply "visibility_required" CS rule to constants
php-cs-fixer fix --rules='{"visibility_required": ["property", "method", "const"]}'
1 parent 6dd958a commit 2befc49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dotenv.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
*/
2626
final class Dotenv
2727
{
28-
const VARNAME_REGEX = '(?i:[A-Z][A-Z0-9_]*+)';
29-
const STATE_VARNAME = 0;
30-
const STATE_VALUE = 1;
28+
public const VARNAME_REGEX = '(?i:[A-Z][A-Z0-9_]*+)';
29+
public const STATE_VARNAME = 0;
30+
public const STATE_VALUE = 1;
3131

3232
private $path;
3333
private $cursor;

0 commit comments

Comments
 (0)