Page MenuHomeDevCentral

PhpFpmEnvironment::getEnvironmentVariables refactoring
ClosedPublic

Authored by dereckson on Nov 8 2015, 22:58.
Referenced Files
F32760147: D36.id90.diff
Thu, Jun 11, 06:11
F32751747: D36.diff
Thu, Jun 11, 03:06
F32685012: D36.id77.diff
Wed, Jun 10, 19:02
Unknown Object (File)
Tue, Jun 9, 23:06
Unknown Object (File)
Tue, Jun 9, 15:11
Unknown Object (File)
Tue, Jun 9, 06:57
Unknown Object (File)
Mon, Jun 8, 19:53
Unknown Object (File)
Mon, Jun 8, 03:27
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.