You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your bundle (which is great BTW), the following method return value is not checked :
$kernelManipulator->addBundle($bundle->fullyQualifiedClassname);
This method can return false, in which case the bundle is not registered and yet your bundle would return a success !
The text was updated successfully, but these errors were encountered:
rrajkomar
changed the title
Sension Kernel Manipulator false return value not handled
Sensio Kernel Manipulator false return value not handled
Jun 10, 2015
Hello @rrajkomar thanks for your comment, you're right we should check it.
However this bundle is kind of doomed as I still haven't found a way to make it work with PSR-4 (it only works with PSR-0 which is now deprecated), so unless we find a solution for this I don't intend to further maintain it... But I'd love to review and merge Pull requests!
While trying to write an answer for you, I've found it difficult to remember the issue. And by looking at the code it really looks like it should be working!
This needs more care I guess, when I have time I'll have a closer look at it and if it turns out everything works I'll improve it :)
In your bundle (which is great BTW), the following method return value is not checked :
$kernelManipulator->addBundle($bundle->fullyQualifiedClassname);
This method can return false, in which case the bundle is not registered and yet your bundle would return a success !
The text was updated successfully, but these errors were encountered: