Restart a CLI process with XDEBUG_MODE=coverage and write access to PHAR files #12
Locked
llaville
started this conversation in
Show and tell
Replies: 3 comments
-
Implementation with commit 1362fc1 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here is the first results produced by CI (GitHub Actions) |
Beta Was this translation helpful? Give feedback.
0 replies
-
And with colors support Implemented by : |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current version of
KevinGH\Box\Console\Php\PhpSettingsHandler
used by https://github.com/llaville/box-manifest/blob/3.5.1/src/Helper/BoxHelper.php#L41 is able to restart a CLI process withphar.readonly
disabled, but is NOT able to keep Xdebug extension loaded if mode coverage is needed.Use Case: running PHPUnit tests with code coverage activated.
In this situation we could invoked
command, but then the
phar.readonly
won't be disabled.The Solution: use a new version of BOX PhpSettingsHandler.
Here is what we may obtains
Beta Was this translation helpful? Give feedback.
All reactions