Page MenuHomeDevCentral

PhpFpmEnvironment::getEnvironmentVariables refactoring
ClosedPublic

Authored by dereckson on Nov 8 2015, 22:58.
Referenced Files
F10003298: D36.diff
Tue, Jun 17, 12:47
F9952184: D36.id77.diff
Mon, Jun 16, 18:36
Unknown Object (File)
Sun, Jun 15, 13:52
Unknown Object (File)
Sun, Jun 15, 00:08
Unknown Object (File)
Thu, Jun 5, 12:24
Unknown Object (File)
Sun, Jun 1, 03:44
Unknown Object (File)
Sat, May 31, 16:37
Unknown Object (File)
Sat, May 31, 12:52
Subscribers
None

Details

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

Diff Detail

Repository
rDPHPFPM Docker image for Nginx, php-fpm
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
refactoring
Build Status
Buildable 23
Build 23: arc lint + arc unit

Event Timeline

dereckson retitled this revision from to PhpFpmEnvironment::getEnvironmentVariables refactoring.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: Sandlayth.
Sandlayth edited edge metadata.
This revision is now accepted and ready to land.Nov 10 2015, 09:21
This revision was automatically updated to reflect the committed changes.