From 13760c15b07a39c34b6b44b22a17a881085054fd Mon Sep 17 00:00:00 2001 From: Panos Date: Wed, 17 Feb 2016 17:27:36 +0100 Subject: [PATCH] Changed to psr-4 and applied less filter instead of lessphp --- Resources/views/Blog/view.pdf.twig | 2 +- Resources/views/layout.html.twig | 2 +- Resources/views/widget/list.html.twig | 2 +- Resources/views/widget/listConfigure.html.twig | 2 +- composer.json | 5 ++--- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Resources/views/Blog/view.pdf.twig b/Resources/views/Blog/view.pdf.twig index 2151793..3c99f1c 100644 --- a/Resources/views/Blog/view.pdf.twig +++ b/Resources/views/Blog/view.pdf.twig @@ -3,7 +3,7 @@ {{ _resource.resourceNode.name ~ '.pdf' }} - {% stylesheets debug=false filter='lessphp' output='bundles/icapblog/css/pdf.css' + {% stylesheets debug=false filter='less' output='bundles/icapblog/css/pdf.css' "@IcapBlogBundle/Resources/views/less/pdf.less" %} diff --git a/Resources/views/layout.html.twig b/Resources/views/layout.html.twig index 0055f20..69b4667 100644 --- a/Resources/views/layout.html.twig +++ b/Resources/views/layout.html.twig @@ -160,7 +160,7 @@ - {% stylesheets debug=false filter='lessphp' output='css/icapblog/style.css' + {% stylesheets debug=false filter='less' output='css/icapblog/style.css' "@IcapBlogBundle/Resources/views/less/style.less" %} diff --git a/Resources/views/widget/list.html.twig b/Resources/views/widget/list.html.twig index e78c304..eacb66b 100644 --- a/Resources/views/widget/list.html.twig +++ b/Resources/views/widget/list.html.twig @@ -1,5 +1,5 @@ {% block stylesheets %} - {% stylesheets debug=false filter="lessphp, cssmin" output="css/icapblog/widget_list.css" + {% stylesheets debug=false filter="less, cssmin" output="css/icapblog/widget_list.css" "@IcapBlogBundle/Resources/views/less/widget_list.less" %} diff --git a/Resources/views/widget/listConfigure.html.twig b/Resources/views/widget/listConfigure.html.twig index 6d3fd40..afc5b2e 100644 --- a/Resources/views/widget/listConfigure.html.twig +++ b/Resources/views/widget/listConfigure.html.twig @@ -3,7 +3,7 @@ {% form_theme form 'IcapBlogBundle:widget:list_form_theme.html.twig' %} {% block stylesheets %} - {% stylesheets debug=false filter="lessphp, cssmin" output="css/icapblog/widget_list.css" + {% stylesheets debug=false filter="less, cssmin" output="css/icapblog/widget_list.css" "@IcapBlogBundle/Resources/views/less/widget_list.less" %} diff --git a/composer.json b/composer.json index 6b47a67..0dd310f 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,6 @@ "icap/notification-bundle": "~6.0" }, "autoload": { - "psr-0": { "Icap\\BlogBundle": "" } - }, - "target-dir": "Icap/BlogBundle" + "psr-4": { "Icap\\BlogBundle\\": "" } + } }