Runtime::getRawBinary()#72
Conversation
| */ | ||
| public function getBinary(): string | ||
| { | ||
| return escapeshellarg($this->getRawBinary()); |
There was a problem hiding this comment.
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_openwe need it in a raw form. the escaping happens by php-src itselfrefs sebastianbergmann/phpunit#5749 (comment)