Skip to content

Commit 598de8d

Browse files
committed
Set constant visibility in tests to private where possible.
1 parent 975985e commit 598de8d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Tests/Encoder/ChainDecoderTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
class ChainDecoderTest extends TestCase
1818
{
19-
const FORMAT_1 = 'format1';
20-
const FORMAT_2 = 'format2';
21-
const FORMAT_3 = 'format3';
19+
private const FORMAT_1 = 'format1';
20+
private const FORMAT_2 = 'format2';
21+
private const FORMAT_3 = 'format3';
2222

2323
private $chainDecoder;
2424
private $decoder1;

Tests/Encoder/ChainEncoderTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919
class ChainEncoderTest extends TestCase
2020
{
21-
const FORMAT_1 = 'format1';
22-
const FORMAT_2 = 'format2';
23-
const FORMAT_3 = 'format3';
21+
private const FORMAT_1 = 'format1';
22+
private const FORMAT_2 = 'format2';
23+
private const FORMAT_3 = 'format3';
2424

2525
private $chainEncoder;
2626
private $encoder1;

Tests/Normalizer/DataUriNormalizerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
*/
2121
class DataUriNormalizerTest extends TestCase
2222
{
23-
const TEST_GIF_DATA = 'data:image/gif;base64,R0lGODdhAQABAIAAAP///////ywAAAAAAQABAAACAkQBADs=';
24-
const TEST_TXT_DATA = 'data:text/plain,K%C3%A9vin%20Dunglas%0A';
25-
const TEST_TXT_CONTENT = "Kévin Dunglas\n";
23+
private const TEST_GIF_DATA = 'data:image/gif;base64,R0lGODdhAQABAIAAAP///////ywAAAAAAQABAAACAkQBADs=';
24+
private const TEST_TXT_DATA = 'data:text/plain,K%C3%A9vin%20Dunglas%0A';
25+
private const TEST_TXT_CONTENT = "Kévin Dunglas\n";
2626

2727
/**
2828
* @var DataUriNormalizer

0 commit comments

Comments
 (0)