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
When using 2.0.0beta1 and issuing a composer update with version 1 of composer, it throws an AssertionError:
PHP Fatal error: Uncaught AssertionError: assert($rewriter instanceof DependencySolvingCapableInterface) in /mnt/e/PhpStormProjects/laminas/test-mvc-co2/vendor/laminas/laminas-dependency-plugin/src/DependencyRewriterPluginDelegator.php:69
It only occurs if the corresponding assert. settings in php.ini are active.
The execution itself works because DependencyRewriterV1does implement the method onPreDependenciesSolving which DependencySolvingCapableInterface requires.
It seems, that adding implements DependencySolvingCapableInterface to DependencyRewriterV1 solves the error.
The text was updated successfully, but these errors were encountered:
Bug Report
When using
2.0.0beta1
and issuing acomposer update
with version 1 of composer, it throws anAssertionError
:PHP Fatal error: Uncaught AssertionError: assert($rewriter instanceof DependencySolvingCapableInterface) in /mnt/e/PhpStormProjects/laminas/test-mvc-co2/vendor/laminas/laminas-dependency-plugin/src/DependencyRewriterPluginDelegator.php:69
It only occurs if the corresponding
assert.
settings inphp.ini
are active.The execution itself works because
DependencyRewriterV1
does implement the methodonPreDependenciesSolving
whichDependencySolvingCapableInterface
requires.It seems, that adding
implements DependencySolvingCapableInterface
toDependencyRewriterV1
solves the error.The text was updated successfully, but these errors were encountered: