mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
feat(laravel-preset): traits in traits folders
This commit is contained in:
@ -16,6 +16,12 @@ final class Laravel extends AbstractPreset
|
||||
*/
|
||||
public function execute(): void
|
||||
{
|
||||
$this->expectations[] = expect('App/Traits')
|
||||
->toBeTraits();
|
||||
|
||||
$this->expectations[] = expect('App/Concerns')
|
||||
->toBeTraits();
|
||||
|
||||
$this->expectations[] = expect('App')
|
||||
->not->toBeEnums()
|
||||
->ignoring('App\Enums');
|
||||
|
||||
Reference in New Issue
Block a user