1 | <?php |
||
18 | class AbstractAdapterTest extends \PHPUnit_Framework_TestCase |
||
19 | { |
||
20 | /** |
||
21 | * @var \Jgut\Tify\Adapter\AbstractAdapter |
||
22 | */ |
||
23 | protected $adapter; |
||
24 | |||
25 | public function setUp() |
||
29 | |||
30 | /** |
||
31 | * @expectedException \Jgut\Tify\Exception\AdapterException |
||
32 | * @expectedExceptionMessage Invalid parameter provided |
||
33 | */ |
||
34 | public function testUndefinedParameter() |
||
38 | |||
39 | /** |
||
40 | * @expectedException \Jgut\Tify\Exception\AdapterException |
||
41 | * @expectedExceptionMessageRegExp /^Missing parameters/ |
||
42 | */ |
||
43 | public function testMissingParameter() |
||
47 | |||
48 | public function testDefaults() |
||
52 | |||
53 | public function testAccessorsMutators() |
||
61 | } |
||
62 |
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..