minor #19280 removed @since (fabpot)
This PR was merged into the 2.7 branch.
Discussion
----------
removed @since
| Q | A
| ------------- | ---
| Branch? | 2.7
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
`@since` is not an annotation we use in Symfony, so let's remove the exiting ones.
Commits
-------
5d6f6aa
removed @since
This commit is contained in:
commit
ff9ac703cd
@ -118,8 +118,6 @@ abstract class RegisterMappingsPass implements CompilerPassInterface
|
|||||||
* @param string $registerAliasMethodName Name of Configuration class method to
|
* @param string $registerAliasMethodName Name of Configuration class method to
|
||||||
* register alias.
|
* register alias.
|
||||||
* @param string[] $aliasMap Map of alias to namespace
|
* @param string[] $aliasMap Map of alias to namespace
|
||||||
*
|
|
||||||
* @since Support for bundle alias was added in Symfony 2.6
|
|
||||||
*/
|
*/
|
||||||
public function __construct($driver, array $namespaces, array $managerParameters, $driverPattern, $enabledParameter = false, $configurationPattern = '', $registerAliasMethodName = '', array $aliasMap = array())
|
public function __construct($driver, array $namespaces, array $managerParameters, $driverPattern, $enabledParameter = false, $configurationPattern = '', $registerAliasMethodName = '', array $aliasMap = array())
|
||||||
{
|
{
|
||||||
|
@ -18,8 +18,6 @@ use Symfony\Component\Form\Exception\RuntimeException;
|
|||||||
/**
|
/**
|
||||||
* A utility for reading object IDs.
|
* A utility for reading object IDs.
|
||||||
*
|
*
|
||||||
* @since 1.0
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @internal This class is meant for internal use only.
|
* @internal This class is meant for internal use only.
|
||||||
|
@ -14,8 +14,6 @@ namespace Symfony\Bridge\Doctrine\Tests\Validator\Constraints;
|
|||||||
use Symfony\Component\Validator\Validation;
|
use Symfony\Component\Validator\Validation;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 2.5.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
* @group legacy
|
* @group legacy
|
||||||
*/
|
*/
|
||||||
|
@ -21,8 +21,6 @@ use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
|
|||||||
* Adapter for using old CSRF providers where the new {@link CsrfTokenManagerInterface}
|
* Adapter for using old CSRF providers where the new {@link CsrfTokenManagerInterface}
|
||||||
* is expected.
|
* is expected.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @deprecated since version 2.4, to be removed in 3.0.
|
* @deprecated since version 2.4, to be removed in 3.0.
|
||||||
|
@ -17,8 +17,6 @@ use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
|
|||||||
/**
|
/**
|
||||||
* Adapter for using the new token generator with the old interface.
|
* Adapter for using the new token generator with the old interface.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @deprecated since version 2.4, to be removed in 3.0.
|
* @deprecated since version 2.4, to be removed in 3.0.
|
||||||
|
@ -17,8 +17,6 @@ use Symfony\Component\Form\AbstractExtension;
|
|||||||
/**
|
/**
|
||||||
* Extension for collecting data of the forms on a page.
|
* Extension for collecting data of the forms on a page.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Robert Schönthal <robert.schoenthal@gmail.com>
|
* @author Robert Schönthal <robert.schoenthal@gmail.com>
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
@ -20,8 +20,6 @@ use Symfony\Component\Form\FormEvents;
|
|||||||
* Listener that invokes a data collector for the {@link FormEvents::POST_SET_DATA}
|
* Listener that invokes a data collector for the {@link FormEvents::POST_SET_DATA}
|
||||||
* and {@link FormEvents::POST_SUBMIT} events.
|
* and {@link FormEvents::POST_SUBMIT} events.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
class DataCollectorListener implements EventSubscriberInterface
|
class DataCollectorListener implements EventSubscriberInterface
|
||||||
|
@ -20,8 +20,6 @@ use Symfony\Component\HttpKernel\DataCollector\DataCollector;
|
|||||||
/**
|
/**
|
||||||
* Data collector for {@link FormInterface} instances.
|
* Data collector for {@link FormInterface} instances.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Robert Schönthal <robert.schoenthal@gmail.com>
|
* @author Robert Schönthal <robert.schoenthal@gmail.com>
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
@ -18,8 +18,6 @@ use Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface;
|
|||||||
/**
|
/**
|
||||||
* Collects and structures information about forms.
|
* Collects and structures information about forms.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
interface FormDataCollectorInterface extends DataCollectorInterface
|
interface FormDataCollectorInterface extends DataCollectorInterface
|
||||||
|
@ -19,8 +19,6 @@ use Symfony\Component\Validator\ConstraintViolationInterface;
|
|||||||
/**
|
/**
|
||||||
* Default implementation of {@link FormDataExtractorInterface}.
|
* Default implementation of {@link FormDataExtractorInterface}.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
class FormDataExtractor implements FormDataExtractorInterface
|
class FormDataExtractor implements FormDataExtractorInterface
|
||||||
|
@ -17,8 +17,6 @@ use Symfony\Component\Form\FormView;
|
|||||||
/**
|
/**
|
||||||
* Extracts arrays of information out of forms.
|
* Extracts arrays of information out of forms.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
interface FormDataExtractorInterface
|
interface FormDataExtractorInterface
|
||||||
|
@ -21,8 +21,6 @@ use Symfony\Component\Form\ResolvedFormTypeInterface;
|
|||||||
/**
|
/**
|
||||||
* Proxy that invokes a data collector when creating a form and its view.
|
* Proxy that invokes a data collector when creating a form and its view.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
class ResolvedTypeDataCollectorProxy implements ResolvedFormTypeInterface
|
class ResolvedTypeDataCollectorProxy implements ResolvedFormTypeInterface
|
||||||
|
@ -20,8 +20,6 @@ use Symfony\Component\Form\ResolvedFormTypeInterface;
|
|||||||
* Proxy that wraps resolved types into {@link ResolvedTypeDataCollectorProxy}
|
* Proxy that wraps resolved types into {@link ResolvedTypeDataCollectorProxy}
|
||||||
* instances.
|
* instances.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
class ResolvedTypeFactoryDataCollectorProxy implements ResolvedFormTypeFactoryInterface
|
class ResolvedTypeFactoryDataCollectorProxy implements ResolvedFormTypeFactoryInterface
|
||||||
|
@ -19,8 +19,6 @@ use Symfony\Component\Form\FormBuilderInterface;
|
|||||||
/**
|
/**
|
||||||
* Type extension for collecting data of a form with this type.
|
* Type extension for collecting data of a form with this type.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Robert Schönthal <robert.schoenthal@gmail.com>
|
* @author Robert Schönthal <robert.schoenthal@gmail.com>
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
@ -27,8 +27,6 @@ use Symfony\Component\Form\Exception\BadMethodCallException;
|
|||||||
* flatten the recursive structure into a flat list of errors.
|
* flatten the recursive structure into a flat list of errors.
|
||||||
*
|
*
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
|
||||||
* @since 2.5
|
|
||||||
*/
|
*/
|
||||||
class FormErrorIterator implements \RecursiveIterator, \SeekableIterator, \ArrayAccess, \Countable
|
class FormErrorIterator implements \RecursiveIterator, \SeekableIterator, \ArrayAccess, \Countable
|
||||||
{
|
{
|
||||||
|
@ -102,9 +102,6 @@ interface FormInterface extends \ArrayAccess, \Traversable, \Countable
|
|||||||
*
|
*
|
||||||
* @return FormErrorIterator An iterator over the {@link FormError}
|
* @return FormErrorIterator An iterator over the {@link FormError}
|
||||||
* instances that where added to this form
|
* instances that where added to this form
|
||||||
*
|
|
||||||
* @since 2.5 Since version 2.5 this method returns a
|
|
||||||
* {@link FormErrorIterator} instance instead of an array
|
|
||||||
*/
|
*/
|
||||||
public function getErrors($deep = false, $flatten = true);
|
public function getErrors($deep = false, $flatten = true);
|
||||||
|
|
||||||
|
@ -62,8 +62,6 @@ abstract class FormPerformanceTestCase extends FormIntegrationTestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since Method available since Release 2.3.0
|
|
||||||
*
|
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
public function getMaxRunningTime()
|
public function getMaxRunningTime()
|
||||||
|
@ -14,8 +14,6 @@ namespace Symfony\Component\Form\Tests\Extension\Validator\Constraints;
|
|||||||
use Symfony\Component\Validator\Validation;
|
use Symfony\Component\Validator\Validation;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 2.5.3
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
* @group legacy
|
* @group legacy
|
||||||
*/
|
*/
|
||||||
|
@ -63,8 +63,6 @@ namespace Symfony\Component\Form\Util;
|
|||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
class OrderedHashMap implements \ArrayAccess, \IteratorAggregate, \Countable
|
class OrderedHashMap implements \ArrayAccess, \IteratorAggregate, \Countable
|
||||||
{
|
{
|
||||||
@ -93,8 +91,6 @@ class OrderedHashMap implements \ArrayAccess, \IteratorAggregate, \Countable
|
|||||||
* Creates a new map.
|
* Creates a new map.
|
||||||
*
|
*
|
||||||
* @param array $elements The elements to insert initially
|
* @param array $elements The elements to insert initially
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
public function __construct(array $elements = array())
|
public function __construct(array $elements = array())
|
||||||
{
|
{
|
||||||
@ -104,8 +100,6 @@ class OrderedHashMap implements \ArrayAccess, \IteratorAggregate, \Countable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
public function offsetExists($key)
|
public function offsetExists($key)
|
||||||
{
|
{
|
||||||
@ -114,8 +108,6 @@ class OrderedHashMap implements \ArrayAccess, \IteratorAggregate, \Countable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
public function offsetGet($key)
|
public function offsetGet($key)
|
||||||
{
|
{
|
||||||
@ -128,8 +120,6 @@ class OrderedHashMap implements \ArrayAccess, \IteratorAggregate, \Countable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
public function offsetSet($key, $value)
|
public function offsetSet($key, $value)
|
||||||
{
|
{
|
||||||
@ -151,8 +141,6 @@ class OrderedHashMap implements \ArrayAccess, \IteratorAggregate, \Countable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($key)
|
public function offsetUnset($key)
|
||||||
{
|
{
|
||||||
@ -170,8 +158,6 @@ class OrderedHashMap implements \ArrayAccess, \IteratorAggregate, \Countable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
public function getIterator()
|
public function getIterator()
|
||||||
{
|
{
|
||||||
@ -180,8 +166,6 @@ class OrderedHashMap implements \ArrayAccess, \IteratorAggregate, \Countable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
public function count()
|
public function count()
|
||||||
{
|
{
|
||||||
|
@ -17,8 +17,6 @@ namespace Symfony\Component\Form\Util;
|
|||||||
* This class is internal and should not be used.
|
* This class is internal and should not be used.
|
||||||
*
|
*
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
class OrderedHashMapIterator implements \Iterator
|
class OrderedHashMapIterator implements \Iterator
|
||||||
{
|
{
|
||||||
@ -69,8 +67,6 @@ class OrderedHashMapIterator implements \Iterator
|
|||||||
* This array is managed by the corresponding
|
* This array is managed by the corresponding
|
||||||
* {@link OrderedHashMap} instance to support
|
* {@link OrderedHashMap} instance to support
|
||||||
* recognizing the deletion of elements.
|
* recognizing the deletion of elements.
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
public function __construct(array &$elements, array &$orderedKeys, array &$managedCursors)
|
public function __construct(array &$elements, array &$orderedKeys, array &$managedCursors)
|
||||||
{
|
{
|
||||||
@ -85,8 +81,6 @@ class OrderedHashMapIterator implements \Iterator
|
|||||||
/**
|
/**
|
||||||
* Removes the iterator's cursors from the managed cursors of the
|
* Removes the iterator's cursors from the managed cursors of the
|
||||||
* corresponding {@link OrderedHashMap} instance.
|
* corresponding {@link OrderedHashMap} instance.
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
public function __destruct()
|
public function __destruct()
|
||||||
{
|
{
|
||||||
@ -96,9 +90,7 @@ class OrderedHashMapIterator implements \Iterator
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*{@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
public function current()
|
public function current()
|
||||||
{
|
{
|
||||||
@ -107,8 +99,6 @@ class OrderedHashMapIterator implements \Iterator
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
public function next()
|
public function next()
|
||||||
{
|
{
|
||||||
@ -124,9 +114,7 @@ class OrderedHashMapIterator implements \Iterator
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*{@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
public function key()
|
public function key()
|
||||||
{
|
{
|
||||||
@ -134,9 +122,7 @@ class OrderedHashMapIterator implements \Iterator
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*{@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
public function valid()
|
public function valid()
|
||||||
{
|
{
|
||||||
@ -144,9 +130,7 @@ class OrderedHashMapIterator implements \Iterator
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*{@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @since 2.2.6
|
|
||||||
*/
|
*/
|
||||||
public function rewind()
|
public function rewind()
|
||||||
{
|
{
|
||||||
|
@ -14,8 +14,6 @@ namespace Symfony\Component\Security\Core\Tests\Validator\Constraints;
|
|||||||
use Symfony\Component\Validator\Validation;
|
use Symfony\Component\Validator\Validation;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 2.5.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
* @group legacy
|
* @group legacy
|
||||||
*/
|
*/
|
||||||
|
@ -14,8 +14,6 @@ namespace Symfony\Component\Security\Csrf;
|
|||||||
/**
|
/**
|
||||||
* Manages CSRF tokens.
|
* Manages CSRF tokens.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
interface CsrfTokenManagerInterface
|
interface CsrfTokenManagerInterface
|
||||||
|
@ -14,8 +14,6 @@ namespace Symfony\Component\Security\Csrf\TokenGenerator;
|
|||||||
/**
|
/**
|
||||||
* Generates CSRF tokens.
|
* Generates CSRF tokens.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
interface TokenGeneratorInterface
|
interface TokenGeneratorInterface
|
||||||
|
@ -17,8 +17,6 @@ use Symfony\Component\Security\Core\Util\SecureRandom;
|
|||||||
/**
|
/**
|
||||||
* Generates CSRF tokens.
|
* Generates CSRF tokens.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
|
||||||
*/
|
*/
|
||||||
class UriSafeTokenGenerator implements TokenGeneratorInterface
|
class UriSafeTokenGenerator implements TokenGeneratorInterface
|
||||||
|
@ -16,8 +16,6 @@ use Symfony\Component\Security\Csrf\Exception\TokenNotFoundException;
|
|||||||
/**
|
/**
|
||||||
* Token storage that uses PHP's native session handling.
|
* Token storage that uses PHP's native session handling.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
class NativeSessionTokenStorage implements TokenStorageInterface
|
class NativeSessionTokenStorage implements TokenStorageInterface
|
||||||
|
@ -17,8 +17,6 @@ use Symfony\Component\Security\Csrf\Exception\TokenNotFoundException;
|
|||||||
/**
|
/**
|
||||||
* Token storage that uses a Symfony Session object.
|
* Token storage that uses a Symfony Session object.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
class SessionTokenStorage implements TokenStorageInterface
|
class SessionTokenStorage implements TokenStorageInterface
|
||||||
|
@ -14,8 +14,6 @@ namespace Symfony\Component\Security\Csrf\TokenStorage;
|
|||||||
/**
|
/**
|
||||||
* Stores CSRF tokens.
|
* Stores CSRF tokens.
|
||||||
*
|
*
|
||||||
* @since 2.4
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
interface TokenStorageInterface
|
interface TokenStorageInterface
|
||||||
|
@ -207,8 +207,6 @@ abstract class Constraint
|
|||||||
* @throws InvalidOptionsException If an invalid option name is given
|
* @throws InvalidOptionsException If an invalid option name is given
|
||||||
*
|
*
|
||||||
* @internal This method should not be used or overwritten in userland code.
|
* @internal This method should not be used or overwritten in userland code.
|
||||||
*
|
|
||||||
* @since 2.6
|
|
||||||
*/
|
*/
|
||||||
public function __get($option)
|
public function __get($option)
|
||||||
{
|
{
|
||||||
@ -296,8 +294,6 @@ abstract class Constraint
|
|||||||
* @internal This method may be replaced by an implementation of
|
* @internal This method may be replaced by an implementation of
|
||||||
* {@link \Serializable} in the future. Please don't use or
|
* {@link \Serializable} in the future. Please don't use or
|
||||||
* overwrite it.
|
* overwrite it.
|
||||||
*
|
|
||||||
* @since 2.6
|
|
||||||
*/
|
*/
|
||||||
public function __sleep()
|
public function __sleep()
|
||||||
{
|
{
|
||||||
|
@ -23,8 +23,6 @@ class Callback extends Constraint
|
|||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var string|callable
|
* @var string|callable
|
||||||
*
|
|
||||||
* @since 2.4
|
|
||||||
*/
|
*/
|
||||||
public $callback;
|
public $callback;
|
||||||
|
|
||||||
|
@ -24,8 +24,6 @@ use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
|
|||||||
* let {@link getCompositeOption()} return the name of the property which
|
* let {@link getCompositeOption()} return the name of the property which
|
||||||
* contains the nested constraints.
|
* contains the nested constraints.
|
||||||
*
|
*
|
||||||
* @since 2.6
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
abstract class Composite extends Constraint
|
abstract class Composite extends Constraint
|
||||||
|
@ -17,8 +17,6 @@ use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
|
|||||||
/**
|
/**
|
||||||
* @Annotation
|
* @Annotation
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
class Traverse extends Constraint
|
class Traverse extends Constraint
|
||||||
|
@ -27,8 +27,6 @@ use Symfony\Component\Validator\Violation\ConstraintViolationBuilder;
|
|||||||
/**
|
/**
|
||||||
* The context used and created by {@link ExecutionContextFactory}.
|
* The context used and created by {@link ExecutionContextFactory}.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @see ExecutionContextInterface
|
* @see ExecutionContextInterface
|
||||||
|
@ -17,8 +17,6 @@ use Symfony\Component\Validator\Validator\ValidatorInterface;
|
|||||||
/**
|
/**
|
||||||
* Creates new {@link ExecutionContext} instances.
|
* Creates new {@link ExecutionContext} instances.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @internal You should not instantiate or use this class. Code against
|
* @internal You should not instantiate or use this class. Code against
|
||||||
|
@ -19,8 +19,6 @@ use Symfony\Component\Validator\Validator\ValidatorInterface;
|
|||||||
* You can use a custom factory if you want to customize the execution context
|
* You can use a custom factory if you want to customize the execution context
|
||||||
* that is passed through the validation run.
|
* that is passed through the validation run.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
interface ExecutionContextFactoryInterface
|
interface ExecutionContextFactoryInterface
|
||||||
|
@ -56,8 +56,6 @@ use Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface;
|
|||||||
* cannot store a context and expect that the methods still return the same
|
* cannot store a context and expect that the methods still return the same
|
||||||
* results later on.
|
* results later on.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
interface ExecutionContextInterface extends LegacyExecutionContextInterface
|
interface ExecutionContextInterface extends LegacyExecutionContextInterface
|
||||||
|
@ -20,8 +20,6 @@ use Symfony\Component\Validator\Validator\ValidatorInterface;
|
|||||||
/**
|
/**
|
||||||
* An execution context that is compatible with the legacy API (< 2.5).
|
* An execution context that is compatible with the legacy API (< 2.5).
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @deprecated since version 2.5, to be removed in 3.0.
|
* @deprecated since version 2.5, to be removed in 3.0.
|
||||||
|
@ -22,8 +22,6 @@ use Symfony\Component\Validator\Validator\ValidatorInterface;
|
|||||||
*
|
*
|
||||||
* Implemented for backward compatibility with Symfony < 2.5.
|
* Implemented for backward compatibility with Symfony < 2.5.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @deprecated since version 2.5, to be removed in 3.0.
|
* @deprecated since version 2.5, to be removed in 3.0.
|
||||||
|
@ -12,8 +12,6 @@
|
|||||||
namespace Symfony\Component\Validator\Exception;
|
namespace Symfony\Component\Validator\Exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
class UnsupportedMetadataException extends InvalidArgumentException
|
class UnsupportedMetadataException extends InvalidArgumentException
|
||||||
|
@ -27,8 +27,6 @@ namespace Symfony\Component\Validator\Mapping;
|
|||||||
* Although the constants currently represent a boolean switch, they are
|
* Although the constants currently represent a boolean switch, they are
|
||||||
* implemented as bit mask in order to allow future extensions.
|
* implemented as bit mask in order to allow future extensions.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @see TraversalStrategy
|
* @see TraversalStrategy
|
||||||
|
@ -24,8 +24,6 @@ use Symfony\Component\Validator\PropertyMetadataContainerInterface as LegacyProp
|
|||||||
* by a group sequence for that class and whether instances of that class
|
* by a group sequence for that class and whether instances of that class
|
||||||
* should be traversed or not.
|
* should be traversed or not.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @see MetadataInterface
|
* @see MetadataInterface
|
||||||
|
@ -16,8 +16,6 @@ use Symfony\Component\Validator\MetadataFactoryInterface as LegacyMetadataFactor
|
|||||||
/**
|
/**
|
||||||
* Returns {@link \Symfony\Component\Validator\Mapping\MetadataInterface} instances for values.
|
* Returns {@link \Symfony\Component\Validator\Mapping\MetadataInterface} instances for values.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
interface MetadataFactoryInterface extends LegacyMetadataFactoryInterface
|
interface MetadataFactoryInterface extends LegacyMetadataFactoryInterface
|
||||||
|
@ -23,8 +23,6 @@ use Symfony\Component\Validator\ValidationVisitorInterface;
|
|||||||
*
|
*
|
||||||
* This class supports serialization and cloning.
|
* This class supports serialization and cloning.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
class GenericMetadata implements MetadataInterface
|
class GenericMetadata implements MetadataInterface
|
||||||
|
@ -24,8 +24,6 @@ use Symfony\Component\Validator\MetadataInterface as LegacyMetadataInterface;
|
|||||||
* against their class' metadata and whether traversable objects should be
|
* against their class' metadata and whether traversable objects should be
|
||||||
* traversed or not.
|
* traversed or not.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @see CascadingStrategy
|
* @see CascadingStrategy
|
||||||
|
@ -24,8 +24,6 @@ use Symfony\Component\Validator\PropertyMetadataInterface as LegacyPropertyMetad
|
|||||||
* should be validated against their class' metadata and whether traversable
|
* should be validated against their class' metadata and whether traversable
|
||||||
* objects should be traversed or not.
|
* objects should be traversed or not.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @see MetadataInterface
|
* @see MetadataInterface
|
||||||
|
@ -23,8 +23,6 @@ namespace Symfony\Component\Validator\Mapping;
|
|||||||
*
|
*
|
||||||
* The traversal strategy is ignored for arrays. Arrays are always iterated.
|
* The traversal strategy is ignored for arrays. Arrays are always iterated.
|
||||||
*
|
*
|
||||||
* @since 2.1
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @see CascadingStrategy
|
* @see CascadingStrategy
|
||||||
|
@ -24,8 +24,6 @@ use Symfony\Component\Validator\Mapping\PropertyMetadata;
|
|||||||
use Symfony\Component\Validator\Validation;
|
use Symfony\Component\Validator\Validation;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 2.5.3
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
abstract class AbstractConstraintValidatorTest extends \PHPUnit_Framework_TestCase
|
abstract class AbstractConstraintValidatorTest extends \PHPUnit_Framework_TestCase
|
||||||
|
@ -32,8 +32,6 @@ class ConcreteComposite extends Composite
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 2.6
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
class CompositeTest extends \PHPUnit_Framework_TestCase
|
class CompositeTest extends \PHPUnit_Framework_TestCase
|
||||||
|
@ -16,8 +16,6 @@ use Symfony\Component\Validator\GlobalExecutionContextInterface;
|
|||||||
use Symfony\Component\Validator\ValidationVisitorInterface;
|
use Symfony\Component\Validator\ValidationVisitorInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 2.5.3
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @deprecated since version 2.5, to be removed in 3.0
|
* @deprecated since version 2.5, to be removed in 3.0
|
||||||
|
@ -29,8 +29,6 @@ use Symfony\Component\Validator\Validator\ValidatorInterface;
|
|||||||
/**
|
/**
|
||||||
* Verifies that a validator satisfies the API of Symfony 2.5+.
|
* Verifies that a validator satisfies the API of Symfony 2.5+.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
abstract class Abstract2Dot5ApiTest extends AbstractValidatorTest
|
abstract class Abstract2Dot5ApiTest extends AbstractValidatorTest
|
||||||
|
@ -23,8 +23,6 @@ use Symfony\Component\Validator\ValidatorInterface as LegacyValidatorInterface;
|
|||||||
/**
|
/**
|
||||||
* Verifies that a validator satisfies the API of Symfony < 2.5.
|
* Verifies that a validator satisfies the API of Symfony < 2.5.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
* @group legacy
|
* @group legacy
|
||||||
*/
|
*/
|
||||||
|
@ -23,8 +23,6 @@ use Symfony\Component\Validator\Tests\Fixtures\GroupSequenceProviderEntity;
|
|||||||
use Symfony\Component\Validator\Tests\Fixtures\Reference;
|
use Symfony\Component\Validator\Tests\Fixtures\Reference;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
abstract class AbstractValidatorTest extends \PHPUnit_Framework_TestCase
|
abstract class AbstractValidatorTest extends \PHPUnit_Framework_TestCase
|
||||||
|
@ -16,8 +16,6 @@ namespace Symfony\Component\Validator\Util;
|
|||||||
*
|
*
|
||||||
* For more extensive functionality, use Symfony's PropertyAccess component.
|
* For more extensive functionality, use Symfony's PropertyAccess component.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
class PropertyPath
|
class PropertyPath
|
||||||
|
@ -17,8 +17,6 @@ use Symfony\Component\Validator\ConstraintViolationListInterface;
|
|||||||
/**
|
/**
|
||||||
* A validator in a specific execution context.
|
* A validator in a specific execution context.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
interface ContextualValidatorInterface
|
interface ContextualValidatorInterface
|
||||||
|
@ -16,8 +16,6 @@ namespace Symfony\Component\Validator\Validator;
|
|||||||
/**
|
/**
|
||||||
* A validator that supports both the API of Symfony < 2.5 and Symfony 2.5+.
|
* A validator that supports both the API of Symfony < 2.5 and Symfony 2.5+.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @see \Symfony\Component\Validator\ValidatorInterface
|
* @see \Symfony\Component\Validator\ValidatorInterface
|
||||||
|
@ -33,8 +33,6 @@ use Symfony\Component\Validator\Util\PropertyPath;
|
|||||||
/**
|
/**
|
||||||
* Recursive implementation of {@link ContextualValidatorInterface}.
|
* Recursive implementation of {@link ContextualValidatorInterface}.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
class RecursiveContextualValidator implements ContextualValidatorInterface
|
class RecursiveContextualValidator implements ContextualValidatorInterface
|
||||||
|
@ -24,8 +24,6 @@ use Symfony\Component\Validator\ValidatorInterface as LegacyValidatorInterface;
|
|||||||
/**
|
/**
|
||||||
* Recursive implementation of {@link ValidatorInterface}.
|
* Recursive implementation of {@link ValidatorInterface}.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
class RecursiveValidator implements ValidatorInterface, LegacyValidatorInterface
|
class RecursiveValidator implements ValidatorInterface, LegacyValidatorInterface
|
||||||
|
@ -19,8 +19,6 @@ use Symfony\Component\Validator\Mapping\Factory\MetadataFactoryInterface;
|
|||||||
/**
|
/**
|
||||||
* Validates PHP values against constraints.
|
* Validates PHP values against constraints.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
interface ValidatorInterface extends MetadataFactoryInterface
|
interface ValidatorInterface extends MetadataFactoryInterface
|
||||||
|
@ -20,8 +20,6 @@ use Symfony\Component\Validator\Util\PropertyPath;
|
|||||||
/**
|
/**
|
||||||
* Default implementation of {@link ConstraintViolationBuilderInterface}.
|
* Default implementation of {@link ConstraintViolationBuilderInterface}.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @internal You should not instantiate or use this class. Code against
|
* @internal You should not instantiate or use this class. Code against
|
||||||
|
@ -19,8 +19,6 @@ namespace Symfony\Component\Validator\Violation;
|
|||||||
* Finally, call {@link addViolation()} to add the violation to the current
|
* Finally, call {@link addViolation()} to add the violation to the current
|
||||||
* execution context.
|
* execution context.
|
||||||
*
|
*
|
||||||
* @since 2.5
|
|
||||||
*
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*/
|
*/
|
||||||
interface ConstraintViolationBuilderInterface
|
interface ConstraintViolationBuilderInterface
|
||||||
|
Reference in New Issue
Block a user