Page MenuHomeDevCentral

PhpFpmEnvironment::getEnvironmentVariables refactoring
ClosedPublic

Authored by dereckson on Nov 8 2015, 22:58.
Referenced Files
F53525966: D36.id90.diff
Sat, Oct 10, 16:14
F53524694: D36.id90.diff
Sat, Oct 10, 15:57
F53510454: D36.diff
Sat, Oct 10, 13:23
F53480277: D36.id77.diff
Sat, Oct 10, 07:33
F53479583: D36.id77.diff
Sat, Oct 10, 07:27
F53455813: D36.diff
Sat, Oct 10, 03:30
Unknown Object (File)
Tue, Sep 29, 16:08
Unknown Object (File)
Mon, Sep 28, 14:25
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
Lint Not Applicable
Unit
Tests Not Applicable

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.