You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got an error in Symfony 5.1 app when running vendor/bin/companienv.
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\Process\Process::__construct() must be of the type array, string given, called in /home/user/sf5/vendor/sroze/companienv/src/Companienv/Extension/RsaKeys.php on line 48 and defined in /home/user/sf5/vendor/symfony/process/Process.php:140
Stack trace:
#0 /home/user/sf5/vendor/sroze/companienv/src/Companienv/Extension/RsaKeys.php(48): Symfony\Component\Process\Process->__construct()
#1 /home/user/sf5/vendor/sroze/companienv/src/Companienv/Extension/Chained.php(31): Companienv\Extension\RsaKeys->getVariableValue()
#2 /home/user/sf5/vendor/sroze/companienv/src/Companienv/Companion.php(79): Companienv\Extension\Chained->getVariableValue()
#3 /home/user/sf5/vendor/sroze/companienv/src/Companienv/Companion.php(53): Companienv\Companion->fillBlockGaps()
#4 /home/user/sf5/vendor/sroze/companienv/src/Companienv/Application.php(66): Companienv\Companion->fillGaps()
#5 /home/user/sf5/ in /home/user/sf5/vendor/symfony/process/Process.php on line 140
Got an error in Symfony 5.1 app when running
vendor/bin/companienv
.composer.json
I have the following in my dist file
This is because of the breaking change in the Symfony 5 Process component https://github.com/symfony/symfony/blob/master/UPGRADE-5.0.md#process
The text was updated successfully, but these errors were encountered: