attogram/attogram

View on GitHub

Showing 308 of 308 total issues

Call to undeclared method \AttogramTest::assertTrue
Open

        $this->assertTrue(
Severity: Critical
Found in tests/AttogramTest.php by phan

Call to undeclared method \AttogramTest::assertFalse
Open

        $this->assertFalse(
Severity: Critical
Found in tests/AttogramTest.php by phan

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

                    $this->log->error('ROUTE: No Parser Found');
Severity: Critical
Found in Attogram/Attogram.php by phan

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

            $this->log->debug('isAdmin false - noadmin override');
Severity: Critical
Found in Attogram/Attogram.php by phan

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

        $this->log->error('using defaultHomepage');
Severity: Critical
Found in Attogram/Attogram.php by phan

Call to method createFromGlobals from undeclared class \Symfony\Component\HttpFoundation\Request
Open

        $request = Request::createFromGlobals();
Severity: Critical
Found in public/index.php by phan

Call to method setFormatter from undeclared class \Monolog\Handler\StreamHandler
Open

            $streamHandler->setFormatter(new \Monolog\Formatter\LineFormatter($format, $dateformat));
Severity: Critical
Found in public/index.php by phan

Call to method pushHandler from undeclared class \Monolog\Logger
Open

            $log->pushHandler(new \Monolog\Handler\BufferHandler($streamHandler));
Severity: Critical
Found in public/index.php by phan

Variable $this is undeclared
Open

    round((microtime(true) - $this->startTime), 6, PHP_ROUND_HALF_UP),
Severity: Minor
Found in templates/footer.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

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

        $this->log->debug('Session started.', $_SESSION);
Severity: Critical
Found in Attogram/Attogram.php by phan

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

                        $this->log->error('ROUTE: Missing action');
Severity: Critical
Found in Attogram/Attogram.php by phan

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

        $this->log->error('ERROR404: 404 template not found');
Severity: Critical
Found in Attogram/Attogram.php by phan

Call to method __construct from undeclared class \Attogram\SplFileObject (Did you mean class \SplFileObject)
Open

        $file = new SplFileObject($conf);
Severity: Critical
Found in public/check.php by phan

Argument 2 (newvalue) is 32767 but \ini_set() takes string
Open

        ini_set('display_errors', E_ALL); // display all errors
Severity: Minor
Found in public/index.php by phan

Variable $this is undeclared
Open

'<script src="'.$this->path.'/web/jquery.min.js"></script>',
Severity: Minor
Found in templates/header.php by phan

Variable $this is undeclared
Open

if ($this->isReadableFile($navbar, 'php')) {
Severity: Minor
Found in templates/header.php by phan

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

            $this->log->error('isAdmin false - missing $this->admins  array');
Severity: Critical
Found in Attogram/Attogram.php by phan

Variable $this is undeclared
Open

$navbar = $this->templates['navbar'];
Severity: Minor
Found in templates/header.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
Severity
Category
Status
Source
Language