Skip to content

Commit be7c114

Browse files
committed
Applying patch from fabbot (reviewed manually)
1 parent 45b7304 commit be7c114

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Bridge/Twig/Tests/Translation/TwigExtractorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222

2323
class TwigExtractorTest extends TestCase
2424
{
25-
const VARIABLES_NOTE_CATEGORY = 'symfony-extractor-variables';
26-
const VARIABLES_NOTE_PREFIX = 'Available variables: ';
25+
private const VARIABLES_NOTE_CATEGORY = 'symfony-extractor-variables';
26+
private const VARIABLES_NOTE_PREFIX = 'Available variables: ';
2727

2828
/**
2929
* @dataProvider getExtractData

src/Symfony/Component/Translation/Tests/fixtures/extractor/translation.html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
<?php $view['translator']->trans('default-domain-long-array', array(), null); ?>
7272

73-
<?php // Check behavior when the same key is used multiple times (no duplicate variables notes, keep higher variables count) ?>
73+
Check behavior when the same key is used multiple times (no duplicate variables notes, keep higher variables count)
7474
<?php $view['translator']->trans('message-used-multiple-times', ['var1' => 'val1', 'var2' => 'val2']); ?>
7575
<?php $view['translator']->trans('message-used-multiple-times', ['var1' => 'val1', 'var2' => 'val2', 'var3' => 'val3']); ?>
7676
<?php $view['translator']->trans('message-used-multiple-times', ['var1' => 'val1']); ?>

0 commit comments

Comments
 (0)