Backup
Backup copied to clipboard
Update symfony/process
Update symfony/process to version 5.1 error in laravel 7.x
Hi,
What is the issue you are facing? What error are you seeing?
conflict with symfony/process 4.x
As I recall the problem is on line 108 of BackupProcess with the line:
$this->processInstance->setCommandLine($command);
The latest version of symphony/process no longer has this command and when using Laravel 8 you cannot be also using symphony/process 4.
The command line is now set when you instantiate the Process object. That in turn means that most of the code around sending the command to the shell will need to be rewritten.