Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symfony 5 Incompatibility #13

Closed
bubba-h57 opened this issue Mar 18, 2020 · 1 comment
Closed

Symfony 5 Incompatibility #13

bubba-h57 opened this issue Mar 18, 2020 · 1 comment

Comments

@bubba-h57
Copy link
Member

Laravel 7 utilizes the 5.x series of the Symfony components. The first argument for Symfony\Component\Process\Process::__construct() must now be of the type array.

We have been using a string.

$process = new Process(config('env-security.editor') . ' ' . $meta['uri']);

Which results in:

[2020-03-18 21:49:32] bubba.ERROR: Argument 1 passed to Symfony\Component\Process\Process::__construct() must be of the type array, string given, called in /usr/local/src/project/vendor/stechstudio/laravel-env-security/src/Console/Edit.php on line 80 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Symfony\\Component\\Process\\Process::__construct() must be of the type array, string given, called in /usr/local/src/project/vendor/stechstudio/laravel-env-security/src/Console/Edit.php on line 80 at /usr/local/src/project/vendor/symfony/process/Process.php:140)
@jszobody
Copy link
Member

Resolved in v1.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants