Total Complexity | 6 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class ObjectTest extends \Doctrine\Tests\DbalTestCase |
||
10 | { |
||
11 | /** |
||
12 | * @var MockPlatform |
||
13 | */ |
||
14 | protected $_platform; |
||
15 | |||
16 | /** |
||
17 | * @var Type |
||
18 | */ |
||
19 | protected $_type; |
||
20 | |||
21 | protected function setUp() |
||
25 | } |
||
26 | |||
27 | public function testObjectConvertsToDatabaseValue() |
||
30 | } |
||
31 | |||
32 | public function testObjectConvertsToPHPValue() |
||
35 | } |
||
36 | |||
37 | public function testConversionFailure() |
||
42 | } |
||
43 | |||
44 | public function testNullConversion() |
||
45 | { |
||
46 | self::assertNull($this->_type->convertToPHPValue(null, $this->_platform)); |
||
|
|||
47 | } |
||
48 | |||
49 | /** |
||
50 | * @group DBAL-73 |
||
51 | */ |
||
52 | public function testFalseConversion() |
||
55 | } |
||
56 | } |
||
57 |
This check looks for function or method calls that always return null and whose return value is used.
The method
getObject()
can return nothing but null, so it makes no sense to use the return value.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.