8000 Merge branch '2.7' into 2.8 · symfony/symfony@9bc9474 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9bc9474

Browse files
Merge branch '2.7' into 2.8
* 2.7: [Intl] Make intl-data tests pass and save language aliases again Remove useless docblocks
2 parents daf1bc2 + 5a3db67 commit 9bc9474

File tree

222 files changed

+1491
-2354
lines changed

Some content is hidden

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

222 files changed

+1491
-2354
lines changed

src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/DoctrineValidationPass.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
*/
2323
class DoctrineValidationPass implements CompilerPassInterface
2424
{
25-
/**
26-
* @var string
27-
*/
2825
private $managerType;
2926

27+
/**
28+
* @param string $managerType
29+
*/
3030
public function __construct($managerType)
3131
{
3232
$this->managerType = 10000 $managerType;

src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
*/
2727
class RegisterEventListenersAndSubscribersPass implements CompilerPassInterface
2828
{
29-
/**
30-
* @var string|string[]
31-
*/
3229
private $connections;
3330
private $eventManagers;
3431
private $managerTemplate;

src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterMappingsPass.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ abstract class RegisterMappingsPass implements CompilerPassInterface
113113
* present to enable the mapping. Set to false
114114
* to not do any check, optional.
115115
* @param string $configurationPattern Pattern for the Configuration service name
116-
* @param string $registerAliasMethodName name of Configuration class method to
116+
* @param string $registerAliasMethodName Name of Configuration class method to
117117
* register alias
118118
* @param string[] $aliasMap Map of alias to namespace
119119
*/
@@ -178,7 +178,7 @@ protected function getChainDriverServiceName(ContainerBuilder $container)
178178
/**
179179
* Create the service definition for the metadata driver.
180180
*
181-
* @param ContainerBuilder $container passed on in case an extending class
181+
* @param ContainerBuilder $container Passed on in case an extending class
182182
* needs access to the container
183183
*
184184
* @return Definition|Reference the metadata driver to add to all chain drivers

src/Symfony/Bridge/Doctrine/ExpressionLanguage/DoctrineParserCache.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
*/
2121
class DoctrineParserCache implements ParserCacheInterface
2222
{
23-
/**
24-
* @var Cache
25-
*/
2623
private $cache;
2724

2825
public function __construct(Cache $cache)

src/Symfony/Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,10 @@
2323
*/
2424
class DoctrineChoiceLoader implements ChoiceLoaderInterface
2525
{
26-
/**
27-
* @var ChoiceListFactoryInterface
28-
*/
2926
private $factory;
30-
31-
/**
32-
* @var ObjectManager
33-
*/
3427
private $manager;
35-
36-
/**
37-
* @var string
38-
*/
3928
private $class;
40-
41-
/**
42-
* @var IdReader
43-
*/
4429
private $idReader;
45-
46-
/**
47-
* @var null|EntityLoaderInterface
48-
*/
4930
private $objectLoader;
5031

5132
/**
@@ -60,13 +41,10 @@ class DoctrineChoiceLoader implements ChoiceLoaderInterface
6041
* passed which optimizes the object loading for one of the Doctrine
6142
* mapper implementations.
6243
*
63-
* @param ChoiceListFactoryInterface $factory The factory for creating
64-
* the loaded choice list
44+
* @param ChoiceListFactoryInterface $factory The factory for creating the loaded choice list
6545
* @param ObjectManager $manager The object manager
66-
* @param string $class The class name of the
67-
* loaded objects
68-
* @param IdReader $idReader the reader for the object
69-
* IDs
46+
* @param string $class The class name of the loaded objects
47+
* @param IdReader $idReader The reader for the object IDs
7048
* @param null|EntityLoaderInterface $objectLoader The objects loader
7149
*/
7250
public function __construct(ChoiceListFactoryInterface $factory, ObjectManager $manager, $class, IdReader $idReader = null, EntityLoaderInterface $objectLoader = null)

src/Symfony/Bridge/Doctrine/Form/ChoiceList/IdReader.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,10 @@
2424
*/
2525
class IdReader
2626
{
27-
/**
28-
* @var ObjectManager
29-
*/
3027
private $om;
31-
32-
/**
33-
* @var ClassMetadata
34-
*/
3528
private $classMetadata;
36-
37-
/**
38-
* @var bool
39-
*/
4029
private $singleId;
41-
42-
/**
43-
* @var bool
44-
*/
4530
private $intId;
46-
47-
/**
48-
* @var string
49-
*/
5031
private $idField;
5132

5233
/**

src/Symfony/Bridge/Doctrine/Form/DoctrineOrmExtension.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,7 @@ class DoctrineOrmExtension extends AbstractExtension
2525
{
2626
protected $registry;
2727

28-
/**
29-
* @var PropertyAccessorInterface
30-
*/
3128
private $propertyAccessor;
32-
33-
/**
34-
* @var ChoiceListFactoryInterface
35-
*/
3629
private $choiceListFactory;
3730

3831
public function __construct(ManagerRegistry $registry, PropertyAccessorInterface $propertyAccessor = null, ChoiceListFactoryInterface $choiceListFactory = null)

src/Symfony/Bridge/Doctrine/PropertyInfo/DoctrineExtractor.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
*/
2828
class DoctrineExtractor implements PropertyListExtractorInterface, PropertyTypeExtractorInterface
2929
{
30-
/**
31-
* @var ClassMetadataFactory
32-
*/
3330
private $classMetadataFactory;
3431

3532
public function __construct(ClassMetadataFactory $classMetadataFactory)

src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
*/
2626
class UniqueEntityValidator extends ConstraintValidator
2727
{
28-
/**
29-
* @var ManagerRegistry
30-
*/
3128
private $registry;
3229

3330
public function __construct(ManagerRegistry $registry)

src/Symfony/Bridge/ProxyManager/LazyProxy/PhpDumper/ProxyDumper.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,8 @@
2525
*/
2626
class ProxyDumper implements DumperInterface
2727
{
28-
/**
29-
* @var string
30-
*/
3128
private $salt;
32-
33-
/**
34-
* @var LazyLoadingValueHolderGenerator
35-
*/
3629
private $proxyGenerator;
37-
38-
/**
39-
* @var BaseGeneratorStrategy
40-
*/
4130
private $classGenerator;
4231

4332
/**

src/Symfony/Bridge/Twig/Extension/StopwatchExtension.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
class StopwatchExtension extends AbstractExtension
2424
{
2525
private $stopwatch;
26-
27-
/**
28-
* @var bool
29-
*/
3026
private $enabled;
3127

3228
public function __construct(Stopwatch $stopwatch = null, $enabled = true)

src/Symfony/Bridge/Twig/NodeVisitor/TranslationDefaultDomainNodeVisitor.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@
3030
*/
3131
class TranslationDefaultDomainNodeVisitor extends AbstractNodeVisitor
3232
{
33-
/**
34-
* @var Scope
35-
*/
3633
private $scope;
3734

3835
public function __construct()

src/Symfony/Bridge/Twig/Translation/TwigExtractor.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ class TwigExtractor extends AbstractFileExtractor implements ExtractorInterface
4242
*/
4343
private $prefix = '';
4444

45-
/**
46-
* The twig environment.
47-
*
48-
* @var Environment
49-
*/
5045
private $twig;
5146

5247
public function __construct(Environment $twig)

src/Symfony/Bundle/FrameworkBundle/EventListener/SessionListener.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
*/
2222
class SessionListener extends BaseSessionListener
2323
{
24-
/**
25-
* @var ContainerInterface
26-
*/
2724
private $container;
2825

2926
public function __construct(ContainerInterface $container)

src/Symfony/Bundle/FrameworkBundle/Translation/TranslationLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ public function addLoader($format, LoaderInterface $loader)
4343
/**
4444
* Loads translation messages from a directory to the catalogue.
4545
*
46-
* @param string $directory the directory to look into
47-
* @param MessageCatalogue $catalogue the catalogue
46+
* @param string $directory The directory to look into
47+
* @param MessageCatalogue $catalogue The catalogue
4848
*/
4949
public function loadMessages($directory, MessageCatalogue $catalogue)
5050
{

src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
class ExceptionController
3030
{
3131
protected $twig;
32+
protected $debug;
3233

3334
/**
34-
* @var bool Show error (false) or exception (true) pages by default
35+
* @param Environment $twig
36+
* @param bool $debug Show error (false) or exception (true) pages by default
3537
*/
36-
protected $debug;
37-
3838
public function __construct(Environment $twig, $debug)
3939
{
4040
$this->twig = $twig;

src/Symfony/Component/ClassLoader/XcacheClassLoader.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@
4949
class XcacheClassLoader
5050
{
5151
private $prefix;
52-
53-
/**
54-
* A class loader object that implements the findFile() method.
55-
*
56-
* @var object
57-
*/
5852
private $decorated;
5953

6054
/**

src/Symfony/Component/Config/ConfigCacheFactory.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
*/
2323
class ConfigCacheFactory implements ConfigCacheFactoryInterface
2424
{
25-
/**
26-
* @var bool Debug flag passed to the ConfigCache
27-
*/
2825
private $debug;
2926

3027
/**

src/Symfony/Component/Config/Definition/ArrayNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function getChildren()
8282
/**
8383
* Sets the xml remappings that should be performed.
8484
*
85-
* @param array $remappings an array of the form array(array(string, string))
85+
* @param array $remappings An array of the form array(array(string, string))
8686
*/
8787
public function setXmlRemappings(array $remappings)
8888
{

src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function children()
6868
/**
6969
* Sets a prototype for child nodes.
7070
*
71-
* @param string $type the type of node
71+
* @param string $type The type of node
7272
*
7373
* @return NodeDefinition
7474
*/
@@ -98,7 +98,7 @@ public function addDefaultsIfNotSet()
9898
*
9999
* This method is applicable to prototype nodes only.
100100
*
101-
* @param int|string|array|null $children the number of children|The child name|The children names to be added
101+
* @param int|string|array|null $children The number of children|The child name|The children names to be added
102102
*
103103
* @return $this
104104
*/

src/Symfony/Component/Config/Definition/Builder/NodeBuilder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function arrayNode($name)
6161
/**
6262
* Creates a child scalar node.
6363
*
64-
* @param string $name the name of the node
64+
* @param string $name The name of the node
6565
*
6666
* @return ScalarNodeDefinition The child node
6767
*/
@@ -85,7 +85,7 @@ public function booleanNode($name)
8585
/**
8686
* Creates a child integer node.
8787
*
88-
* @param string $name the name of the node
88+
* @param string $name The name of the node
8989
*
9090
* @return IntegerNodeDefinition The child node
9191
*/
@@ -97,7 +97,7 @@ public function integerNode($name)
9797
/**
9898
* Creates a child float node.
9999
*
100-
* @param string $name the name of the node
100+
* @param string $name The name of the node
101101
*
102102
* @return FloatNodeDefinition The child node
103103
*/

src/Symfony/Component/Console/ConsoleEvents.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ final class ConsoleEvents
2727
* instance.
2828
*
2929
* @Event
30-
*
31-
* @var string
3230
*/
3331
const COMMAND = 'console.command';
3432

@@ -40,8 +38,6 @@ final class ConsoleEvents
4038
* instance.
4139
*
4240
* @Event
43-
*
44-
* @var string
4541
*/
4642
const TERMINATE = 'console.terminate';
4743

@@ -54,8 +50,6 @@ final class ConsoleEvents
5450
* instance.
5551
*
5652
* @Event
57-
*
58-
* @var string
5953
*/
6054
const EXCEPTION = 'console.exception';
6155
}

src/Symfony/Component/Console/Event/ConsoleCommandEvent.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ class ConsoleCommandEvent extends ConsoleEvent
2525

2626
/**
2727
* Indicates if the command should be run or skipped.
28-
*
29-
* @var bool
3028
*/
3129
private $commandShouldRun = true;
3230

src/Symfony/Component/Console/Helper/ProgressBar.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,13 @@
2323
*/
2424
class ProgressBar
2525
{
26-
// options
2726
private $barWidth = 28;
2827
private $barChar;
2928
private $emptyBarChar = '-';
3029
private $progressChar = '>';
3130
private $format;
3231
private $internalFormat;
3332
private $redrawFreq = 1;
34-
35-
/**
36-
* @var OutputInterface
37-
*/
3833
private $output;
3934
private $step = 0;
4035
private $max;

src/Symfony/Component/Console/Helper/TableHelper.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ class TableHelper extends Helper
3030
const LAYOUT_BORDERLESS = 1;
3131
const LAYOUT_COMPACT = 2;
3232

33-
/**
34-
* @var Table
35-
*/
3633
private $table;
3734

3835
public function __construct($triggerDeprecationError = true)

0 commit comments

Comments
 (0)
0