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

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5053ae2

Browse files
Merge branch '2.7' into 2.8
* 2.7: removed @SInCE Remove and change unrelevant comments in Validator and Security components. [Validator] UuidValidator must accept a Uuid constraint. [Validator] make UuidValidator class formatting consistent.
2 parents 4e7cc3b + 0259bed commit 5053ae2

File tree

61 files changed

+26
-167
lines changed

Some content is hidden

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

61 files changed

+26
-167
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ abstract class RegisterMappingsPass implements CompilerPassInterface
118118
* @param string $registerAliasMethodName Name of Configuration class method to
119119
* register alias.
120120
* @param string[] $aliasMap Map of alias to namespace
121-
*
122-
* @since Support for bundle alias was added in Symfony 2.6
123121
*/
124122
public function __construct($driver, array $namespaces, array $managerParameters, $driverPattern, $enabledParameter = false, $configurationPattern = '', $registerAliasMethodName = '', array $aliasMap = array())
125123
{

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
/**
1919
* A utility for reading object IDs.
2020
*
21-
* @since 1.0
22-
*
2321
* @author Bernhard Schussek <bschussek@gmail.com>
2422
*
2523
* @internal This class is meant for internal use only.

src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/LegacyUniqueEntityValidatorLegacyApiTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
use Symfony\Component\Validator\Validation;
1515

1616
/**
17-
* @since 2.5.4
18-
*
1917
* @author Bernhard Schussek <bschussek@gmail.com>
2018
* @group legacy
2119
*/

src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/CsrfProviderAdapter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
* Adapter for using old CSRF providers where the new {@link CsrfTokenManagerInterface}
2222
* is expected.
2323
*
24-
* @since 2.4
25-
*
2624
* @author Bernhard Schussek <bschussek@gmail.com>
2725
*
2826
* @deprecated since version 2.4, to be removed in 3.0.

src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/CsrfTokenManagerAdapter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
/**
1818
* Adapter for using the new token generator with the old interface.
1919
*
20-
* @since 2.4
21-
*
2220
* @author Bernhard Schussek <bschussek@gmail.com>
2321
*
2422
* @deprecated since version 2.4, to be removed in 3.0.

src/Symfony/Component/Form/Extension/DataCollector/DataCollectorExtension.php

Lines changed: 0 additions & 2 deletions
F438
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
/**
1818
* Extension for collecting data of the forms on a page.
1919
*
20-
* @since 2.4
21-
*
2220
* @author Robert Schönthal <robert.schoenthal@gmail.com>
2321
* @author Bernhard Schussek <bschussek@gmail.com>
2422
*/

src/Symfony/Component/Form/Extension/DataCollector/EventListener/DataCollectorListener.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
* Listener that invokes a data collector for the {@link FormEvents::POST_SET_DATA}
2121
* and {@link FormEvents::POST_SUBMIT} events.
2222
*
23-
* @since 2.4
24-
*
2523
* @author Bernhard Schussek <bschussek@gmail.com>
2624
*/
2725
class DataCollectorListener implements EventSubscriberInterface

src/Symfony/Component/Form/Extension/DataCollector/FormDataCollector.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
/**
2121
* Data collector for {@link FormInterface} instances.
2222
*
23-
* @since 2.4
24-
*
2523
* @author Robert Schönthal <robert.schoenthal@gmail.com>
2624
* @author Bernhard Schussek <bschussek@gmail.com>
2725
*/

src/Symfony/Component/Form/Extension/DataCollector/FormDataCollectorInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
/**
1919
* Collects and structures information about forms.
2020
*
21-
* @since 2.4
22-
*
2321
* @author Bernhard Schussek <bschussek@gmail.com>
2422
*/
2523
interface FormDataCollectorInterface extends DataCollectorInterface

src/Symfony/Component/Form/Extension/DataCollector/FormDataExtractor.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
/**
2020
* Default implementation of {@link FormDataExtractorInterface}.
2121
*
22-
* @since 2.4
23-
*
2422
* @author Bernhard Schussek <bschussek@gmail.com>
2523
*/
2624
class FormDataExtractor implements FormDataExtractorInterface

src/Symfony/Component/Form/Extension/DataCollector/FormDataExtractorInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
/**
1818
* Extracts arrays of information out of forms.
1919
*
20-
* @since 2.4
21-
*
2220
* @author Bernhard Schussek <bschussek@gmail.com>
2321
*/
2422
interface FormDataExtractorInterface

src/Symfony/Component/Form/Extension/DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
/**
2222
* Proxy that invokes a data collector when creating a form and its view.
2323
*
24-
* @since 2.4
25-
*
2624
* @author Bernhard Schussek <bschussek@gmail.com>
2725
*/
2826
class ResolvedTypeDataCollectorProxy implements ResolvedFormTypeInterface

src/Symfony/Component/Form/Extension/DataCollector/Proxy/ResolvedTypeFactoryDataCollectorProxy.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
* Proxy that wraps resolved types into {@link ResolvedTypeDataCollectorProxy}
2121
* instances.
2222
*
23-
* @since 2.4
24-
*
2523
* @author Bernhard Schussek <bschussek@gmail.com>
2624
*/
2725
class ResolvedTypeFactoryDataCollectorProxy implements ResolvedFormTypeFactoryInterface

src/Symfony/Component/Form/Extension/DataCollector/Type/DataCollectorTypeExtension.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
/**
2020
* Type extension for collecting data of a form with this type.
2121
*
22-
* @since 2.4
23-
*
2422
* @author Robert Schönthal <robert.schoenthal@gmail.com>
2523
* @author Bernhard Schussek <bschussek@gmail.com>
2624
*/

src/Symfony/Component/Form/FormErrorIterator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
* flatten the recursive structure into a flat list of errors.
2828
*
2929
* @author Bernhard Schussek <bschussek@gmail.com>
30-
*
31-
* @since 2.5
3230
*/
3331
class FormErrorIterator implements \RecursiveIterator, \SeekableIterator, \ArrayAccess, \Countable
3432
{

src/Symfony/Component/Form/FormInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@ public function all();
102102
*
103103
* @return FormErrorIterator An iterator over the {@link FormError}
104104
* instances that where added to this form
105-
*
106-
* @since 2.5 Since version 2.5 this method returns a
107-
* {@link FormErrorIterator} instance instead of an array
108105
*/
109106
public function getErrors($deep = false, $flatten = true);
110107

src/Symfony/Component/Form/Test/FormPerformanceTestCase.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ public function setMaxRunningTime($maxRunningTime)
6262
}
6363

6464
/**
65-
* @since Method available since Release 2.3.0
66-
*
6765
* @return int
6866
*/
6967
public function getMaxRunningTime()

src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/LegacyFormValidatorLegacyApiTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
use Symfony\Component\Validator\Validation;
1515

1616
/**
17-
* @since 2.5.3
18-
*
1917
* @author Bernhard Schussek <bschussek@gmail.com>
2018
* @group legacy
2119
*/

src/Symfony/Component/Form/Util/OrderedHashMap.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@
6363
* }
6464
*
6565
* @author Bernhard Schussek <bschussek@gmail.com>
66-
*
67-
* @since 2.2.6
6866
*/
6967
class OrderedHashMap implements \ArrayAccess, \IteratorAggregate, \Countable
7068
{
@@ -93,8 +91,6 @@ class OrderedHashMap implements \ArrayAccess, \IteratorAggregate, \Countable
9391
* Creates a new map.
9492
*
9593
* @param array $elements The elements to insert initially
96-
*
97-
* @since 2.2.6
9894
*/
9995
public function __construct(array $elements = array())
10096
{
@@ -104,8 +100,6 @@ public function __construct(array $elements = array())
104100

105101
/**
106102
* {@inheritdoc}
107-
*
108-
* @since 2.2.6
109103
*/
110104
public function offsetExists($key)
111105
{
@@ -114,8 +108,6 @@ public function offsetExists($key)
114108

115109
/**
116110
* {@inheritdoc}
117-
*
118-
* @since 2.2.6
119111
*/
120112
public function offsetGet($key)
121113
{
@@ -128,8 +120,6 @@ public function offsetGet($key)
128120

129121
/**
130122
* {@inheritdoc}
131-
*
132-
* @since 2.2.6
133123
*/
134124
public function offsetSet($key, $value)
135125
{
@@ -151,8 +141,6 @@ public function offsetSet($key, $value)
151141

152142
/**
153143
* {@inheritdoc}
154-
*
155-
* @since 2.2.6
156144
*/
157145
public function offsetUnset($key)
158146
{
@@ -170,8 +158,6 @@ public function offsetUnset($key)
170158

171159
/**
172160
* {@inheritdoc}
173-
*
174-
* @since 2.2.6
175161
*/
176162
public function getIterator()
177163
{
@@ -180,8 +166,6 @@ public function getIterator()
180166

181167
/**
182168
* {@inheritdoc}
183-
*
184-
* @since 2.2.6
185169
*/
186170
public function count()
187171
{

src/Symfony/Component/Form/Util/OrderedHashMapIterator.php

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
* This class is internal and should not be used.
1818
*
1919
* @author Bernhard Schussek <bschussek@gmail.com>
20-
*
21-
* @since 2.2.6
2220
*/
2321
class OrderedHashMapIterator implements \Iterator
2422
{
@@ -69,8 +67,6 @@ class OrderedHashMapIterator implements \Iterator
6967
* This array is managed by the corresponding
7068
* {@link OrderedHashMap} instance to support
7169
* recognizing the deletion of elements.
72-
*
73-
* @since 2.2.6
7470
*/
7571
public function __construct(array &$elements, array &$orderedKeys, array &$managedCursors)
7672
{
@@ -85,8 +81,6 @@ public function __construct(array &$elements, array &$orderedKeys, array &$manag
8581
/**
8682
* Removes the iterator's cursors from the managed cursors of the
8783
* corresponding {@link OrderedHashMap} instance.
88-
*
89-
* @since 2.2.6
9084
*/
9185
public function __destruct()
9286
{
@@ -96,9 +90,7 @@ public function __destruct()
9690
}
9791

9892
/**
99-
*{@inheritdoc}
100-
*
101-
* @since 2.2.6
93+
* {@inheritdoc}
10294
*/
10395
public function current()
10496
{
@@ -107,8 +99,6 @@ public function current()
10799

108100
/**
109101
* {@inheritdoc}
110-
*
111-
* @since 2.2.6
112102
*/
113103
public function next()
114104
{
@@ -124,29 +114,23 @@ public function next()
124114
}
125115

126116
/**
127-
*{@inheritdoc}
128-
*
129-
* @since 2.2.6
117+
* {@inheritdoc}
130118
*/
131119
public function key()
132120
{
133121
return $this->key;
134122
}
135123

136124
/**
137-
*{@inheritdoc}
138-
*
139-
* @since 2.2.6
125+
* {@inheritdoc}
140126
*/
141127
public function valid()
142128
{
143129
return null !== $this->key;
144130
}
145131

146132
/**
147-
*{@inheritdoc}
148-
*
149-
* @since 2.2.6
133+
* {@inheritdoc}
150134
*/
151135
public function rewind()
152136
{

src/Symfony/Component/Security/Core/Tests/Validator/Constraints/LegacyUserPasswordValidatorTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
use Symfony\Component\Validator\Validation;
1515

1616
/**
17-
* @since 2.5.4
18-
*
1917
* @author Bernhard Schussek <bschussek@gmail.com>
2018
* @group legacy
2119
*/

src/Symfony/Component/Security/Csrf/CsrfTokenManagerInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
/**
1515
* Manages CSRF tokens.
1616
*
17-
* @since 2.4
18-
*
1917
* @author Bernhard Schussek <bschussek@gmail.com>
2018
*/
2119
interface CsrfTokenManagerInterface

src/Symfony/Component/Security/Csrf/TokenGenerator/TokenGeneratorInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
/**
1515
* Generates CSRF tokens.
1616
*
17-
* @since 2.4
18-
*
1917
* @author Bernhard Schussek <bschussek@gmail.com>
2018
*/
2119
interface TokenGeneratorInterface

src/Symfony/Component/Security/Csrf/TokenGenerator/UriSafeTokenGenerator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
/**
1717
* Generates CSRF tokens.
1818
*
19-
* @since 2.4
20-
*
2119
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
2220
*/
2321
class UriSafeTokenGenerator implements TokenGeneratorInterface

src/Symfony/Component/Security/Csrf/TokenStorage/NativeSessionTokenStorage.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
/**
1717
* Token storage that uses PHP's native session handling.
1818
*
19-
* @since 2.4
20-
*
2119
* @author Bernhard Schussek <bschussek@gmail.com>
2220
*/
2321
class NativeSessionTokenStorage implements TokenStorageInterface

src/Symfony/Component/Security/Csrf/TokenStorage/SessionTokenStorage.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
use Symfony\Component\Security\Csrf\Exception\TokenNotFoundException;
1616

1717
/**
18-
* Token storage that uses a Symfony2 Session object.
19-
*
20-
* @since 2.4
18+
* Token storage that uses a Symfony Session object.
2119
*
2220
* @author Bernhard Schussek <bschussek@gmail.com>
2321
*/

src/Symfony/Component/Security/Csrf/TokenStorage/TokenStorageInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
/**
1515
* Stores CSRF tokens.
1616
*
17-
* @since 2.4
18-
*
1917
* @author Bernhard Schussek <bschussek@gmail.com>
2018
*/
2119
interface TokenStorageInterface

src/Symfony/Component/Validator/Constraint.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,6 @@ public function __set($option, $value)
207207
* @throws InvalidOptionsException If an invalid option name is given
208208
*
209209
* @internal This method should not be used or overwritten in userland code.
210-
*
211-
* @since 2.6
212210
*/
213211
public function __get($option)
214212
{
@@ -296,8 +294,6 @@ public function getTargets()
296294
* @internal This method may be replaced by an implementation of
297295
* {@link \Serializable} in the future. Please don't use or
298296
* overwrite it.
299-
*
300-
* @since 2.6
301297
*/
302298
public function __sleep()
303299
{

0 commit comments

Comments
 (0)
0