Skip to content

Commit 03f8f5c

Browse files
Merge pull request #4573 from magento-qwerty/MC-18793
Fixed Issues: - MC-18793: Remove PHP7.1 syntax from HTML static test
2 parents 2e00a7f + 5d5ccf6 commit 03f8f5c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/tests/static/framework/Magento/TestFramework/CodingStandard/Tool/CodeSniffer/HtmlWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class HtmlWrapper extends Wrapper
1313
{
1414
const FILE_EXTENSION = 'html';
1515

16-
private const TOKENIZER = 'PHP';
16+
const TOKENIZER = 'PHP';
1717

1818
/**
1919
* @inheritDoc

dev/tests/static/testsuite/Magento/Test/Html/LiveCodeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class LiveCodeTest extends TestCase
2727
*
2828
* @return void
2929
*/
30-
public static function setUpBeforeClass(): void
30+
public static function setUpBeforeClass()
3131
{
3232
self::$reportDir = BP . '/dev/tests/static/report';
3333
if (!is_dir(self::$reportDir)) {
@@ -40,7 +40,7 @@ public static function setUpBeforeClass(): void
4040
*
4141
* @return void
4242
*/
43-
public function testCodeStyle(): void
43+
public function testCodeStyle()
4444
{
4545
$reportFile = self::$reportDir . '/html_report.txt';
4646
$wrapper = new CodeSniffer\HtmlWrapper();

0 commit comments

Comments
 (0)