Skip to content
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

Fix: Set cacheResult attribute to false in phpunit.xml #585

Merged
merged 2 commits into from
Dec 9, 2018

Conversation

localheinz
Copy link
Member

@localheinz localheinz commented Dec 8, 2018

This PR:

  • sets the cacheResult attribute to false in phpunit.xml to disable result caching entirely
  • removes previously implemented capabilities for removing the cacheResultFile attribute from phpunit.xml

Follows #582.

@@ -107,6 +107,7 @@ public function build(string $version): string
$this->xmlConfigurationHelper->replaceWithAbsolutePaths($xPath);
$this->xmlConfigurationHelper->setStopOnFailure($xPath);
$this->xmlConfigurationHelper->deactivateColours($xPath);
$this->xmlConfigurationHelper->deactivateResultCaching($xPath);
$this->xmlConfigurationHelper->removeCacheResultFile($dom, $xPath);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The question is whether we still need to remove the cacheResultFile attribute, then.

What do you think?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like it's not needed anymore. I would remove this code

@localheinz
Copy link
Member Author

screen shot 2018-12-08 at 14 28 43

🤔

@maks-rafalko
Copy link
Member

🤔

All new files must pass this check, but for the old ones, I think we can ignore it (it's unrelated to your PR). Of course, increasing the MSI is a good thing though.

Probably we need target 0.11 branch, what do you think?

@localheinz localheinz changed the base branch from master to 0.11 December 9, 2018 09:39
Copy link
Member

@maks-rafalko maks-rafalko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thank you @localheinz

@maks-rafalko maks-rafalko merged commit f71d7af into infection:0.11 Dec 9, 2018
@localheinz localheinz deleted the fix/cache-result branch December 9, 2018 16:23
@localheinz
Copy link
Member Author

Thank you, @borNfreee!

@maks-rafalko
Copy link
Member

Released 0.11.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants