Use 5.3 compatible array syntax
parent
868a872df2
commit
24c4322672
|
@ -606,7 +606,7 @@ METHOD_FOOTER;
|
||||||
function composerRequire$suffix(\$file)
|
function composerRequire$suffix(\$file)
|
||||||
{
|
{
|
||||||
if (empty(\$GLOBALS['composerRequiredFiles'])) {
|
if (empty(\$GLOBALS['composerRequiredFiles'])) {
|
||||||
\$GLOBALS['composerRequiredFiles'] = [];
|
\$GLOBALS['composerRequiredFiles'] = array();
|
||||||
}
|
}
|
||||||
\$fileSignature = md5_file(\$file);
|
\$fileSignature = md5_file(\$file);
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ class ComposerAutoloaderInitFilesAutoloadOrder
|
||||||
function composerRequireFilesAutoloadOrder($file)
|
function composerRequireFilesAutoloadOrder($file)
|
||||||
{
|
{
|
||||||
if (empty($GLOBALS['composerRequiredFiles'])) {
|
if (empty($GLOBALS['composerRequiredFiles'])) {
|
||||||
$GLOBALS['composerRequiredFiles'] = [];
|
$GLOBALS['composerRequiredFiles'] = array();
|
||||||
}
|
}
|
||||||
$fileSignature = md5_file($file);
|
$fileSignature = md5_file($file);
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ class ComposerAutoloaderInitFilesAutoload
|
||||||
function composerRequireFilesAutoload($file)
|
function composerRequireFilesAutoload($file)
|
||||||
{
|
{
|
||||||
if (empty($GLOBALS['composerRequiredFiles'])) {
|
if (empty($GLOBALS['composerRequiredFiles'])) {
|
||||||
$GLOBALS['composerRequiredFiles'] = [];
|
$GLOBALS['composerRequiredFiles'] = array();
|
||||||
}
|
}
|
||||||
$fileSignature = md5_file($file);
|
$fileSignature = md5_file($file);
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ class ComposerAutoloaderInitIncludePath
|
||||||
function composerRequireIncludePath($file)
|
function composerRequireIncludePath($file)
|
||||||
{
|
{
|
||||||
if (empty($GLOBALS['composerRequiredFiles'])) {
|
if (empty($GLOBALS['composerRequiredFiles'])) {
|
||||||
$GLOBALS['composerRequiredFiles'] = [];
|
$GLOBALS['composerRequiredFiles'] = array();
|
||||||
}
|
}
|
||||||
$fileSignature = md5_file($file);
|
$fileSignature = md5_file($file);
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ class ComposerAutoloaderInitTargetDir
|
||||||
function composerRequireTargetDir($file)
|
function composerRequireTargetDir($file)
|
||||||
{
|
{
|
||||||
if (empty($GLOBALS['composerRequiredFiles'])) {
|
if (empty($GLOBALS['composerRequiredFiles'])) {
|
||||||
$GLOBALS['composerRequiredFiles'] = [];
|
$GLOBALS['composerRequiredFiles'] = array();
|
||||||
}
|
}
|
||||||
$fileSignature = md5_file($file);
|
$fileSignature = md5_file($file);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue