attogram/attogram

View on GitHub
templates/navbar.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable $this is undeclared
Open

if ($this->isAdmin() && $this->getAdminActions()) {
Severity: Minor
Found in templates/navbar.php by phan

Variable $this is undeclared
Open

            echo '<li><a href="'.$this->path
Severity: Minor
Found in templates/navbar.php by phan

Variable $this is undeclared
Open

        echo '<li><a href="'.$this->path.'/'.$a.'/">'.$a.'</a></li>';
Severity: Minor
Found in templates/navbar.php by phan

Variable $this is undeclared
Open

        echo '<li><a href="'.$this->path.'/user/"><span class="icon-s">👤</span> <b>'
Severity: Minor
Found in templates/navbar.php by phan

Variable $this is undeclared
Open

        if (array_key_exists('login', $this->getActions())) { // if User Module is loaded
Severity: Minor
Found in templates/navbar.php by phan

"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
Open

            continue;
Severity: Minor
Found in templates/navbar.php by phan

Variable $this is undeclared
Open

    foreach (array_keys($this->getAdminActions()) as $a) {
Severity: Minor
Found in templates/navbar.php by phan

Variable $this is undeclared
Open

    .'<a class="navbar-brand" href="'.$this->path.'/">'.$this->siteName.'</a></div>'
Severity: Minor
Found in templates/navbar.php by phan

Variable $this is undeclared
Open

            print '<li><a href="'.$this->path.'/'.$a.'/">'.$a.'</a></li>';
Severity: Minor
Found in templates/navbar.php by phan

Variable $this is undeclared
Open

foreach (array_keys($this->getActions()) as $a) {
Severity: Minor
Found in templates/navbar.php by phan

Call to method isLoggedIn from undeclared class \Attogram\AttogramUser
Open

    if (\Attogram\AttogramUser::isLoggedIn()) {
Severity: Critical
Found in templates/navbar.php by phan

There are no issues that match your filters.

Category
Status