-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Description
Let me know, if this report is ok. I've got more of these.
Error report:
Function includeIfExists not found.
Full code:
declare (strict_types = 1);
function includeIfExists(string $file)
{
if (file_exists($file)) {
return include $file;
}
}
if (
(!$classLoader = includeIfExists(__DIR__.'/../vendor/autoload.php')) &&
(!$classLoader = includeIfExists(__DIR__.'/../../../autoload.php'))
) {
echo 'You must set up the project dependencies, run the following commands:'.PHP_EOL.
'curl -sS https://getcomposer.org/installer | php'.PHP_EOL.
'php composer.phar install'.PHP_EOL;
exit(1);
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels