-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Runtime::getRawBinary()
#72
Conversation
*/ | ||
public function getBinary(): string | ||
{ | ||
return escapeshellarg($this->getRawBinary()); |
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.
after this change even the hardcoded 'php'
(line 126) is passed thru escapeshellarg
, which wasn't the case before.
tested locally on my macos, that this still works as expected
looking at phpunit 10.5 I need this change in the next 6.x release to be useful |
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #72 +/- ##
============================================
+ Coverage 55.17% 56.77% +1.60%
- Complexity 67 68 +1
============================================
Files 2 2
Lines 116 118 +2
============================================
+ Hits 64 67 +3
+ Misses 52 51 -1 ☔ View full report in Codecov by Sentry. |
I will create a |
thank you |
Runtime->getRawBinary()
Runtime::getRawBinary()
I have created the Next step: merge to |
|
Thanks. No hurry I am afk until later today |
to pass a command in array-notation to
proc_open
we need it in a raw form. the escaping happens by php-src itselfrefs sebastianbergmann/phpunit#5749 (comment)