Showing 56 of 56 total issues
Variable $this
is undeclared Open
Open
$this->database->tabler(
- Exclude checks
Parameter $log
has undeclared type \Psr\Log\LoggerInterface
Open
Open
public static function login(\Psr\Log\LoggerInterface $log, \Attogram\AttogramDatabaseInterface $database)
- Exclude checks
Variable $this
is undeclared Open
Open
header('Location: ' . $this->path . '/');
- Exclude checks
Class extends undeclared class \PHPUnit\Framework\TestCase
Open
Open
class BaseTest extends PHPUnit\Framework\TestCase
- Exclude checks
Call to method error
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$log->error('LOGIN: Login system offline');
- Exclude checks
Call to undeclared method \BaseTest::assertTrue
Open
Open
$this->assertTrue(true, 'true not true!');
- Exclude checks
Parameter $database
has undeclared type \Attogram\AttogramDatabaseInterface
Open
Open
public static function login(\Psr\Log\LoggerInterface $log, \Attogram\AttogramDatabaseInterface $database);
- Exclude checks
Variable $this
is undeclared Open
Open
$this->clientIp . ' LOGIN: id: ' . $_SESSION['attogram_id']
- Exclude checks
Possibly zero references to use statement for classlike/namespace TestCase
(\PHPUnit\Framework\TestCase)
Open
Open
use PHPUnit\Framework\TestCase;
- Exclude checks
Variable $this
is undeclared Open
Open
$this->event->info(
- Exclude checks
Variable $this
is undeclared Open
Open
if (\Attogram\AttogramUser::login($this->log, $this->database)) {
- Exclude checks
Variable $this
is undeclared Open
Open
$this->pageHeader('👥 User Admin');
- Exclude checks
Parameter $log
has undeclared type \Psr\Log\LoggerInterface
Open
Open
public static function login(\Psr\Log\LoggerInterface $log, \Attogram\AttogramDatabaseInterface $database);
- Exclude checks
Variable $this
is undeclared Open
Open
$this->error404('Login Disbled. Attogram User module missing in action!');
- Exclude checks
Reference to instance property database
from undeclared class \Attogram\AttogramDatabaseInterface
Open
Open
if (!$database->database || $database->database->errorCode() != '00000') {
- Exclude checks
Call to method error
from undeclared class \Psr\Log\LoggerInterface
Open
Open
$log->error('LOGIN: Invalid login');
- Exclude checks