| 1 | <?php |
||
| 5 | class TestCase extends TestBenchTestCase |
||
|
|
|||
| 6 | { |
||
| 7 | |||
| 8 | protected function getPackageProviders($app) |
||
| 9 | { |
||
| 10 | return ['Webwizo\ShortCodes\ShortcodesServiceProvider']; |
||
| 11 | } |
||
| 12 | |||
| 13 | protected function getPackageAliases($app) |
||
| 14 | { |
||
| 15 | return [ |
||
| 16 | 'Shortcode' => 'Webwizo\Shortcodes\Facades\Shortcode' |
||
| 17 | ]; |
||
| 18 | } |
||
| 19 | } |
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.