Skip to content

Commit

Permalink
remove deprecated spaceless tag. See issue #299 (#300)
Browse files Browse the repository at this point in the history
remove deprecated spaceless tag. Fix issue #299
  • Loading branch information
garak committed Jul 29, 2019
1 parent 00536bd commit bda9826
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
"php": ">=5.6.0"
},
"conflict": {
"twig/twig": "<1.34|>=2,<2.4"
"twig/twig": "<1.40|>=2,<2.9"
},
"require-dev": {
"psr/container": "^1.0",
"symfony/http-foundation": "~2.4|~3.0|^4.0",
"symfony/phpunit-bridge": "~3.3|^4.0",
"symfony/routing": "~2.3|~3.0|^4.0",
"twig/twig": "~1.34|~2.4"
"twig/twig": "^1.40|^2.9"
},
"suggest": {
"twig/twig": "for the TwigRenderer and the integration with your templates"
Expand Down
4 changes: 2 additions & 2 deletions src/Knp/Menu/Resources/views/knp_menu.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
{% endmacro %}

{% block compressed_root %}
{% spaceless %}
{% apply spaceless %}
{{ block('root') }}
{% endspaceless %}
{% endapply %}
{% endblock %}

{% block root %}
Expand Down

0 comments on commit bda9826

Please sign in to comment.