Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1a7dde4

Browse files
Merge branch '3.4'
* 3.4: improve strict option value deprecation document deprecation of the StringUtil class Add missing doc param & deprecation changelog entries
2 parents ee37c80 + 8308b32 commit 1a7dde4

File tree

7 files changed

+29
-4
lines changed

7 files changed

+29
-4
lines changed

UPGRADE-3.4.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
UPGRADE FROM 3.3 to 3.4
2+
=======================
3+
4+
Validator
5+
---------
6+
7+
* not setting the `strict` option of the `Choice` constraint to `true` is
8+
deprecated and will throw an exception in Symfony 4.0

UPGRADE-4.0.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,9 @@ TwigBridge
507507
Validator
508508
---------
509509

510+
* The default value of the `strict` option of the `Choice` constraint was changed
511+
to `true`. Using any other value will throw an exception.
512+
510513
* The `DateTimeValidator::PATTERN` constant was removed.
511514

512515
* `Tests\Constraints\AbstractConstraintValidatorTest` has been removed in

src/Symfony/Bundle/SecurityBundle/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ CHANGELOG
1818
`ContainerAwareInterface` interface for this command.
1919
* Deprecated the `FirewallMap::$map` and `$container` properties.
2020
* [BC BREAK] Keys of the `users` node for `in_memory` user provider are no longer normalized.
21+
* deprecated `FirewallContext::getListeners()`
2122

2223
3.2.0
2324
-----

src/Symfony/Component/HttpKernel/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ CHANGELOG
2323
* added the possibility to change the query string parameter used by `UriSigner`
2424
* deprecated `LazyLoadingFragmentHandler::addRendererService()`
2525
* deprecated `Extension::addClassesToCompile()`
26+
* deprecated `Psr6CacheClearer::addPool()`
2627

2728
3.2.0
2829
-----

src/Symfony/Component/PropertyAccess/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ CHANGELOG
55
-----
66

77
* removed the `StringUtil` class, use `Symfony\Component\Inflector\Inflector`
8+
9+
3.1.0
10+
-----
11+
12+
* deprecated the `StringUtil` class, use `Symfony\Component\Inflector\Inflector`
813
instead
914

1015
2.7.0

src/Symfony/Component/Translation/Translator.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,11 @@ class Translator implements TranslatorInterface, TranslatorBagInterface
7474
/**
7575
* Constructor.
7676
*
77-
* @param string $locale The locale
78-
* @param MessageSelector|null $selector The message selector for pluralization
79-
* @param string|null $cacheDir The directory to use for the cache
80-
* @param bool $debug Use cache in debug mode ?
77+
* @param string $locale The locale
78+
* @param MessageSelector|null $selector The message selector for pluralization
79+
* @param string $defaultLocale
80+
* @param string|null $cacheDir The directory to use for the cache
81+
* @param bool $debug Use cache in debug mode ?
8182
*
8283
* @throws InvalidArgumentException If a locale contains invalid characters
8384
*/

src/Symfony/Component/Validator/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ CHANGELOG
99
* removed the `DateTimeValidator::PATTERN` constant
1010
* removed the `AbstractConstraintValidatorTest` class
1111

12+
3.4.0
13+
-----
14+
15+
* not setting the `strict` option of the `Choice` constraint to `true` is
16+
deprecated and will throw an exception in Symfony 4.0
17+
1218
3.3.0
1319
-----
1420

0 commit comments

Comments
 (0)