Skip to content

Commit

Permalink
minor #19280 removed @SInCE (fabpot)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fabpot committed Jul 4, 2016
2 parents 4b9b6fb + 5d6f6aa commit ff9ac70
Show file tree
Hide file tree
Showing 59 changed files with 4 additions and 153 deletions.
Expand Up @@ -118,8 +118,6 @@ abstract class RegisterMappingsPass implements CompilerPassInterface
* @param string $registerAliasMethodName Name of Configuration class method to
* register alias.
* @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())
{
Expand Down
2 changes: 0 additions & 2 deletions src/Symfony/Bridge/Doctrine/Form/ChoiceList/IdReader.php
Expand Up @@ -18,8 +18,6 @@
/**
* A utility for reading object IDs.
*
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @internal This class is meant for internal use only.
Expand Down
Expand Up @@ -14,8 +14,6 @@
use Symfony\Component\Validator\Validation;

/**
* @since 2.5.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy
*/
Expand Down
Expand Up @@ -21,8 +21,6 @@
* Adapter for using old CSRF providers where the new {@link CsrfTokenManagerInterface}
* is expected.
*
* @since 2.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @deprecated since version 2.4, to be removed in 3.0.
Expand Down
Expand Up @@ -17,8 +17,6 @@
/**
* Adapter for using the new token generator with the old interface.
*
* @since 2.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @deprecated since version 2.4, to be removed in 3.0.
Expand Down
Expand Up @@ -17,8 +17,6 @@
/**
* Extension for collecting data of the forms on a page.
*
* @since 2.4
*
* @author Robert Schönthal <robert.schoenthal@gmail.com>
* @author Bernhard Schussek <bschussek@gmail.com>
*/
Expand Down
Expand Up @@ -20,8 +20,6 @@
* Listener that invokes a data collector for the {@link FormEvents::POST_SET_DATA}
* and {@link FormEvents::POST_SUBMIT} events.
*
* @since 2.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class DataCollectorListener implements EventSubscriberInterface
Expand Down
Expand Up @@ -20,8 +20,6 @@
/**
* Data collector for {@link FormInterface} instances.
*
* @since 2.4
*
* @author Robert Schönthal <robert.schoenthal@gmail.com>
* @author Bernhard Schussek <bschussek@gmail.com>
*/
Expand Down
Expand Up @@ -18,8 +18,6 @@
/**
* Collects and structures information about forms.
*
* @since 2.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
interface FormDataCollectorInterface extends DataCollectorInterface
Expand Down
Expand Up @@ -19,8 +19,6 @@
/**
* Default implementation of {@link FormDataExtractorInterface}.
*
* @since 2.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class FormDataExtractor implements FormDataExtractorInterface
Expand Down
Expand Up @@ -17,8 +17,6 @@
/**
* Extracts arrays of information out of forms.
*
* @since 2.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
interface FormDataExtractorInterface
Expand Down
Expand Up @@ -21,8 +21,6 @@
/**
* Proxy that invokes a data collector when creating a form and its view.
*
* @since 2.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class ResolvedTypeDataCollectorProxy implements ResolvedFormTypeInterface
Expand Down
Expand Up @@ -20,8 +20,6 @@
* Proxy that wraps resolved types into {@link ResolvedTypeDataCollectorProxy}
* instances.
*
* @since 2.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class ResolvedTypeFactoryDataCollectorProxy implements ResolvedFormTypeFactoryInterface
Expand Down
Expand Up @@ -19,8 +19,6 @@
/**
* Type extension for collecting data of a form with this type.
*
* @since 2.4
*
* @author Robert Schönthal <robert.schoenthal@gmail.com>
* @author Bernhard Schussek <bschussek@gmail.com>
*/
Expand Down
2 changes: 0 additions & 2 deletions src/Symfony/Component/Form/FormErrorIterator.php
Expand Up @@ -27,8 +27,6 @@
* flatten the recursive structure into a flat list of errors.
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @since 2.5
*/
class FormErrorIterator implements \RecursiveIterator, \SeekableIterator, \ArrayAccess, \Countable
{
Expand Down
3 changes: 0 additions & 3 deletions src/Symfony/Component/Form/FormInterface.php
Expand Up @@ -102,9 +102,6 @@ public function all();
*
* @return FormErrorIterator An iterator over the {@link FormError}
* 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);

Expand Down
2 changes: 0 additions & 2 deletions src/Symfony/Component/Form/Test/FormPerformanceTestCase.php
Expand Up @@ -62,8 +62,6 @@ public function setMaxRunningTime($maxRunningTime)
}

/**
* @since Method available since Release 2.3.0
*
* @return int
*/
public function getMaxRunningTime()
Expand Down
Expand Up @@ -14,8 +14,6 @@
use Symfony\Component\Validator\Validation;

