-
-
Notifications
You must be signed in to change notification settings - Fork 555
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
[console] ProcessBuilder is removed in Symfony 4, hence Drupal 9 #4330
Comments
Affected commands:
|
LOBsTerr
added a commit
to LOBsTerr/drupal-console
that referenced
this issue
Sep 15, 2022
…n module install command.
LOBsTerr
added a commit
to LOBsTerr/drupal-console
that referenced
this issue
Sep 15, 2022
…n server command.
LOBsTerr
added a commit
to LOBsTerr/drupal-console
that referenced
this issue
Sep 15, 2022
…n edit config command.
LOBsTerr
added a commit
to LOBsTerr/drupal-console
that referenced
this issue
Sep 15, 2022
…n db query command.
LOBsTerr
added a commit
to LOBsTerr/drupal-console
that referenced
this issue
Sep 15, 2022
…n db client command.
LOBsTerr
added a commit
that referenced
this issue
Sep 15, 2022
* Add new arguments key and target. Make it possible use not only default target for db connections * Issue #4330: Replace ProcessBuilder class with Process in module install command. * Issue #4330: Replace ProcessBuilder class with Process in server command. * Issue #4330: Replace ProcessBuilder class with Process in edit config command. * Issue #4330: Replace ProcessBuilder class with Process in db query command. * Issue #4330: Replace ProcessBuilder class with Process in db client command.
Thank you for your contribution. Fixed here #4335 |
LOBsTerr
added a commit
that referenced
this issue
Sep 16, 2022
* Add new arguments key and target. Make it possible use not only default target for db connections * Issue #4330: Replace ProcessBuilder class with Process in module install command. * Issue #4330: Replace ProcessBuilder class with Process in server command. * Issue #4330: Replace ProcessBuilder class with Process in edit config command. * Issue #4330: Replace ProcessBuilder class with Process in db query command. * Issue #4330: Replace ProcessBuilder class with Process in db client command. * Issue #4336: Replace ModuleHandler with ModuleHandlerInterface.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem/Motivation
Running
drupal database:client
will run into this error:This is because the ProcessBuilder was deprecated in Symfony 3.4 and was removed in Symfony 4.0. Instead, Process should be used directly.
How to reproduce
drupal database:client
Solution
Replace the
ProcessBuilder
call withProcess
.Example: pact-foundation/pact-php#61
The text was updated successfully, but these errors were encountered: