added a note about deprecated interfaces
authorFabien Potencier <fabien.potencier@gmail.com>
Sat, 8 Dec 2012 08:27:50 +0000 (09:27 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Sat, 8 Dec 2012 08:36:00 +0000 (09:36 +0100)
doc/deprecated.rst

index d905487..e7d0d37 100644 (file)
@@ -1,14 +1,15 @@
 Deprecated Features
 ===================
 
-This document lists all deprecated features in Twig 1.x. They are kept for
-backward compatibility but they will be removed in Twig 2.0.
+This document lists all deprecated features in Twig. Deprecated features are
+kept for backward compatibility and removed in the next major release (a
+feature that was deprecated in Twig 1.x is removed in Twig 2.0).
 
 Token Parsers
 -------------
 
-* The token parser broker sub-system is deprecated; the following class and
-  interface will be removed in 2.0:
+* As of Twig 1.x, the token parser broker sub-system is deprecated. The
+  following class and interface will be removed in 2.0:
 
   * ``Twig_TokenParserBrokerInterface``
   * ``Twig_TokenParserBroker``
@@ -16,7 +17,7 @@ Token Parsers
 Extensions
 ----------
 
-* The ability to remove an extension is deprecated and the
+* As of Twig 1.x, the ability to remove an extension is deprecated and the
   ``Twig_Environment::removeExtension()`` method will be removed in 2.0.
 
 PEAR
@@ -24,3 +25,16 @@ PEAR
 
 PEAR support will be discontinued in Twig 2.0, and no PEAR packages will be
 provided. Use Composer instead.
+
+Interfaces
+----------
+
+* As of Twig 2.x, the following interfaces are deprecated and empty (they will
+  be removed in Twig 3.0):
+
+* ``Twig_CompilerInterface``
+* ``Twig_LexerInterface``
+* ``Twig_NodeInterface``
+* ``Twig_ParserInterface``
+* ``Twig_TokenParserInterface``
+* ``Twig_ExistsLoaderInterface`` (merged with ``Twig_LoaderInterface``)