| 1 | <?php |
||
| 8 | class ParameterTest extends TestCase |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @dataProvider getParameterNamesStartingOrEndingWithAColon |
||
| 12 | * @expectedException \InvalidArgumentException |
||
| 13 | * @expectedExceptionMessage A parameter name cannot start or end with ":". |
||
| 14 | */ |
||
| 15 | public function testParameterNameStartingOrEndingWithAColon(string $name): void |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return array |
||
| 22 | */ |
||
| 23 | public function getParameterNamesStartingOrEndingWithAColon(): array |
||
| 34 | } |
||
| 35 |