phpmig
phpmig copied to clipboard
feat: php 8.4 support
@davedevelopment Hi, I was trying to use phpmig with php 8.4 and got some errors so I fixed them.
for example:
> phpmig migrate
Fatal error: Declaration of Phpmig\Console\Command\StatusCommand::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony\Component\Console\Command\Command::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int in D:\path\to\vendor\davedevelopment\phpmig\src\Phpmig\Console\Command\StatusCommand.php on line 48
Script phpmig migrate handling the run:migrate event returned with error code 255