HomeDevCentral

PhpFpmEnvironment::getEnvironmentVariables refactoring

Description

PhpFpmEnvironment::getEnvironmentVariables refactoring

Summary:
Split PhpFpmEnvironment::getEnvironmentVariables in more discrete methods.

New static methods:

  • addTempEnvironmentVariables: add TMP, TEMP, TMPDIR env variable to an array
  • addPathEnvironmentVariables: add PATH env variable to an array
  • addHardcodedEnvironmentVariables: add both to an array

Test Plan: compare output before and after the change

Reviewers: Kaliiixx

Projects: Nasqueron Docker deployment squad

Differential Revision: http://devcentral.nasqueron.org/D36

Details

Provenance
derecksonAuthored on
Differential Revision
D36: PhpFpmEnvironment::getEnvironmentVariables refactoring
Parents
rDPHPFPM48e3396e61c3: Whitespace issue
Branches
Unknown
Tags
Unknown