eisen-dev/eisen_front

View on GitHub
tests/DbActionTest.php

Summary

Maintainability
A
0 mins
Test Coverage

Showing 5 of 5 total issues

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

$dba = new DbAction();
Severity: Minor
Found in tests/DbActionTest.php by phpmd

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

class DbActionTest extends PHPUnit_Framework_TestCase
Severity: Minor
Found in tests/DbActionTest.php by phpcodesniffer

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 12 and the first side effect is on line 11.
Open

<?php
Severity: Minor
Found in tests/DbActionTest.php by phpcodesniffer

The closing brace for the class must go on the next line after the body
Open

}
Severity: Minor
Found in tests/DbActionTest.php by phpcodesniffer

Opening brace should be on a new line
Open

public function testDB(){
Severity: Minor
Found in tests/DbActionTest.php by phpcodesniffer

There are no issues that match your filters.

Category
Status