mirror of
https://github.com/pestphp/pest.git
synced 2026-04-21 06:27:28 +02:00
BugFix: Fix toUseTrait to detect inherited and nested traits
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Fixtures\Arch\ToUseTrait\HasInheritedTrait;
|
||||
|
||||
use Tests\Fixtures\Arch\ToUseTrait\HasTrait\ParentClassWithTrait;
|
||||
|
||||
class ChildClassExtendingParent extends ParentClassWithTrait
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user