mirror of
https://github.com/brufdev/many-notes.git
synced 2026-05-20 09:19:15 -05:00
Prepare architecture tests for console commands
This commit is contained in:
@@ -17,6 +17,7 @@ arch('avoid mutation')
|
||||
->classes()
|
||||
->toBeReadonly()
|
||||
->ignoring([
|
||||
'App\Console\Commands',
|
||||
'App\Exceptions',
|
||||
'App\Jobs',
|
||||
'App\Livewire',
|
||||
@@ -30,6 +31,7 @@ arch('avoid inheritance')
|
||||
->classes()
|
||||
->toExtendNothing()
|
||||
->ignoring([
|
||||
'App\Console\Commands',
|
||||
'App\Exceptions',
|
||||
'App\Jobs',
|
||||
'App\Livewire',
|
||||
@@ -63,6 +65,7 @@ arch('models')
|
||||
->toHaveMethod('casts')
|
||||
->toOnlyBeUsedIn([
|
||||
'App\Actions',
|
||||
'App\Console\Commands',
|
||||
'App\Http',
|
||||
'App\Jobs',
|
||||
'App\Livewire',
|
||||
|
||||
Reference in New Issue
Block a user