Completed
Push — erdiko2 ( 413211...36ec26 )
by John
01:42
created

bootstrap.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
// Start session
0 ignored issues
show
Unused Code Comprehensibility introduced by
46% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
3
// require_once __DIR__ . '/config/session.php';
4
//require getenv("ERDIKO_ROOT") . '/vendor/erdiko/core/session.php';
5
// \erdiko\session\Session::start();
6
// \erdiko\session\Session::set("start", true);
7
8
// Set up dependencies
9
require_once __DIR__ . '/bootstrap/dependencies.php';
10
11
// Register middleware
12
require_once __DIR__ . '/bootstrap/middleware.php';
13
14
// Register routes
15
require_once __DIR__ . '/bootstrap/routes.php';
16