mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 18:57:22 +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
|
public function execute(): void
|
||||||
{
|
{
|
||||||
|
$this->expectations[] = expect('App/Traits')
|
||||||
|
->toBeTraits();
|
||||||
|
|
||||||
|
$this->expectations[] = expect('App/Concerns')
|
||||||
|
->toBeTraits();
|
||||||
|
|
||||||
$this->expectations[] = expect('App')
|
$this->expectations[] = expect('App')
|
||||||
->not->toBeEnums()
|
->not->toBeEnums()
|
||||||
->ignoring('App\Enums');
|
->ignoring('App\Enums');
|
||||||
|
|||||||
Reference in New Issue
Block a user