Closed stof closed 2 years ago
That's the error I got when trying Symfony 6:
PHP Fatal error: '\static' is an invalid class name in /home/runner/work/KnpMenuBundle/KnpMenuBundle/vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassCreator.php(49) : eval()'d code on line 34
There is a mixed usage of both phpunit mock and prophecy ones. prophecy being used on 2 files only. I can replace that mocks for normal ones and get rid of that dependency if you want.
That's the error I got when trying Symfony 6:
that's because we actually rely on a bunch of transitive dependencies right now, and so our dev job already gets some Symfony 6 packages for them.
I'll try to look whether I can fix support for static
in prophecy instead.
That's the error I got when trying Symfony 6:
that's because we actually rely on a bunch of transitive dependencies right now, and so our dev job already gets some Symfony 6 packages for them.
I'll try to look whether I can fix support for
static
in prophecy instead.
Nice! Let me know if you need help moving this forward.
It looks like the "static" problem was solved in prophecy. Maybe we can try to require ^1.13
?
That link comes from a fork instead of the main repo. Seems like it is a fix not applied to the original repo, here is the main issue: https://github.com/phpspec/prophecy/issues/527
That link comes from a fork instead of the main repo. Seems like it is a fix not applied to the original repo, here is the main issue: phpspec/prophecy#527
Sorry, didn't notice that 😞
@garak Can you trigger the build again here? Now it should pass.
@garak Can you trigger the build again here? Now it should pass.
It didn't pass
Maybe closing and reopening?
~This one is also needed~
Edit: I did a cherry-pick on #445
Preferring stable versions totally defeats the goal of that CI job, as it can find compatible stable versions.