From 00dffe73b841ddf6e5969e7f374ae186cddd9889 Mon Sep 17 00:00:00 2001 From: Tobias Schultze Date: Tue, 29 Sep 2015 14:35:00 +0200 Subject: [PATCH] remove api tags that are new in 2.8 --- .../Component/Console/Exception/ExceptionInterface.php | 2 -- src/Symfony/Component/CssSelector/Converter.php | 2 -- .../Component/CssSelector/ConverterInterface.php | 4 ---- .../Component/DependencyInjection/Definition.php | 10 ---------- src/Symfony/Component/Validator/Constraints/Bic.php | 2 -- .../Component/Validator/Constraints/BicValidator.php | 2 -- 6 files changed, 22 deletions(-) diff --git a/src/Symfony/Component/Console/Exception/ExceptionInterface.php b/src/Symfony/Component/Console/Exception/ExceptionInterface.php index 0e08197539..491cc4c645 100644 --- a/src/Symfony/Component/Console/Exception/ExceptionInterface.php +++ b/src/Symfony/Component/Console/Exception/ExceptionInterface.php @@ -15,8 +15,6 @@ namespace Symfony\Component\Console\Exception; * ExceptionInterface. * * @author Jérôme Tamarelle - * - * @api */ interface ExceptionInterface { diff --git a/src/Symfony/Component/CssSelector/Converter.php b/src/Symfony/Component/CssSelector/Converter.php index 3723c33d91..bc27fc45c4 100644 --- a/src/Symfony/Component/CssSelector/Converter.php +++ b/src/Symfony/Component/CssSelector/Converter.php @@ -20,8 +20,6 @@ use Symfony\Component\CssSelector\XPath\Translator; /** * @author Christophe Coevoet - * - * @api */ class Converter implements ConverterInterface { diff --git a/src/Symfony/Component/CssSelector/ConverterInterface.php b/src/Symfony/Component/CssSelector/ConverterInterface.php index 3321f10d1d..75ad449aaa 100644 --- a/src/Symfony/Component/CssSelector/ConverterInterface.php +++ b/src/Symfony/Component/CssSelector/ConverterInterface.php @@ -52,8 +52,6 @@ namespace Symfony\Component\CssSelector; * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * @author Christophe Coevoet - * - * @api */ interface ConverterInterface { @@ -67,8 +65,6 @@ interface ConverterInterface * @param string $prefix An optional prefix for the XPath expression. * * @return string - * - * @api */ public function toXPath($cssExpr, $prefix = 'descendant-or-self::'); diff --git a/src/Symfony/Component/DependencyInjection/Definition.php b/src/Symfony/Component/DependencyInjection/Definition.php index 659dbb3f26..9ce81e3a12 100644 --- a/src/Symfony/Component/DependencyInjection/Definition.php +++ b/src/Symfony/Component/DependencyInjection/Definition.php @@ -548,8 +548,6 @@ class Definition * @param bool $shared Whether the service must be shared or not * * @return Definition The current instance - * - * @api */ public function setShared($shared) { @@ -562,8 +560,6 @@ class Definition * Whether this service is shared. * * @return bool - * - * @api */ public function isShared() { @@ -756,8 +752,6 @@ class Definition * @return Definition the current instance * * @throws InvalidArgumentException When the message template is invalid. - * - * @api */ public function setDeprecated($status = true, $template = null) { @@ -783,8 +777,6 @@ class Definition * anymore. * * @return bool - * - * @api */ public function isDeprecated() { @@ -797,8 +789,6 @@ class Definition * @param string $id Service id relying on this definition * * @return string - * - * @api */ public function getDeprecationMessage($id) { diff --git a/src/Symfony/Component/Validator/Constraints/Bic.php b/src/Symfony/Component/Validator/Constraints/Bic.php index f8fa94d81d..dee5d52693 100644 --- a/src/Symfony/Component/Validator/Constraints/Bic.php +++ b/src/Symfony/Component/Validator/Constraints/Bic.php @@ -18,8 +18,6 @@ use Symfony\Component\Validator\Constraint; * @Target({"PROPERTY", "METHOD", "ANNOTATION"}) * * @author Michael Hirschler - * - * @api */ class Bic extends Constraint { diff --git a/src/Symfony/Component/Validator/Constraints/BicValidator.php b/src/Symfony/Component/Validator/Constraints/BicValidator.php index 2e645705aa..de327085f5 100644 --- a/src/Symfony/Component/Validator/Constraints/BicValidator.php +++ b/src/Symfony/Component/Validator/Constraints/BicValidator.php @@ -18,8 +18,6 @@ use Symfony\Component\Validator\ConstraintValidator; * @author Michael Hirschler * * @link https://en.wikipedia.org/wiki/ISO_9362#Structure - * - * @api */ class BicValidator extends ConstraintValidator {