Open garak opened 1 month ago
It seems that the problem is linked to using the CommandCompatibility
trait. If I remove it, the profiling doesn't throw an exception anymore.
I see that trait was introduced in PR #402 by @derrabus but I can't understand its purpose... the covariance allows us to add the return type, without the need for a check.
I can't understand its purpose... the covariance allows us to add the return type, without the need for a check.
Adding a return type to a non-final class is a breaking change. On 4.0.x, the trait is gone already.
Symfony 6.4.7 DoctrineBundle 2.12.0 FixturesBundle 3.6.0 ORM 3.1.3
When I try to run
bin/console do:fi:lo --profile -v
I get the following:trace:
The command is working properly without the
--profile
flag.