Skip to content

Commit b3b1034

Browse files
Merge branch '3.4'
* 3.4: (33 commits) Remove remaining `@experimental` annotations Tests and fix for issue in array model data in EntityType field with multiple=true [Validator] Add unique entity violation cause [Lock] Automaticaly release lock when user forget it [Form] Fixed PercentToLocalizedStringTransformer to accept both comma and dot as decimal separator, if possible fixed CS [FrameworkBundle] Don't clear app pools on cache:clear Hide label button when its setted to false removed useless PHPDoc [HttpFoundation] Return instance in StreamedResponse [Form] Fix FormInterface::submit() annotation [PHPUnitBridge] don't remove when set to empty string PdoSessionHandler: fix advisory lock for pgsql when session.sid_bits_per_character > 4 HttpCache does not consider ESI resources in HEAD requests Fix translation for "This field was not expected" [Routing] Enhance Route(Collection) docblocks Added improvement for accuracy in MoneyToLocalizedStringTransformer. Removed unused private property Use correct verb form in the pull request template Use PHP_MAXPATHLEN in Filesystem. ...
2 parents dc22cf5 + 9a7d2f2 commit b3b1034

29 files changed

+20
-56
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ CHANGELOG
2626
3.4.0
2727
-----
2828

29+
* Made the `cache:clear` command to *not* clear "app" PSR-6 cache pools anymore,
30+
but to still clear "system" ones; use the `cache:pool:clear` command to clear "app" pools instead
2931
* Always register a minimalist logger that writes in `stderr`
3032
* Deprecated `profiler.matcher` option
3133
* Added support for `EventSubscriberInterface` on `MicroKernelTrait`

CacheWarmer/TemplateFinder.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ class TemplateFinder implements TemplateFinderInterface
3030
private $templates;
3131

3232
/**
33-
* Constructor.
34-
*
3533
* @param KernelInterface $kernel A KernelInterface instance
3634
* @param TemplateNameParserInterface $parser A TemplateNameParserInterface instance
3735
* @param string $rootDir The directory where global templates can be stored

CacheWarmer/TemplatePathsCacheWarmer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ class TemplatePathsCacheWarmer extends CacheWarmer
2626
protected $locator;
2727

2828
/**
29-
* Constructor.
30-
*
3129
* @param TemplateFinderInterface $finder A template finder
3230
* @param TemplateLocator $locator The template locator
3331
*/

Console/Application.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
use Symfony\Component\HttpKernel\Bundle\Bundle;
2626

2727
/**
28-
* Application.
29-
*
3028
* @author Fabien Potencier <[email protected]>
3129
*/
3230
class Application extends BaseApplication
@@ -36,8 +34,6 @@ class Application extends BaseApplication
3634
private $registrationErrors = array();
3735

3836
/**
39-
* Constructor.
40-
*
4137
* @param KernelInterface $kernel A KernelInterface instance
4238
*/
4339
public function __construct(KernelInterface $kernel)

Console/Helper/DescriptorHelper.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
*/
2525
class DescriptorHelper extends BaseDescriptorHelper
2626
{
27-
/**
28-
* Constructor.
29-
*/
3027
public function __construct()
3128
{
3229
$this

Controller/ControllerNameParser.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ class ControllerNameParser
2525
protected $kernel;
2626

2727
/**
28-
* Constructor.
29-
*
3028
* @param KernelInterface $kernel A KernelInterface instance
3129
*/
3230
public function __construct(KernelInterface $kernel)

Controller/ControllerResolver.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,13 @@
1717
use Symfony\Component\HttpKernel\Controller\ContainerControllerResolver;
1818

1919
/**
20-
* ControllerResolver.
21-
*
2220
* @author Fabien Potencier <[email protected]>
2321
*/
2422
class ControllerResolver extends ContainerControllerResolver
2523
{
2624
protected $parser;
2725

2826
/**
29-
* Constructor.
30-
*
3127
* @param ContainerInterface $container A ContainerInterface instance
3228
* @param ControllerNameParser $parser A ControllerNameParser instance
3329
* @param LoggerInterface $logger A LoggerInterface instance

DependencyInjection/Compiler/CachePoolPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function process(ContainerBuilder $container)
106106

107107
foreach ($clearers as $id => $pools) {
108108
$clearer = $container->getDefinition($id);
109-
if ($clearer instanceof ChilDefinition) {
109+
if ($clearer instanceof ChildDefinition) {
110110
$clearer->replaceArgument(0, $pools);
111111
} else {
112112
$clearer->setArgument(0, $pools);

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1508,7 +1508,7 @@ private function registerCacheConfiguration(array $config, ContainerBuilder $con
15081508
if (!$container->getParameter('kernel.debug')) {
15091509
$propertyAccessDefinition->setFactory(array(PropertyAccessor::class, 'createCache'));
15101510
$propertyAccessDefinition->setArguments(array(null, null, $version, new Reference('logger', ContainerInterface::IGNORE_ON_INVALID_REFERENCE)));
1511-
$propertyAccessDefinition->addTag('cache.pool', array('clearer' => 'cache.default_clearer'));
1511+
$propertyAccessDefinition->addTag('cache.pool', array('clearer' => 'cache.system_clearer'));
15121512
$propertyAccessDefinition->addTag('monolog.logger', array('channel' => 'cache'));
15131513
} else {
15141514
$propertyAccessDefinition->setClass(ArrayAdapter::class);

HttpCache/HttpCache.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ abstract class HttpCache extends BaseHttpCache
2929
protected $kernel;
3030

3131
/**
32-
* Constructor.
33-
*
3432
* @param HttpKernelInterface $kernel An HttpKernelInterface instance
3533
* @param string $cacheDir The cache directory (default used if null)
3634
*/

0 commit comments

Comments
 (0)