Skip to content
This repository has been archived by the owner on Dec 18, 2022. It is now read-only.

Namespaced twig syntax for views #13

Closed

Conversation

dodubassman
Copy link
Contributor

@dodubassman dodubassman commented Oct 17, 2018

Same as previously done for BeelabUserPasswordBundle:

Templates can't be overriden without the namespaced twig syntax anymore.

ie : change 'BeelabUserBundle:User:index.html.twig' to '@BeelabUser/User/index.html.twig' must solve the issue.

I also did fix deprecated dependencies to @Method and @Route and a deprecated call to AdvancedUserInterface.

@garak
Copy link
Member

garak commented Dec 18, 2018

Any news on this?

@@ -3,8 +3,7 @@
namespace Beelab\UserBundle\Controller;

use Psr\Log\LoggerInterface;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\Routing\Annotation\Route;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is in the wrong place and it does not respect sorting. Please move it after "use Symfony\Component\HttpFoundation\Request"

@@ -5,8 +5,7 @@
use Beelab\UserBundle\Event\FormEvent;
use Beelab\UserBundle\Event\UserEvent;
use Beelab\UserBundle\Manager\UserManagerInterface;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\Routing\Annotation\Route;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above

@@ -2,12 +2,10 @@

namespace Beelab\UserBundle\User;

use Symfony\Component\Security\Core\User\AdvancedUserInterface;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! sorry about the delay.
It's been a while, but if i recall correclty it was a deprecated call.
Feel free to refuse it if you find this contribution useless.
regards.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, AdvancedUserInterface was deprecated.
Anyway, this change should be in a different PR

@garak
Copy link
Member

garak commented Sep 22, 2019

Bump

@garak
Copy link
Member

garak commented Mar 16, 2020

This is here for a long time, a bit too much IMHO.
I'm afraid I'll have to close it, unless updated

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants