1 | <?php |
||
19 | class PhpunitControllerTest extends \PHPUnit\Framework\TestCase |
||
20 | { |
||
21 | /** |
||
22 | * @var PhpunitController |
||
23 | */ |
||
24 | protected $object; |
||
25 | |||
26 | protected function setUp() |
||
30 | |||
31 | protected function tearDown() |
||
34 | |||
35 | /** |
||
36 | * @todo Implement testInit(). |
||
37 | */ |
||
38 | public function testInit() |
||
42 | |||
43 | public function testGetConfiguration() |
||
50 | |||
51 | public function testActionMake() |
||
58 | |||
59 | /** |
||
60 | * @todo Implement testActionRun(). |
||
61 | */ |
||
62 | public function testActionRun() |
||
69 | |||
70 | /** |
||
71 | * @todo Implement testActionGenfake(). |
||
72 | */ |
||
73 | public function testActionGenfake() |
||
80 | |||
81 | /** |
||
82 | * @todo Implement testGenFake(). |
||
83 | */ |
||
84 | public function testGenFake() |
||
91 | |||
92 | /** |
||
93 | * @todo Implement testActionGentest(). |
||
94 | */ |
||
95 | public function testActionGentest() |
||
102 | |||
103 | /** |
||
104 | * @todo Implement testGenSkel(). |
||
105 | */ |
||
106 | public function testGenSkel() |
||
113 | |||
114 | /** |
||
115 | * @todo Implement testBuildNamespace(). |
||
116 | */ |
||
117 | public function testBuildNamespace() |
||
124 | |||
125 | /** |
||
126 | * @todo Implement testBuildTestNamespace(). |
||
127 | */ |
||
128 | public function testBuildTestNamespace() |
||
135 | |||
136 | /** |
||
137 | * @todo Implement testBuildClass(). |
||
138 | */ |
||
139 | public function testBuildClass() |
||
146 | |||
147 | /** |
||
148 | * @todo Implement testBuildTestClass(). |
||
149 | */ |
||
150 | public function testBuildTestClass() |
||
157 | |||
158 | /** |
||
159 | * @todo Implement testBuildPath(). |
||
160 | */ |
||
161 | public function testBuildPath() |
||
168 | |||
169 | /** |
||
170 | * @todo Implement testBuildTestPath(). |
||
171 | */ |
||
172 | public function testBuildTestPath() |
||
179 | |||
180 | /** |
||
181 | * @todo Implement testBuildFakePath(). |
||
182 | */ |
||
183 | public function testBuildFakePath() |
||
190 | } |
||
191 |
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: