| 1 | <?php |
||
| 7 | class FeatureContext implements Context |
||
|
|
|||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $workingDir; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $phpBin; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var Process |
||
| 21 | */ |
||
| 22 | private $process; |
||
| 23 | |||
| 24 | public function __construct() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Prepares test folders in the temporary directory. |
||
| 36 | * |
||
| 37 | * @BeforeScenario |
||
| 38 | */ |
||
| 39 | public function prepareTestFolders() |
||
| 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.