Skip to content

Commit fa9fe1b

Browse files
Merge branch '2.7' into 2.8
* 2.7: (22 commits) Tests and fix for issue in array model data in EntityType field with multiple=true [Form] Fixed PercentToLocalizedStringTransformer to accept both comma and dot as decimal separator, if possible removed useless PHPDoc [Form] Fix FormInterface::submit() annotation 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. Added null as explicit return type (?TokenInterface) [FrameworkBundle] Fix Routing\DelegatingLoader Render all line breaks according to the exception message [Form] Fix phpdoc [DI] remove confusing code [Form] Fixed GroupSequence with "constraints" option [Validator] Clarify UUID validator behavior [Filesystem] Fixed makePathRelative ...
2 parents f239da5 + bd3fdc8 commit fa9fe1b

27 files changed

+5
-62
lines changed

CacheWarmer/RouterCacheWarmer.php

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

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

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
@@ -25,8 +25,6 @@ class TemplatePathsCacheWarmer extends CacheWarmer
2525
protected $locator;
2626

2727
/**
28-
* Constructor.
29-
*
3028
* @param TemplateFinderInterface $finder A template finder
3129
* @param TemplateLocator $locator The template locator
3230
*/

Console/Application.php

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

2424
/**
25-
* Application.
26-
*
2725
* @author Fabien Potencier <fabien@symfony.com>
2826
*/
2927
class Application extends BaseApplication
@@ -32,8 +30,6 @@ class Application extends BaseApplication
3230
private $commandsRegistered = false;
3331

3432
/**
35-
* Constructor.
36-
*
3733
* @param KernelInterface $kernel A KernelInterface instance
3834
*/
3935
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,8 +17,6 @@
1717
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
1818

1919
/**
20-
* ControllerResolver.
21-
*
2220
* @author Fabien Potencier <fabien@symfony.com>
2321
*/
2422
class ControllerResolver extends BaseControllerResolver
@@ -27,8 +25,6 @@ class ControllerResolver extends BaseControllerResolver
2725
protected $parser;
2826

2927
/**
30-
* Constructor.
31-
*
3228
* @param ContainerInterface $container A ContainerInterface instance
3329
* @param ControllerNameParser $parser A ControllerNameParser instance
3430
* @param LoggerInterface $logger A LoggerInterface instance

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
*/

Routing/DelegatingLoader.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ class DelegatingLoader extends BaseDelegatingLoader
3232
private $loading = false;
3333

3434
/**
35-
* Constructor.
36-
*
3735
* Ability to pass a LoggerInterface instance as second argument will be removed in 3.0.
3836
*
3937
* @param ControllerNameParser $parser A ControllerNameParser instance
@@ -92,7 +90,7 @@ public function load($resource, $type = null)
9290
$this->loading = false;
9391

9492
foreach ($collection->all() as $route) {
95-
if (!$controller = $route->getDefault('_controller')) {
93+
if (!is_string($controller = $route->getDefault('_controller')) || !$controller) {
9694
continue;
9795
}
9896

Routing/Router.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ class Router extends BaseRouter implements WarmableInterface
2929
private $container;
3030

3131
/**
32-
* Constructor.
33-
*
3432
* @param ContainerInterface $container A ContainerInterface instance
3533
* @param mixed $resource The main resource to load
3634
* @param array $options An array of options

0 commit comments

Comments
 (0)