Skip to content

Commit 59b4e84

Browse files
Apply "visibility_required" CS rule to constants
php-cs-fixer fix --rules='{"visibility_required": ["property", "method", "const"]}'
1 parent 7d119d2 commit 59b4e84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NodeVisitor/TranslationNodeVisitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*/
2828
class TranslationNodeVisitor extends AbstractNodeVisitor
2929
{
30-
const UNDEFINED_DOMAIN = '_undefined';
30+
public const UNDEFINED_DOMAIN = '_undefined';
3131

3232
private $enabled = false;
3333
private $messages = [];

0 commit comments

Comments
 (0)