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

Protect result cache against old data format #4614

Merged
merged 5 commits into from Mar 6, 2021
Merged

Protect result cache against old data format #4614

merged 5 commits into from Mar 6, 2021

Conversation

epdenouden
Copy link
Contributor

@epdenouden epdenouden commented Mar 5, 2021

Fixes #4580 by ignoring legacy cache data on first load. As PHPUnit moves towards using value objects instead of magic constants the internals need some adjustments.

@codecov
Copy link

codecov bot commented Mar 5, 2021

Codecov Report

Merging #4614 (ac25105) into master (8d639cb) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #4614      +/-   ##
============================================
- Coverage     83.62%   83.62%   -0.01%     
- Complexity     4520     4525       +5     
============================================
  Files           292      292              
  Lines         11688    11687       -1     
============================================
- Hits           9774     9773       -1     
  Misses         1914     1914              
Impacted Files Coverage Δ Complexity Δ
src/Runner/DefaultTestResultCache.php 91.93% <100.00%> (-0.13%) 32.00 <0.00> (+5.00) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8d639cb...ac25105. Read the comment docs.

@epdenouden epdenouden marked this pull request as ready for review March 5, 2021 13:06
@epdenouden epdenouden marked this pull request as draft March 5, 2021 20:11
@epdenouden epdenouden marked this pull request as ready for review March 5, 2021 21:08
@sebastianbergmann sebastianbergmann merged commit 9dcac99 into sebastianbergmann:master Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants