Skip to content

Commit 2b90988

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

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Command/AssetsInstallCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
*/
3636
class AssetsInstallCommand extends Command
3737
{
38-
const METHOD_COPY = 'copy';
39-
const METHOD_ABSOLUTE_SYMLINK = 'absolute symlink';
40-
const METHOD_RELATIVE_SYMLINK = 'relative symlink';
38+
public const METHOD_COPY = 'copy';
39+
public const METHOD_ABSOLUTE_SYMLINK = 'absolute symlink';
40+
public const METHOD_RELATIVE_SYMLINK = 'relative symlink';
4141

4242
protected static $defaultName = 'assets:install';
4343

Command/TranslationDebugCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
*/
4040
class TranslationDebugCommand extends Command
4141
{
42-
const MESSAGE_MISSING = 0;
43-
const MESSAGE_UNUSED = 1;
44-
const MESSAGE_EQUALS_FALLBACK = 2;
42+
public const MESSAGE_MISSING = 0;
43+
public const MESSAGE_UNUSED = 1;
44+
public const MESSAGE_EQUALS_FALLBACK = 2;
4545

4646
protected static $defaultName = 'debug:translation';
4747

0 commit comments

Comments
 (0)