cslant /
laravel-like
| 1 | <?php |
||
| 2 | |||
| 3 | namespace CSlant\LaravelLike; |
||
| 4 | |||
| 5 | use CSlant\LaravelLike\Traits\InteractionRelationship; |
||
|
0 ignored issues
–
show
|
|||
| 6 | use CSlant\LaravelLike\Traits\Love\LoveCount; |
||
|
0 ignored issues
–
show
The type
CSlant\LaravelLike\Traits\Love\LoveCount 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...
|
|||
| 7 | use CSlant\LaravelLike\Traits\Love\LoveScope; |
||
|
0 ignored issues
–
show
The type
CSlant\LaravelLike\Traits\Love\LoveScope 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 | use Illuminate\Database\Eloquent\Model; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Trait HasLove |
||
| 12 | * use this trait in your model(post, article,...) to enable liking functionality |
||
| 13 | * |
||
| 14 | * @package CSlant\LaravelLike |
||
| 15 | * @mixin Model |
||
| 16 | */ |
||
| 17 | trait HasLove |
||
| 18 | { |
||
| 19 | use InteractionRelationship; |
||
| 20 | use LoveCount; |
||
| 21 | use LoveScope; |
||
| 22 | } |
||
| 23 |
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