1 | <?php |
||
8 | abstract class AbstractMySqlDatabaseTestCase extends PHPUnit_Extensions_Database_TestCase |
||
9 | { |
||
10 | |||
11 | protected static function getPdoQueueStoreConnection() |
||
21 | |||
22 | /** |
||
23 | * @inheritdoc |
||
24 | */ |
||
25 | protected function getConnection() |
||
31 | |||
32 | /** |
||
33 | * @inheritdoc |
||
34 | */ |
||
35 | protected function getDataSet() |
||
39 | |||
40 | /** |
||
41 | * @inheritdoc |
||
42 | */ |
||
43 | protected function setUp() |
||
61 | } |
||
62 |
Unless you are absolutely sure that the expression can never be null because of other conditions, we strongly recommend to add an additional type check to your code: