-
Notifications
You must be signed in to change notification settings - Fork 370
[PHP] Inline rotatePHPRuntime() into the PHP class #2559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
8af3121
Add hidden `mode` option for Blueprints v2
brandonpayton 7f84ddb
Set Blueprints v2 execution mode for expanded auto-mount
brandonpayton b2552a9
Support providing a path to auto-mount option
brandonpayton 2745d51
Default auto-mount path within runCLI so we can test the default
brandonpayton dc0ec11
Move unrelated test out of the autoMount tests
brandonpayton 1bec019
Add broken WIP run-cli tests for Blueprints v2
brandonpayton bb7dd05
Fix auto-mounting themes while using the Blueprints v2 runner
brandonpayton 06781f2
Fix experimental-multi-worker option description
brandonpayton 9af22e4
Fix run-cli tests that depend on default WordPress Site title
brandonpayton d173786
Revert "Default auto-mount path within runCLI so we can test the defa…
brandonpayton 83e072d
Revert "Support providing a path to auto-mount option"
brandonpayton 305d91d
Restore boolean autoMount arg in tests
brandonpayton 40e05b7
Import proper types for CLI tests
brandonpayton 8eef03f
Skip broken run-cli tests for Blueprints v2
brandonpayton fcceb0b
Prevent --mode from being used with --auto-mount
brandonpayton c677778
Add another validation warning about the --mode option
brandonpayton ff374b2
Add --mode tests
brandonpayton 080f5f9
Recognize --skip-wordpress-setup and --skip-sqlite-setup options
adamziel 2169d8e
Resolve merge conflicts in packages/playground/cli/tests/run-cli.spec.ts
adamziel 1a90cc6
Resolve conflicts in the unit tests
adamziel 096b25f
Merge branch 'trunk' into playground-cli-auto-select-blueprint-v2-model
adamziel 27e5cb6
Adjust unit tests setup to pass verbosity test with Blueprints v2
adamziel 63ef1e3
Skip the failing verbosity test
adamziel 2fa0f84
Add a --site-url CLI option to separate setting the site URL from bin…
adamziel 6fcd3df
Merge branch 'trunk' into playground-cli-site-url
adamziel 2c7b1a3
Dispose cliServer after each test case
adamziel 734a9d2
Ignore dispose-related errors
adamziel 2eda90a
Lint
adamziel 5b1e0e5
Improve siteUrl-related messaging
adamziel 16db78e
[PHP] Unbind rotatePHPRuntime() handler when PHP instance is destroyed
adamziel c59bb16
Move PHP instance rotation inside the PHP class
adamziel 246638e
Rotate PHP instance around cli() execution to support multiple calls
adamziel 98744e3
Test for multiple .cli() and .runStream() calls
adamziel 0921653
Merge branch 'trunk' into unbind-hotswap
adamziel 33b4d0b
Remove the concept of destroying a PHP instance
adamziel 6c46cd9
Replace uses of rotatePHPRuntime() with php.enableRuntimeRotation
adamziel cb2f595
Remove private access modifier from hotSwapPHPRuntime
adamziel a66d25f
Change php.exit() to php.exit(0) in process manager
adamziel d9ff790
Update rotate-php-runtime.spec.ts
adamziel cb63325
Enhance error handling in php.ts
adamziel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically the PHP instance can still be reinitialized with another PHP runtime so it's not destroyed