File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ CHANGELOG
22
22
* Allow single integer for the ` versions ` option of the ` Uuid ` constraint
23
23
* Allow single constraint to be passed to the ` constraints ` option of the ` When ` constraint
24
24
* Deprecate Doctrine annotations support in favor of native attributes
25
- * Deprecate passing an annotation reader to the constructor signature of ` AnnotationLoader `
26
25
* Deprecate ` ValidatorBuilder::setDoctrineAnnotationReader() `
27
26
* Deprecate ` ValidatorBuilder::addDefaultDoctrineAnnotationReader() `
28
27
* Add ` number ` , ` finite-number ` and ` finite-float ` types to ` Type ` constraint
Original file line number Diff line number Diff line change 30
30
use Symfony \Component \Validator \Constraints \Valid ;
31
31
use Symfony \Component \Validator \Mapping \ClassMetadata ;
32
32
use Symfony \Component \Validator \Mapping \Loader \AnnotationLoader ;
33
+ use Symfony \Component \Validator \Mapping \Loader \AttributeLoader ;
33
34
use Symfony \Component \Validator \Tests \Fixtures \ConstraintA ;
34
35
35
- class AnnotationLoaderTest extends TestCase
36
+ class AttributeLoaderTest extends TestCase
36
37
{
37
38
public function testLoadClassMetadataReturnsTrueIfSuccessful ()
38
39
{
@@ -212,7 +213,7 @@ public function testLoadGroupSequenceProviderAnnotation()
212
213
213
214
protected function createAnnotationLoader (): AnnotationLoader
214
215
{
215
- return new AnnotationLoader ();
216
+ return new AttributeLoader ();
216
217
}
217
218
218
219
protected function getFixtureNamespace (): string
You can’t perform that action at this time.
0 commit comments