Use long array syntax

This commit is contained in:
Graham Campbell 2019-12-28 14:41:51 +00:00 committed by GitHub
parent 75b1551956
commit d62eb48b76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ class MarkdownTestHelper
RecursiveRegexIterator::GET_MATCH
);
$dataValues = [];
$dataValues = array();
/** @var SplFileInfo $inputFile */
foreach ($regexIterator as $inputFiles) {
@ -31,7 +31,7 @@ class MarkdownTestHelper
$expectedHtmlPath = substr($inputMarkdownPath, 0, -4) . 'html';
$xhtml = false;
}
$dataValues[] = [$inputMarkdownPath, $expectedHtmlPath, $xhtml];
$dataValues[] = array($inputMarkdownPath, $expectedHtmlPath, $xhtml);
}
}