Passed
Pull Request — develop (#92)
by Felipe
06:19
created

TableGroupTest::TableGroupTest()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 8
nc 1
nop 0
dl 0
loc 9
rs 9.6666
c 0
b 0
f 0
1
<?php
2
 /**
3
  * Function area:        Table
4
  * @author     Augmentum SpikeSource Team 
5
  * @copyright  2005 by Augmentum, Inc.
6
  */
7
8
require_once('ColumnTest.php');
9
require_once('IndexesTest.php');
10
require_once('ConstraintsTest.php');
11
require_once('TriggersTest.php');
12
require_once('RulesTest.php');
13
require_once('InfoTest.php');
14
require_once('DeadlockTest.php');
15
16
17
/**
18
 *  Group test class to run all test cases in the table function area automatically. 
19
 */
20
class TableGroupTest extends GroupTest {
0 ignored issues
show
Bug introduced by
The type GroupTest was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
21
    function TableGroupTest() {
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
22
        $this->GroupTest('Table management group test.');
23
        $this->addTestClass(new ColumnTest());        
24
        $this->addTestClass(new TriggersTest());
25
        $this->addTestClass(new RulesTest());
26
        $this->addTestClass(new IndexesTest());
27
        $this->addTestClass(new InfoTest());        
28
        $this->addTestClass(new ConstraintsTest());
29
        $this->addTestClass(new DeadlockTest());
30
    }
31
}
32
?>
0 ignored issues
show
Best Practice introduced by
It is not recommended to use PHP's closing tag ?> in files other than templates.

Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.

A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.

Loading history...
33