Extending Model through another class produces a violation
szepeviktor opened this issue · 1 comments
szepeviktor commented
App\Models\SoftSkill has 1 violations
should extend Illuminate\Database\Eloquent\Model because we use Laravel framework!
https://github.com/smortexa/laravel-arkitect/blob/main/src/Rules/Extending/ModelsExtending.php
Hello! SoftSkill
is extending Model
this way.
abstract class Taxonomy extends Model
class SoftSkill extends Taxonomy
What should I do to code correctly?
smortexa commented
You can publish the package configuration file and comment that rule and create your own custom rule for your models.