Skip to content

Commit d9487c6

Browse files
committed
Merge branch '2.6' into 2.7
* 2.6: (25 commits) Added information when an error occured during validation of an answer of a question Adding note about known BC issues Adding note about the PdoSessionHandler BC break [Console] fixes some typos and phpdoc. fix phpdoc's alignment [2.6] CS Fixes And Removed An Unused Import Minor phpcs fixes [ClassLoader] Fix undefined index in ClassCollectionLoader CS fixes Revert "minor #12821 Remove deprecated class (MasterB)" [2.3] More cs fixes Removed unused imports CS fixes bumped Symfony version to 2.6.2 updated VERSION for 2.6.1 updated CHANGELOG for 2.6.1 bumped Symfony version to 2.5.9 updated VERSION for 2.5.8 update CONTRIBUTORS for 2.5.8 updated CHANGELOG for 2.5.8 ... Conflicts: src/Symfony/Component/HttpKernel/Kernel.php
2 parents 4a2401c + e5b0ee1 commit d9487c6

File tree

12 files changed

+23
-24
lines changed

12 files changed

+23
-24
lines changed

DataCollector/Util/ValueExporter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ class ValueExporter
1919
/**
2020
* Converts a PHP value to a string.
2121
*
22-
* @param mixed $value The PHP value
23-
* @param int $depth only for internal usage
24-
* @param bool $deep only for internal usage
22+
* @param mixed $value The PHP value
23+
* @param int $depth only for internal usage
24+
* @param bool $deep only for internal usage
2525
*
2626
* @return string The string representation of the given value
2727
*/

Event/KernelEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function getRequestType()
9090
/**
9191
* Checks if this is a master request.
9292
*
93-
* @return bool True if the request is a master request
93+
* @return bool True if the request is a master request
9494
*
9595
* @api
9696
*/

EventListener/DumpListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class DumpListener implements EventSubscriberInterface
2828
private $dumper;
2929

3030
/**
31-
* @param ClonerInterface $cloner Cloner service.
32-
* @param DataDumperInterface $dumper Dumper service.
31+
* @param ClonerInterface $cloner Cloner service.
32+
* @param DataDumperInterface $dumper Dumper service.
3333
*/
3434
public function __construct(ClonerInterface $cloner, DataDumperInterface $dumper)
3535
{

EventListener/ExceptionListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ protected function logException(\Exception $exception, $message, $original = tru
104104
* Clones the request for the exception.
105105
*
106106
* @param \Exception $exception The thrown exception.
107-
* @param Request $request The original request.
107+
* @param Request $request The original request.
108108
*
109109
* @return Request $request The cloned request.
110110
*/

EventListener/SaveSessionListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
1515
use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
16-
use Symfony\Component\HttpKernel\HttpKernelInterface;
1716
use Symfony\Component\HttpKernel\KernelEvents;
1817

1918
/**

Exception/UnprocessableEntityHttpException.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ class UnprocessableEntityHttpException extends HttpException
2121
/**
2222
* Constructor.
2323
*
24-
* @param string $message The internal exception message
25-
* @param \Exception $previous The previous exception
26-
* @param int $code The internal exception code
24+
* @param string $message The internal exception message
25+
* @param \Exception $previous The previous exception
26+
* @param int $code The internal exception code
2727
*/
2828
public function __construct($message = null, \Exception $previous = null, $code = 0)
2929
{

HttpCache/Esi.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function hasSurrogateCapability(Request $request)
7373
*
7474
* @param Request $request A Request instance
7575
*
76-
* @return bool true if one surrogate has ESI/1.0 capability, false otherwise
76+
* @return bool true if one surrogate has ESI/1.0 capability, false otherwise
7777
*
7878
* @deprecated Deprecated since version 2.6, to be removed in 3.0. Use hasSurrogateCapability() instead
7979
*/
@@ -142,7 +142,7 @@ public function needsParsing(Response $response)
142142
*
143143
* @param Response $response A Response instance
144144
*
145-
* @return bool true if the Response needs to be parsed, false otherwise
145+
* @return bool true if the Response needs to be parsed, false otherwise
146146
*
147147
* @deprecated Deprecated since version 2.6, to be removed in 3.0. Use needsParsing() instead
148148
*/

HttpCache/HttpCache.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ public function getSurrogate()
167167
* Gets the Esi instance
168168
*
169169
* @throws \LogicException
170+
*
170171
* @return Esi An Esi instance
171172
*
172173
* @deprecated Deprecated since version 2.6, to be removed in 3.0. Use getSurrogate() instead

HttpCache/SurrogateInterface.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function createCacheStrategy();
3535
*
3636
* @param Request $request A Request instance
3737
*
38-
* @return bool true if one surrogate has Surrogate capability, false otherwise
38+
* @return bool true if one surrogate has Surrogate capability, false otherwise
3939
*/
4040
public function hasSurrogateCapability(Request $request);
4141

@@ -60,17 +60,17 @@ public function addSurrogateControl(Response $response);
6060
*
6161
* @param Response $response A Response instance
6262
*
63-
* @return bool true if the Response needs to be parsed, false otherwise
63+
* @return bool true if the Response needs to be parsed, false otherwise
6464
*/
6565
public function needsParsing(Response $response);
6666

6767
/**
6868
* Renders a Surrogate tag.
6969
*
70-
* @param string $uri A URI
71-
* @param string $alt An alternate URI
72-
* @param bool $ignoreErrors Whether to ignore errors or not
73-
* @param string $comment A comment to add as an esi:include tag
70+
* @param string $uri A URI
71+
* @param string $alt An alternate URI
72+
* @param bool $ignoreErrors Whether to ignore errors or not
73+
* @param string $comment A comment to add as an esi:include tag
7474
*
7575
* @return string
7676
*/

Tests/Bundle/BundleTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\Component\HttpKernel\Tests\Bundle;
1313

14-
use Symfony\Component\DependencyInjection\ContainerBuilder;
15-
use Symfony\Component\DependencyInjection\Definition;
1614
use Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionAbsentBundle\ExtensionAbsentBundle;
1715
use Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\Command\FooCommand;
1816
use Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\ExtensionPresentBundle;

0 commit comments

Comments
 (0)