Closed LordSimal closed 1 year ago
@pabloelcolombiano Do you want me to fix the CS problems in the generated factory classes as well? Otherwise I am done with this. Will leave some comments where I had to change something
Yes fixing the CS check would be appreciated. I think it is only a matter of fully qualified class name. A composer cs-fix
might well fix that.
A
composer cs-fix
might well fix that.
This doesn't work because the CS problems occur in the generated Factory classes inside tests/TestApp/tests/Factory/
Therefore I have to fix the generation of the factory class including the correct use statements instead of the FQCN
@pabloelcolombiano If you are fine with the changes I introduced to correctly generate factories this should be ready to merge.
I will merge this into a dedicated cake5
branch while Cake5 is still in RC mode.
Thank you very much for the contribution @LordSimal !
~I will need some help here since the created fixtures are not emptied after each test (as far as I can tell)~
Also I removed the
src/Command/SetupCommand.php
since theFixtureInjector
andFixtureManager
have been removed.