8000 Merge branch '6.4' into 7.0 · hhamon/symfony@ca6a07d · GitHub
[go: up one dir, main page]

Skip to content

Commit ca6a07d

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: [FrameworkBundle] Fix changelog [Validator] Un-deprecate passing an annotation reader to AnnotationLoader
2 parents 9b8f1e3 + 991d81e commit ca6a07d

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ CHANGELOG
4141
* Deprecate not setting the `framework.session.cookie_samesite` config option; it will default to `lax` in 7.0
4242
* Deprecate not setting either `framework.session.handler_id` or `save_path` config options; `handler_id` will
4343
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
4644
* Deprecate not setting the `framework.uid.default_uuid_version` config option; it will default to `7` in 7.0
4745
* Deprecate not setting the `framework.uid.time_based_uuid_version` config option; it will default to `7` in 7.0
4846
* Deprecate not setting the `framework.validation.email_validation_mode` config option; it will default to `html5` in 7.0

src/Symfony/Component/Validator/CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ CHANGELOG
2222
* Allow single integer for the `versions` option of the `Uuid` constraint
2323
* Allow single constraint to be passed to the `constraints` option of the `When` constraint
2424
* Deprecate Doctrine annotations support in favor of native attributes
25-
* Deprecate passing an annotation reader to the constructor signature of `AnnotationLoader`
2625
* Deprecate `ValidatorBuilder::setDoctrineAnnotationReader()`
2726
* Deprecate `ValidatorBuilder::addDefaultDoctrineAnnotationReader()`
2827
* Add `number`, `finite-number` and `finite-float` types to `Type` constraint

src/Symfony/Component/Validator/Tests/Mapping/Loader/AnnotationLoaderTest.php renamed to src/Symfony/Component/Validator/Tests/Mapping/Loader/AttributeLoaderTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@
3030
use Symfony\Component\Validator\Constraints\Valid;
3131
use Symfony\Component\Validator\Mapping\ClassMetadata;
3232
use Symfony\Component\Validator\Mapping\Loader\AnnotationLoader;
33+
use Symfony\Component\Validator\Mapping\Loader\AttributeLoader;
3334
use Symfony\Component\Validator\Tests\Fixtures\ConstraintA;
3435

35-
class AnnotationLoaderTest extends TestCase
36+
class AttributeLoaderTest extends TestCase
3637
{
3738
public function testLoadClassMetadataReturnsTrueIfSuccessful()
3839
{
@@ -212,7 +213,7 @@ public function testLoadGroupSequenceProviderAnnotation()
212213

213214
protected function createAnnotationLoader(): AnnotationLoader
214215
{
215-
return new AnnotationLoader();
216+
return new AttributeLoader();
216217
}
217218

218219
protected function getFixtureNamespace(): string

0 commit comments

Comments
 (0)
0