-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Improve export of closed resources #37
Improve export of closed resources #37
Conversation
Codecov Report
@@ Coverage Diff @@
## 4.0 #37 +/- ##
============================================
+ Coverage 98.09% 98.13% +0.03%
- Complexity 42 43 +1
============================================
Files 1 1
Lines 105 107 +2
============================================
+ Hits 103 105 +2
Misses 2 2
Continue to review full report at Codecov.
|
Please send this against the oldest supported branch and I will gladly forward-port it from there. |
This " |
Thanks @sebastianbergmann. The thing is... this repo doesn't seem to have a I'll happily rebase the PR and add support for recognizing closed resources all the way back to As for the (non-existent) 4.x branch: I don't know which commits between the |
PHPUnit 8.5 uses version 3.1 of this library, so the The |
Thanks! Will sort it out later today (after my current call). |
773b671
to
dfc0b1c
Compare
I've rebased the branch on |
@sebastianbergmann I've run into this before and had to do some digging to find the link on which I based the fix: https://twitter.com/seldaek/status/1299582760781307904 The short of it is, that with Also: https://getcomposer.org/doc/03-cli.md#composer-root-version |
@@ -6,6 +6,10 @@ on: | |||
|
|||
name: "CI" | |||
|
|||
env: | |||
# - COMPOSER_ROOT_VERSION is needed to get round the recursive dependency when using CI. | |||
COMPOSER_ROOT_VERSION: '4.99.99' |
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.
Could also be resolved somewhat automatically, see https://github.com/ergebnis/composer-root-version-action.
dfc0b1c
to
5654843
Compare
5654843
to
9b934e8
Compare
P.S.: The new pushes are nothing exciting. I just noticed I'd missed adding the |
Fixes #36
If you're so inclined, a backport to the 4.x branch would be great! ❤️
Note: I've added a second commit to fix the CI, which was failing on the
composer install
with the recursive dependency. The fix as now included should work during the whole of the5.x
dev cycle and will need adjusting when work starts on the next major (after 5.x).