File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,6 @@ CHANGELOG
41
41
* Deprecate not setting the ` framework.session.cookie_samesite ` config option; it will default to ` lax ` in 7.0
42
42
* Deprecate not setting either ` framework.session.handler_id ` or ` save_path ` config options; ` handler_id ` will
43
43
default to null in 7.0 if ` save_path ` is not set and to ` session.handler.native_file ` otherwise
44
- * Deprecate not setting the ` framework.session.handler_id ` config option; it will default to null,
45
- unless ` save_path ` is set, which will make it default to ` session.handler.native_file ` in 7.0
46
44
* Deprecate not setting the ` framework.uid.default_uuid_version ` config option; it will default to ` 7 ` in 7.0
47
45
* Deprecate not setting the ` framework.uid.time_based_uuid_version ` config option; it will default to ` 7 ` in 7.0
48
46
* Deprecate not setting the ` framework.validation.email_validation_mode ` config option; it will default to ` html5 ` in 7.0
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