| 1 | <?php |
||
| 5 | class StringUtilsTest extends PHPUnit_Framework_TestCase |
||
|
|
|||
| 6 | { |
||
| 7 | private $string = "this is a string"; |
||
| 8 | |||
| 9 | public function testStartsWithCharacter() |
||
| 13 | |||
| 14 | public function testStartsWithSnippet() |
||
| 18 | |||
| 19 | public function testDoesNotStartWith() |
||
| 25 | |||
| 26 | public function testEndsWithCharacter() |
||
| 30 | |||
| 31 | public function testEndsWithSnippet() |
||
| 35 | |||
| 36 | public function testDoesNotEndWith() |
||
| 42 | |||
| 43 | } |
||
| 44 |
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.