Fix deprecation warnings in code inspections for vendor/autoload.php, fixes #12331
parent
4b41c176fd
commit
a121ae88af
|
@ -975,10 +975,7 @@ if (PHP_VERSION_ID < 50600) {
|
|||
echo \$err;
|
||||
}
|
||||
}
|
||||
trigger_error(
|
||||
\$err,
|
||||
E_USER_ERROR
|
||||
);
|
||||
throw new RuntimeException(\$err);
|
||||
}
|
||||
|
||||
require_once $vendorPathToTargetDirCode;
|
||||
|
|
|
@ -14,10 +14,7 @@ if (PHP_VERSION_ID < 50600) {
|
|||
echo $err;
|
||||
}
|
||||
}
|
||||
trigger_error(
|
||||
$err,
|
||||
E_USER_ERROR
|
||||
);
|
||||
throw new RuntimeException($err);
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
|
|
@ -14,10 +14,7 @@ if (PHP_VERSION_ID < 50600) {
|
|||
echo $err;
|
||||
}
|
||||
}
|
||||
trigger_error(
|
||||
$err,
|
||||
E_USER_ERROR
|
||||
);
|
||||
throw new RuntimeException($err);
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
|
|
@ -14,10 +14,7 @@ if (PHP_VERSION_ID < 50600) {
|
|||
echo $err;
|
||||
}
|
||||
}
|
||||
trigger_error(
|
||||
$err,
|
||||
E_USER_ERROR
|
||||
);
|
||||
throw new RuntimeException($err);
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
|
Loading…
Reference in New Issue