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
{{ message }}
Repository navigation
[BC break] Introduced in Phpactor\Container\Extension #1194
PHP Fatal error: Declaration of Phpactor\Extension\PhpSpec\PhpSpecExtension::load(Phpactor\Container\ContainerBuilder $container) must be compatible with Phpactor\Container\Extension::load(Phpactor\Container\ContainerBuilder $container): void in /home/cdejoye/work/phpactor/extensions/phpactor/phpspec-extension/lib/PhpSpecExtension.php on line 19
A recent change was to add a void return type for the two methods defined in this interface.
On my side the PHPUnit and PHPSpec extension were not updated, causing phpactor to crash.
yes - updating them will fix the issue (may need to manually manipulate the files in extensions). can't currently think of another solution, maybe a composer hook ? 🤔
Great, sorry for not responding earlier but it's crazy currently for me all the things I have to do...
I thought about updating the dependencies and proposing a hook in composer too indeed. Just too painful to deal with the extensions manually :)
Activity
dantleech commentedon Feb 1, 2021
yes - updating them will fix the issue (may need to manually manipulate the files in
extensions). can't currently think of another solution, maybe a composer hook ? 🤔dantleech commentedon Feb 1, 2021
Added a post install hook in #1195, i think that should help.
camilledejoye commentedon Feb 4, 2021
Great, sorry for not responding earlier but it's crazy currently for me all the things I have to do...
I thought about updating the dependencies and proposing a hook in composer too indeed. Just too painful to deal with the extensions manually :)
Thanks a lot