From: Fabien Potencier Date: Mon, 10 Dec 2012 14:12:12 +0000 (+0100) Subject: added @deprecated tags on deprecated classes X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=de5aaf2c1d43baafde255a042f5c7cf6122ea3ce;p=web%2Fkonrad%2Ftwig.git added @deprecated tags on deprecated classes --- diff --git a/lib/Twig/CompilerInterface.php b/lib/Twig/CompilerInterface.php index 89d87e6..db848a0 100644 --- a/lib/Twig/CompilerInterface.php +++ b/lib/Twig/CompilerInterface.php @@ -14,6 +14,7 @@ * * @package twig * @author Fabien Potencier + * @deprecated since 1.12 (to be removed in 2.0) */ interface Twig_CompilerInterface { diff --git a/lib/Twig/Environment.php b/lib/Twig/Environment.php index 95eb2fe..9c432b9 100644 --- a/lib/Twig/Environment.php +++ b/lib/Twig/Environment.php @@ -637,7 +637,7 @@ class Twig_Environment * * @param string $name The extension name * - * @deprecated + * @deprecated since 1.12 (to be removed in 2.0) */ public function removeExtension($name) { diff --git a/lib/Twig/ExistsLoaderInterface.php b/lib/Twig/ExistsLoaderInterface.php index 0e08a1d..95fbeb0 100644 --- a/lib/Twig/ExistsLoaderInterface.php +++ b/lib/Twig/ExistsLoaderInterface.php @@ -14,6 +14,7 @@ * * @package twig * @author Florin Patan + * @deprecated since 1.12 (to be removed in 2.0) */ interface Twig_ExistsLoaderInterface { diff --git a/lib/Twig/LexerInterface.php b/lib/Twig/LexerInterface.php index 9c3d3d2..6fd4db5 100644 --- a/lib/Twig/LexerInterface.php +++ b/lib/Twig/LexerInterface.php @@ -14,6 +14,7 @@ * * @package twig * @author Fabien Potencier + * @deprecated since 1.12 (to be removed in 2.0) */ interface Twig_LexerInterface { diff --git a/lib/Twig/NodeInterface.php b/lib/Twig/NodeInterface.php index e77782f..44b953b 100644 --- a/lib/Twig/NodeInterface.php +++ b/lib/Twig/NodeInterface.php @@ -14,6 +14,7 @@ * * @package twig * @author Fabien Potencier + * @deprecated since 1.12 (to be removed in 2.0) */ interface Twig_NodeInterface extends Countable, IteratorAggregate { diff --git a/lib/Twig/ParserInterface.php b/lib/Twig/ParserInterface.php index 4de3999..2783a68 100644 --- a/lib/Twig/ParserInterface.php +++ b/lib/Twig/ParserInterface.php @@ -12,8 +12,9 @@ /** * Interface implemented by parser classes. * - * @package twig - * @author Fabien Potencier + * @package twig + * @author Fabien Potencier + * @deprecated since 1.12 (to be removed in 2.0) */ interface Twig_ParserInterface { diff --git a/lib/Twig/TemplateInterface.php b/lib/Twig/TemplateInterface.php index 5d7b027..d2a2c39 100644 --- a/lib/Twig/TemplateInterface.php +++ b/lib/Twig/TemplateInterface.php @@ -12,8 +12,9 @@ /** * Interface implemented by all compiled templates. * - * @package twig - * @author Fabien Potencier + * @package twig + * @author Fabien Potencier + * @deprecated since 1.12 (to be removed in 2.0) */ interface Twig_TemplateInterface { diff --git a/lib/Twig/TokenParserBroker.php b/lib/Twig/TokenParserBroker.php index afde1d2..23474de 100644 --- a/lib/Twig/TokenParserBroker.php +++ b/lib/Twig/TokenParserBroker.php @@ -13,10 +13,9 @@ /** * Default implementation of a token parser broker. * - * @package twig - * @author Arnaud Le Blanc - * - * @deprecated + * @package twig + * @author Arnaud Le Blanc + * @deprecated since 1.12 (to be removed in 2.0) */ class Twig_TokenParserBroker implements Twig_TokenParserBrokerInterface { diff --git a/lib/Twig/TokenParserBrokerInterface.php b/lib/Twig/TokenParserBrokerInterface.php index c33c50b..ac7e7cd 100644 --- a/lib/Twig/TokenParserBrokerInterface.php +++ b/lib/Twig/TokenParserBrokerInterface.php @@ -15,10 +15,9 @@ * * Token parser brokers allows to implement custom logic in the process of resolving a token parser for a given tag name. * - * @package twig - * @author Arnaud Le Blanc - * - * @deprecated + * @package twig + * @author Arnaud Le Blanc + * @deprecated since 1.12 (to be removed in 2.0) */ interface Twig_TokenParserBrokerInterface {