cherrypulp /
laravel-mock
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Blok\Mock\Tests; |
||
| 4 | |||
| 5 | use Blok\Mock\ServiceProvider; |
||
|
0 ignored issues
–
show
|
|||
| 6 | |||
| 7 | class MockTest extends TestCase |
||
|
0 ignored issues
–
show
The type
Blok\Mock\Tests\TestCase was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 8 | { |
||
| 9 | protected function getPackageProviders($app) |
||
| 10 | { |
||
| 11 | return [ServiceProvider::class]; |
||
| 12 | } |
||
| 13 | |||
| 14 | protected function getPackageAliases($app) |
||
| 15 | { |
||
| 16 | return [ |
||
| 17 | 'mock' => \Blok\Mock\Mock::class, |
||
| 18 | ]; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function testExample() |
||
| 22 | { |
||
| 23 | $this->assertEquals(1, 1); |
||
| 24 | } |
||
| 25 | } |
||
| 26 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths