Skip to content

Commit 8725243

Browse files
committed
Merge branch '2.5'
* 2.5: (37 commits) [Validator] Backported constraint validator tests from 2.5 [Validator] Backported constraint validator tests from 2.5 [DIC] Fixed: anonymous services are always private Fix toolbar vertical alignment. [HttpFoundation] MongoDbSessionHandler supports auto expiry via configurable expiry_field [Validator] Fix little typo in ExecutionContextInterface::buildViolation() method comments fix dependencies on HttpFoundation component [FrameworkBundle] add missing attribute to XSD Allow basic auth in url. Improve regex. Add tests. fix typos and syntax in Profiler controller method comments resolve parameters before the configs are processed add symfony/yaml suggestion to composer.json [HttpKernel] added an analyze of environment parameters for built-in server. remove volatile tests [Console] fixed style creation when providing an unknown tag option change command to which available under most unix systems add way to test command under windows fix shell command injection [Form] allowed CallbackTransformer to use callable [Process] Added process synchronization to the incremental output tests ... Conflicts: src/Symfony/Component/Form/Extension/Validator/Constraints/FormValidator.php src/Symfony/Component/HttpKernel/Kernel.php src/Symfony/Component/HttpKernel/composer.json src/Symfony/Component/Validator/Constraints/AllValidator.php src/Symfony/Component/Validator/Constraints/CollectionValidator.php src/Symfony/Component/Validator/Constraints/LegacyAllValidator.php src/Symfony/Component/Validator/Constraints/LegacyCollectionValidator.php src/Symfony/Component/Validator/Tests/Constraints/FileValidatorTest.php
2 parents 136c5cb + 0801a3a commit 8725243

File tree

91 files changed

+1559
-1586
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1559
-1586
lines changed

CHANGELOG-2.5.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,36 @@ in 2.5 minor versions.
77
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
88
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v2.5.0...v2.5.1
99

10+
* 2.5.3 (2014-08-06)
11+
12+
* bug #11571 [Form] Fixed FormValidator compatibility with the non-BC 2.5 Validation API (webmozart)
13+
* bug #11499 [BrowserKit] Fixed relative redirects for ambiguous paths (pkruithof)
14+
* bug #11516 [BrowserKit] Fix browser kit redirect with ports (dakota)
15+
* bug #11545 [Bundle][FrameworkBundle] built-in server: exit when docroot does not exist (xabbuh)
16+
* bug #11560 Plural fix (1emming)
17+
* bug #11558 [DependencyInjection] Fixed missing 'factory-class' attribute in XmlDumper output (kerdany)
18+
* bug #11498 [Validator] Made it possible (again) to pass a class name to validatePropertyValue() (webmozart)
19+
* bug #11548 [Component][DomCrawler] fix axes handling in Crawler::filterXPath() (xabbuh)
20+
* bug #11422 [DependencyInjection] Self-referenced 'service_container' service breaks garbage collection (sun)
21+
* bug #11428 [Serializer] properly handle null data when denormalizing (xabbuh)
22+
* bug #10687 [Validator] Fixed string conversion in constraint violations (eagleoneraptor, webmozart)
23+
* bug #11412 [Validator] Made sure that context changes don't leak out of (Contextual)ValidatorInterface (webmozart)
24+
* bug #11475 [EventDispatcher] don't count empty listeners (xabbuh)
25+
* bug #11436 fix signal handling in wait() on calls to stop() (xabbuh, romainneutron)
26+
* bug #11469 [BrowserKit] Fixed server HTTP_HOST port uri conversion (bcremer, fabpot)
27+
* bug #11425 Fix issue described in #11421 (Ben, ben-rosio)
28+
* bug #11423 Pass a Scope instance instead of a scope name when cloning a container in the GrahpvizDumper (jakzal)
29+
* bug #11448 [MonologBridge] fixed Console handler priorities (fabpot)
30+
* bug #11454 [Validator] Fixed memory leak in ValidatorBuilder (webmozart)
31+
* bug #11120 [Process] Reduce I/O load on Windows platform (romainneutron)
32+
* bug #11370 [FrameworkBundle] avoid raising unexpected RuntimeException when specifying $_SERVER['KERNEL_DIR'] (iteman)
33+
* bug #11342 [Form] Check if IntlDateFormatter constructor returned a valid object before using it (romainneutron)
34+
* bug #11439 [ExpressionLanguage] Fixed double quoted string literals containing sharps (pylebecq)
35+
* bug #11410 [Validator] Fixed object initializers in 2.5 version of the Validator (webmozart)
36+
* bug #11411 [Validator] Backported #11410 to 2.3: Object initializers are called only once per object (webmozart)
37+
* bug #11403 [Translator][FrameworkBundle] Added @ to the list of allowed chars in Translator (takeit)
38+
* bug #11381 [Process] Use correct test for empty string in UnixPipes (whs, romainneutron)
39+
1040
* 2.5.2 (2014-07-15)
1141

1242
* [Security] Forced validate of locales passed to the translator
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Symfony\Bridge\Doctrine\Tests\Validator\Constraints;
13+
14+
use Symfony\Component\Validator\Validation;
15+
16+
/**
17+
* @since 2.5.4
18+
* @author Bernhard Schussek <bschussek@gmail.com>
19+
*/
20+
class LegacyUniqueEntityValidator2Dot4ApiTest extends UniqueEntityValidatorTest
21+
{
22+
protected function getApiVersion()
23+
{
24+
return Validation::API_VERSION_2_4;
25+
}
26+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Symfony\Bridge\Doctrine\Tests\Validator\Constraints;
13+
14+
use Symfony\Component\Validator\Validation;
15+
16+
/**
17+
* @since 2.5.4
18+
* @author Bernhard Schussek <bschussek@gmail.com>
19+
*/
20+
class LegacyUniqueEntityValidatorLegacyApiTest extends UniqueEntityValidatorTest
21+
{
22+
protected function getApiVersion()
23+
{
24+
return Validation::API_VERSION_2_5_BC;
25+
}
26+
}

0 commit comments

Comments
 (0)