Passed
Push — master ( e6c475...db71b9 )
by Darío
04:47
created

public/index.php (1 issue)

Labels
Severity
1
<?php
2
3
chdir(dirname(__DIR__));
4
5
// Set localtime zone
6
date_default_timezone_set("America/Bogota");
7
8
// Memory limit
9
ini_set("memory_limit","256M");
10
11
// Run application
12
require_once("vendor/autoload.php");
13
14
try {
15
	$mvc = new Drone\Mvc\Application(include "config/application.config.php");
16
	$mvc->run();
17
}
18
catch (Drone\Mvc\PageNotFoundException $e)
0 ignored issues
show
The type Drone\Mvc\PageNotFoundException was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
19
{
20
	die('Error 404 (Page Not Found)!!');
21
}