deprecated the spaceless tag

This commit is contained in:
Fabien Potencier
2019-03-07 10:58:10 +01:00
parent 65ea4c5296
commit 64f7c02431
4 changed files with 10 additions and 0 deletions
+2
View File
@@ -18,6 +18,8 @@ use Twig\Compiler;
*
* It removes spaces between HTML tags.
*
* @deprecated since Twig 2.7, to be removed in 3.0
*
* @author Fabien Potencier <fabien@symfony.com>
*/
class SpacelessNode extends Node implements NodeOutputInterface