[Validator] Fix DebugCommand
This commit is contained in:
parent
b5af0083de
commit
1eb13767fc
@ -181,7 +181,7 @@ EOF
|
||||
|
||||
$namespace = $matches[1] ?? null;
|
||||
|
||||
if (false === preg_match('/class +([^{ ]+)/', $fileContent, $matches)) {
|
||||
if (!preg_match('/class +([^{ ]+)/', $fileContent, $matches)) {
|
||||
// no class found
|
||||
continue;
|
||||
}
|
||||
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Component\Validator\Tests\Dummy;
|
||||
|
||||
trait TraitPass
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user