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

Keep the file that caused an error for inspection #1325

Merged
merged 1 commit into from Aug 7, 2023

Conversation

ghostwriter
Copy link
Member

  • register a shutdown to perform the clean-up on error
  • remove all the mocks we generated except the file that caused the last error, on exit.

@ghostwriter ghostwriter added Patch Backwards compatible bug fixes and improvements Chore for non-functional changes or maintenance tasks such as code cleanup, formatting, or dependency upda labels Aug 7, 2023
@ghostwriter ghostwriter added this to the 1.6.6 milestone Aug 7, 2023
@ghostwriter ghostwriter self-assigned this Aug 7, 2023
@codecov
Copy link

codecov bot commented Aug 7, 2023

Codecov Report

Merging #1325 (408978e) into 1.6.x (68782e9) will decrease coverage by 0.23%.
The diff coverage is 44.44%.

❗ Current head 408978e differs from pull request most recent head 1b7d230. Consider uploading reports for the commit 1b7d230 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##              1.6.x    #1325      +/-   ##
============================================
- Coverage     77.88%   77.65%   -0.23%     
- Complexity     1014     1015       +1     
============================================
  Files            76       76              
  Lines          2595     2600       +5     
============================================
- Hits           2021     2019       -2     
- Misses          574      581       +7     
Files Changed Coverage Δ
library/Mockery/Loader/RequireLoader.php 50.00% <44.44%> (-40.91%) ⬇️

@ghostwriter ghostwriter force-pushed the chore/refactor-require-loader-cleanup branch 2 times, most recently from ce46bf7 to 169b37e Compare August 7, 2023 19:42
- register a shutdown to perform the clean-up on error
- remove all the mocks we generated except the file that caused the last error, on exit.

Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
@ghostwriter ghostwriter force-pushed the chore/refactor-require-loader-cleanup branch from 169b37e to 1b7d230 Compare August 7, 2023 19:44
@ghostwriter ghostwriter merged commit 2351243 into 1.6.x Aug 7, 2023
17 of 20 checks passed
@ghostwriter ghostwriter deleted the chore/refactor-require-loader-cleanup branch August 7, 2023 19:53
@ghostwriter ghostwriter mentioned this pull request Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chore for non-functional changes or maintenance tasks such as code cleanup, formatting, or dependency upda Patch Backwards compatible bug fixes and improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant