| 1 | <?php |
||
| 5 | final class UpstreamGherkinTest extends PHPUnit_Framework_TestCase |
||
|
|
|||
| 6 | { |
||
| 7 | |||
| 8 | private $notSupported = array( |
||
| 9 | 'good' => array( |
||
| 10 | 'descriptions', |
||
| 11 | 'docstrings', |
||
| 12 | 'incomplete_feature_3', |
||
| 13 | 'incomplete_scenario_outline', |
||
| 14 | 'readme_example', |
||
| 15 | 'rule', |
||
| 16 | 'scenario_outline', |
||
| 17 | 'scenario_outlines_with_tags', |
||
| 18 | 'several_examples', |
||
| 19 | 'spaces_in_language', |
||
| 20 | 'tags' |
||
| 21 | ) |
||
| 22 | ); |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @dataProvider goodFeatures |
||
| 26 | */ |
||
| 27 | public function testGoodFeatures($featureFile, $astFile) |
||
| 35 | |||
| 36 | public function goodFeatures() : iterable |
||
| 58 | } |
||
| 59 |
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.