-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PHP: Remove addServerGlobalEntry() method, accept $_SERVER as php.run…
…() property (#1286) Removes the public `php.addServerGlobalEntry()` method in favor of a new `$_SERVER` property for `PHPRequest`. The provided `$_SERVER` entries only affected the next `run()` call so making them a part of the `run()` argument is more natural. ## What problem does this solve? This PR reduces the amount of state stored in the `BasePHP` class, simplifying [the PHPProcessManager explorations](#1287). ## Testing instructions Confirm the unit and e2e tests pass.
- Loading branch information
Showing
3 changed files
with
81 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters