I don’t really understand the issue. Already if you have a mismatch, the only way you’d ever know is through static analysis. It will run and maybe crash during run time. I always joke that changing a function signature is the single most risky thing you can do in php (especially if you have any dynamic dispatch). Making it even more risky isn’t the right answer, IMHO.
Oh, and doing this would literally break class autoloading in symfony, and even the engine itself, which relies on this feature.
Oh, and doing this would literally break class autoloading in symfony, and even the engine itself, which relies on this feature.