attogram/attogram-user

View on GitHub

Showing 56 of 56 total issues

Call to method error from undeclared class \Psr\Log\LoggerInterface
Open

            $log->error('LOGIN: Invalid login');
Severity: Critical
Found in includes/AttogramUser.php by phan

Variable $this is undeclared
Open

    header('Location: ' . $this->path . '/login/');
Severity: Minor
Found in actions/user.php by phan

Call to method query from undeclared class \Attogram\AttogramDatabaseInterface
Open

        $user = $database->query(
Severity: Critical
Found in includes/AttogramUser.php by phan

Variable $this is undeclared
Open

    $this->log->error('modules/user/actions/user.php: AttogramUser class not found');
Severity: Minor
Found in actions/user.php by phan

Variable $this is undeclared
Open

$this->pageFooter();
Severity: Minor
Found in admin_actions/user-admin.php by phan

Parameter $log has undeclared type \Psr\Log\LoggerInterface
Open

    public static function login(\Psr\Log\LoggerInterface $log, \Attogram\AttogramDatabaseInterface $database)
Severity: Minor
Found in includes/AttogramUser.php by phan

Variable $this is undeclared
Open

    $this->log->error('login.php: AttogramUser class not found');
Severity: Minor
Found in actions/login.php by phan

Variable $this is undeclared
Open

    if (\Attogram\AttogramUser::login($this->log, $this->database)) {
Severity: Minor
Found in actions/login.php by phan

Variable $this is undeclared
Open

$this->pageHeader('Login');
Severity: Minor
Found in actions/login.php by phan

Variable $this is undeclared
Open

$this->database->tabler(
Severity: Minor
Found in admin_actions/user-admin.php by phan

Variable $this is undeclared
Open

            $this->clientIp . ' LOGIN: id: ' . $_SESSION['attogram_id']
Severity: Minor
Found in actions/login.php by phan

Variable $this is undeclared
Open

    . '<br />isAdmin?:  ' . ($this->isAdmin ? 'Yes' : 'No')
Severity: Minor
Found in actions/user.php by phan

Variable $bind was undeclared, but array fields are being added to it.
Open

        $bind[':u'] = $_POST['u'];
Severity: Info
Found in includes/AttogramUser.php by phan

Class extends undeclared class \PHPUnit\Framework\TestCase
Open

class BaseTest extends PHPUnit\Framework\TestCase
Severity: Critical
Found in tests/BaseTest.php by phan

Variable $this is undeclared
Open

    $this->error404('Login Disbled.  Attogram User module missing in action!');
Severity: Minor
Found in actions/login.php by phan

Variable $this is undeclared
Open

$this->pageFooter();
Severity: Minor
Found in actions/user.php by phan
Severity
Category
Status
Source
Language