-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Fixed #5230: @runClassInSeparateProcess has the same effect as @runTestsInSeparateProcesses #5233
base: 10.5
Are you sure you want to change the base?
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## 10.5 #5233 +/- ##
============================================
- Coverage 89.80% 81.34% -8.47%
+ Complexity 6420 5866 -554
============================================
Files 680 629 -51
Lines 20389 18564 -1825
============================================
- Hits 18311 15100 -3211
- Misses 2078 3464 +1386 ☔ View full report in Codecov by Sentry. |
|
08dc555
to
63591f3
Compare
I am sorry that I was not able to review this pull request sooner. Can you please explain on a conceptual what was wrong and how you fixed it? Thanks! This pull request has conflicts that must be resolved. It also targets the |
as far as I remember, the logic for |
Yes, please. Thanks! |
Done :) |
b94977a
to
31730ec
Compare
Sorry for the multiple actions, forgot the guidelines, then the type checking. |
No worries, I don't mind clicking that button ;) |
Good, because I changed the wrong variable and didn't check the tests again x( Should be good now 👌 |
Can you have a look into why the tests fail on PHP 8.3 and PHP 8.4? Thanks! |
@@ -16,7 +16,7 @@ if (!defined('STDOUT')) { | |||
|
|||
{iniSettings} | |||
ini_set('display_errors', 'stderr'); | |||
set_include_path('{include_path}'); | |||
set_include_path(unserialize('{include_path}')); |
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.
Why are serialize()
/ unserialize()
now used for the include_path
?
@@ -50,7 +50,7 @@ function __phpunit_run_isolated_test() | |||
|
|||
$test = new {className}('{methodName}'); | |||
|
|||
$test->setData('{dataName}', unserialize('{data}')); | |||
$test->setData(unserialize('{dataName}'), unserialize('{data}')); |
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.
Why are serialize()
/ unserialize()
now used for the name of a data set?
Yes, I'll have a look at it :) |
Any update on this? Thanks! |
@WalterWoshid Any update on this? Thanks! |
$fileContents = ''; | ||
|
||
foreach ($tests as $test) { | ||
$fileContents .= serialize( |
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.
I wonder why/whether it works to concat serialized strings together?
@WalterWoshid do you have plans to finish this PR? |
Did some refactoring and now it works :)
I also did some testing for my personal use case and it works!!!