1 | <?php |
||
7 | abstract class CommandTest extends WebTestCase |
||
|
|||
8 | { |
||
9 | protected $dslDir; |
||
10 | protected $targetBundle = 'EzPublishCoreBundle'; // it is always present :-) |
||
11 | protected $leftovers = array(); |
||
12 | |||
13 | protected $container; |
||
14 | protected $app; |
||
15 | protected $output; |
||
16 | |||
17 | |||
18 | public function __construct($name = null, array $data = array(), $dataName = '') |
||
24 | |||
25 | protected function setUp() |
||
35 | |||
36 | /** |
||
37 | * Fetches the data from the output buffer, resetting it. |
||
38 | * It would be nice to use BufferedOutput, but that is not available in Sf 2.3... |
||
39 | * @return null|string |
||
40 | */ |
||
41 | protected function fetchOutput() |
||
57 | |||
58 | protected function tearDown() |
||
69 | |||
70 | protected function getContainer() |
||
83 | } |
||
84 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.