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

Fix Process::inheritEnvironmentVariables() deprecation error #1112

Merged
merged 1 commit into from
Apr 21, 2022

Conversation

JanJakes
Copy link
Contributor

Overview

This pull request:

  • Fixes a bug
  • Adds a feature
  • Breaks backwards compatibility
  • Has tests that cover changes
  • Adds or fixes documentation

Summary

We're running into the following error when using env():

ERROR: The "Symfony\Component\Process\Process::inheritEnvironmentVariables()" method is deprecated since Symfony 4.4, env variables are always inherited.

The method call can be safely removed as the current required version of symfony/process is "^4.4.9 || ^5 || ^6".

We're running into the following error when using `env()`:

> ERROR: The "Symfony\Component\Process\Process::inheritEnvironmentVariables()" method is deprecated since Symfony 4.4, env variables are always inherited.

The method call can be safely removed as the current required version of `symfony/process` is "^4.4.9 || ^5 || ^6".
@greg-1-anderson
Copy link
Member

Thanks!

@greg-1-anderson greg-1-anderson merged commit ccf8096 into consolidation:3.x Apr 21, 2022
@JanJakes JanJakes deleted the fix-deprecation-error branch April 21, 2022 12:34
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

Successfully merging this pull request may close these issues.

2 participants