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
uprading a project from 2.8 to 3.4, getting this error for "jms/di-extra-bundle": "1.9.*"
PHP Fatal error: Call to undefined method Symfony\Component\DependencyInjection\Definition::setScope() in /Users/user/project/vendor/jms/di-extra-bundle/Metadata/MetadataConverter.php on line 85
Replacing setScope with setShared in that line solves the error? a la UPGRADE-3.0.md
Any idea?
Kim
The text was updated successfully, but these errors were encountered:
To solve this we forked (https://github.com/tdmedia/JMSDiExtraBundle) created a branch based on tag 1.9.2 (branch name setScope-fix), and replaced setScope with setShared in file MetadataConverter.php, then adjusted our composer.json like this:
Hi there,
uprading a project from 2.8 to 3.4, getting this error for
"jms/di-extra-bundle": "1.9.*"
Replacing
setScope
withsetShared
in that line solves the error? a la UPGRADE-3.0.mdAny idea?
Kim
The text was updated successfully, but these errors were encountered: