Skip to content

Commit 05269f3

Browse files
Merge branch '5.1' into 5.2
* 5.1: Update .php_cs.dist Apply "visibility_required" CS rule to constants
2 parents f4b0975 + 0296d1c commit 05269f3

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
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: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838
*/
3939
class TranslationDebugCommand extends Command
4040
{
41-
const EXIT_CODE_GENERAL_ERROR = 64;
42-
const EXIT_CODE_MISSING = 65;
43-
const EXIT_CODE_UNUSED = 66;
44-
const EXIT_CODE_FALLBACK = 68;
45-
const MESSAGE_MISSING = 0;
46-
const MESSAGE_UNUSED = 1;
47-
const MESSAGE_EQUALS_FALLBACK = 2;
41+
public const EXIT_CODE_GENERAL_ERROR = 64;
42+
public const EXIT_CODE_MISSING = 65;
43+
public const EXIT_CODE_UNUSED = 66;
44+
public const EXIT_CODE_FALLBACK = 68;
45+
public const MESSAGE_MISSING = 0;
46+
public const MESSAGE_UNUSED = 1;
47+
public const MESSAGE_EQUALS_FALLBACK = 2;
4848

4949
protected static $defaultName = 'debug:translation';
5050

0 commit comments

Comments
 (0)