Completed
Push — master ( 3528be...829c65 )
by Laurynas
03:21
created

TestCase   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
dl 0
loc 9
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 6 1
1
<?php
2
/**
3
 * @property \Qualia\Client client
4
 */
5
abstract class TestCase extends PHPUnit_Framework_TestCase
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
6
{
7
8
    protected function setUp()
9
    {
10
        parent::setUp();
11
12
        // Initialize client
13
        $this->client = new \Qualia\Client('597768e728d8f1508f6d9f62', 'cT6hCqyxD8MQ0k6gfYwWBt3lIMexpsLQ');
14
15
    }
16
17
}