minor #29150 Remove unused dependency in FrameworkExtensionTest (gonzalovilaseca)
This PR was submitted for the master branch but it was merged into the 4.1 branch instead (closes #29150).
Discussion
----------
Remove unused dependency in FrameworkExtensionTest
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? |no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
`Validation` is not used anywhere in the file, I can only see `new \ReflectionClass('Symfony\Component\Validator\Validation');`, maybe it's better to leave the `use` and replace with `new \ReflectionClass(Validation::class);`?
Commits
-------
aea5ca2788
Remove unused dependency
This commit is contained in:
commit
fe14628db8
@ -48,7 +48,6 @@ use Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer;
|
|||||||
use Symfony\Component\Serializer\Serializer;
|
use Symfony\Component\Serializer\Serializer;
|
||||||
use Symfony\Component\Translation\DependencyInjection\TranslatorPass;
|
use Symfony\Component\Translation\DependencyInjection\TranslatorPass;
|
||||||
use Symfony\Component\Validator\DependencyInjection\AddConstraintValidatorsPass;
|
use Symfony\Component\Validator\DependencyInjection\AddConstraintValidatorsPass;
|
||||||
use Symfony\Component\Validator\Validation;
|
|
||||||
use Symfony\Component\Workflow;
|
use Symfony\Component\Workflow;
|
||||||
|
|
||||||
abstract class FrameworkExtensionTest extends TestCase
|
abstract class FrameworkExtensionTest extends TestCase
|
||||||
|
Reference in New Issue
Block a user