ActionsTest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 3
dl 0
loc 22
c 0
b 0
f 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 3 1
A tearDown() 0 2 1
1
<?php
2
3
namespace Test\FlexiPeeHP;
4
5
/**
6
 * Generated by PHPUnit_SkeletonGenerator on 2018-01-22 at 17:06:56.
7
 */
8
class ActionsTest extends \PHPUnit\Framework\TestCase
9
{
10
    /**
11
     * @var Actions
12
     */
13
    protected $object;
14
15
    /**
16
     * Sets up the fixture, for example, opens a network connection.
17
     * This method is called before a test is executed.
18
     */
19
    protected function setUp(): void
20
    {
21
        $this->object = new \FlexiPeeHP\Actions();
0 ignored issues
show
Documentation Bug introduced by
It seems like new FlexiPeeHP\Actions() of type FlexiPeeHP\Actions is incompatible with the declared type Test\FlexiPeeHP\Actions of property $object.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
22
    }
23
24
    /**
25
     * Tears down the fixture, for example, closes a network connection.
26
     * This method is called after a test is executed.
27
     */
28
    protected function tearDown(): void
29
    {
30
        
31
    }
32
}
33