Conversation
|
Can we copy the exception to this bundle instead? |
|
http://symfony.com/doc/current/components/debug/introduction.html The Debug component was introduced in Symfony 2.3. Previously, the classes were located in the HttpKernel component. Can you please explain what do you mean. |
|
I was thinking about copying the code of the class here under a different class name, but since this is a new component, I think we could add a dependency on the component and then just use the new class name. Can you update the composer.json file to include the component as a dependency? |
|
Sure i can add it . Making it as dependency of composer is easier and cleaner . |
|
OK after checking if we should add it to composer i discovered it is already there and it is installed as a sub dependency of dependency that is included in composer. Please take a look at composer.lock line 763 there should be I think this means it is already included :) |
|
That is true for Symfony >= 2.3, but not the older versions, which this bundle is still compatible with. So, we just need to add it so that Symfony < 2.3 can still use this bundle. |
I replaced Deprecated FlattenException with suggested one