| 1 | <?php |
||
| 6 | class BackUpContext implements Context |
||
|
|
|||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var string|null |
||
| 10 | */ |
||
| 11 | private static $dumpFile; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var DataBaseDumpManager |
||
| 15 | */ |
||
| 16 | private static $dataBaseDumpManager; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param string $rootDir |
||
| 20 | */ |
||
| 21 | public function __construct($rootDir) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @AfterSuite |
||
| 32 | */ |
||
| 33 | public static function tearDown() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @BeforeScenario |
||
| 44 | */ |
||
| 45 | public function beforeScenario() |
||
| 49 | } |
||
| 50 |
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.