phpmig icon indicating copy to clipboard operation
phpmig copied to clipboard

feat: php 8.4 support

Open smpn2 opened this issue 11 months ago • 0 comments

@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

smpn2 avatar Feb 16 '25 04:02 smpn2