eisen-dev/eisen_front

View on GitHub
webd/includes/monologLogger.php

Summary

Maintainability
A
0 mins
Test Coverage

Showing 6 of 6 total issues

Missing class import via use statement (line '29', column '20').
Open

$dba = new DbAction();
Severity: Minor
Found in webd/includes/monologLogger.php by phpmd

Missing class import via use statement (line '34', column '31').
Open

$log->pushHandler(new PDOHandler($dbh));
Severity: Minor
Found in webd/includes/monologLogger.php by phpmd

Each class must be in a namespace of at least one level (a top-level vendor name)
Open

class LoggerAtOnce

A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 22 and the first side effect is on line 12.
Open

<?php

Line indented incorrectly; expected 0 spaces, found 1
Open

class LoggerAtOnce

Closing brace indented incorrectly; expected 1 spaces, found 0
Open

}

There are no issues that match your filters.

Category
Status