Issues (36)

resources/views/layouts/menu.tpl.php (1 issue)

Labels
Severity
1
<!-- Menu -->
2
<nav id="menu">
3
    <h2>Menu</h2>
4
    <ul>
5
        <li><a href="home">Home</a></li>
6
        <li><a href="routing">Routing</a></li>
7
        <li><a href="controller">Controllers</a></li>
8
        <li><a href="service">Services</a></li>
9
        <li><a href="model">Models</a></li>
10
        <?php
11
        if (Sentry::check()) {
0 ignored issues
show
The type Sentry 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...
12
            echo '<li><a href="admin">Admin Page </a></li>';
13
            echo '<li><a href="logout">Logout </a></li>';
14
        } else {
15
            echo '<li><a href="login">Login</a></li>';
16
        }?>
17
    </ul>
18
</nav>