/**
* @since 2.5.3
*
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy
*/
Expand Down
16 changes: 0 additions & 16 deletions src/Symfony/Component/Form/Util/OrderedHashMap.php
Expand Up @@ -63,8 +63,6 @@
* }
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @since 2.2.6
*/
class OrderedHashMap implements \ArrayAccess, \IteratorAggregate, \Countable
{
Expand Down Expand Up @@ -93,8 +91,6 @@ class OrderedHashMap implements \ArrayAccess, \IteratorAggregate, \Countable
* Creates a new map.
*
* @param array $elements The elements to insert initially
*
* @since 2.2.6
*/
public function __construct(array $elements = array())
{
Expand All @@ -104,8 +100,6 @@ public function __construct(array $elements = array())

/**
* {@inheritdoc}
*
* @since 2.2.6
*/
public function offsetExists($key)
{
Expand All @@ -114,8 +108,6 @@ public function offsetExists($key)

/**
* {@inheritdoc}
*
* @since 2.2.6
*/
public function offsetGet($key)
{
Expand All @@ -128,8 +120,6 @@ public function offsetGet($key)

/**
* {@inheritdoc}
*
* @since 2.2.6
*/
public function offsetSet($key, $value)
{
Expand All @@ -151,8 +141,6 @@ public function offsetSet($key, $value)

/**
* {@inheritdoc}
*
* @since 2.2.6
*/
public function offsetUnset($key)
{
Expand All @@ -170,8 +158,6 @@ public function offsetUnset($key)

/**
* {@inheritdoc}
*
* @since 2.2.6
*/
public function getIterator()
{
Expand All @@ -180,8 +166,6 @@ public function getIterator()

/**
* {@inheritdoc}
*
* @since 2.2.6
*/
public function count()
{
Expand Down
24 changes: 4 additions & 20 deletions src/Symfony/Component/Form/Util/OrderedHashMapIterator.php
Expand Up @@ -17,8 +17,6 @@
* This class is internal and should not be used.
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @since 2.2.6
*/
class OrderedHashMapIterator implements \Iterator
{
Expand Down Expand Up @@ -69,8 +67,6 @@ class OrderedHashMapIterator implements \Iterator
* This array is managed by the corresponding
* {@link OrderedHashMap} instance to support
* recognizing the deletion of elements.
*
* @since 2.2.6
*/
public function __construct(array &$elements, array &$orderedKeys, array &$managedCursors)
{
Expand All @@ -85,8 +81,6 @@ public function __construct(array &$elements, array &$orderedKeys, array &$manag
/**
* Removes the iterator's cursors from the managed cursors of the
* corresponding {@link OrderedHashMap} instance.
*
* @since 2.2.6
*/
public function __destruct()
{
Expand All @@ -96,9 +90,7 @@ public function __destruct()
}

/**
*{@inheritdoc}
*
* @since 2.2.6
* {@inheritdoc}
*/
public function current()
{
Expand All @@ -107,8 +99,6 @@ public function current()

/**
* {@inheritdoc}
*
* @since 2.2.6
*/
public function next()
{
Expand All @@ -124,29 +114,23 @@ public function next()
}

/**
*{@inheritdoc}
*
* @since 2.2.6
* {@inheritdoc}
*/
public function key()
{
return $this->key;
}

/**
*{@inheritdoc}
*
* @since 2.2.6
* {@inheritdoc}
*/
public function valid()
{
return null !== $this->key;
}

/**
*{@inheritdoc}
*
* @since 2.2.6
* {@inheritdoc}
*/
public function rewind()
{
Expand Down
Expand Up @@ -14,8 +14,6 @@
use Symfony\Component\Validator\Validation;

/**
* @since 2.5.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy
*/
Expand Down
Expand Up @@ -14,8 +14,6 @@
/**
* Manages CSRF tokens.
*
* @since 2.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
interface CsrfTokenManagerInterface
Expand Down
Expand Up @@ -14,8 +14,6 @@
/**
* Generates CSRF tokens.
*
* @since 2.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
interface TokenGeneratorInterface
Expand Down
Expand Up @@ -17,8 +17,6 @@
/**
* Generates CSRF tokens.
*
* @since 2.4
*
* @author Bernhard Schussek <bernhard.schussek@symfony.com>
*/
class UriSafeTokenGenerator implements TokenGeneratorInterface
Expand Down
Expand Up @@ -16,8 +16,6 @@
/**
* Token storage that uses PHP's native session handling.
*
* @since 2.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class NativeSessionTokenStorage implements TokenStorageInterface
Expand Down
Expand Up @@ -17,8 +17,6 @@
/**
* Token storage that uses a Symfony Session object.
*
* @since 2.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class SessionTokenStorage implements TokenStorageInterface
Expand Down
Expand Up @@ -14,8 +14,6 @@
/**
* Stores CSRF tokens.
*
* @since 2.4
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
interface TokenStorageInterface
Expand Down
4 changes: 0 additions & 4 deletions src/Symfony/Component/Validator/Constraint.php
Expand Up @@ -207,8 +207,6 @@ public function __set($option, $value)
* @throws InvalidOptionsException If an invalid option name is given
*
* @internal This method should not be used or overwritten in userland code.
*
* @since 2.6
*/
public function __get($option)
{
Expand Down Expand Up @@ -296,8 +294,6 @@ public function getTargets()
* @internal This method may be replaced by an implementation of
* {@link \Serializable} in the future. Please don't use or
* overwrite it.
*
* @since 2.6
*/
public function __sleep()
{
Expand Down

0 comments on commit ff9ac70

Please sign in to comment.