| 1 | <?php |
||
| 3 | class xKerman_Restricted_Test_ExpressionParserTest extends PHPUnit_Framework_TestCase |
||
|
|
|||
| 4 | { |
||
| 5 | public function provideInvalidData() |
||
| 9 | /** |
||
| 10 | * @covers \xKerman\Restricted\ExpressionParser |
||
| 11 | * @dataProvider provideInvalidData |
||
| 12 | * @expectedException xKerman_Restricted_UnserializeFailedException |
||
| 13 | */ |
||
| 14 | public function testParseFailure($input) |
||
| 20 | } |
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.