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

Add $env argument to Process creation chain #324

Merged
merged 4 commits into from
Feb 12, 2024

Conversation

TravisCarden
Copy link
Collaborator

This enables the direct setting of environment variables ($env) via the constructor and invocation methods of the Process creation chain (as opposed to depending solely on the ::setEnv() method on the Process class itself):

  • AbstractProcessRunner::run()
  • ProcessFactory::create().
  • Process::__construct()
  • SymfonyProcessFactory::create()

@TravisCarden TravisCarden added the enhancement New feature or request label Feb 12, 2024
@TravisCarden TravisCarden added this to the v2.0.0 milestone Feb 12, 2024
@TravisCarden TravisCarden merged commit 0437a77 into php-tuf:develop Feb 12, 2024
10 checks passed
@TravisCarden TravisCarden deleted the feature/process-runner-env branch February 12, 2024 15:42
@TravisCarden TravisCarden added the bc break Includes API changes that may require updates in client code label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bc break Includes API changes that may require updates in client code enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant