-
Notifications
You must be signed in to change notification settings - Fork 5
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
Ensure we start working with an absolute path #27
Conversation
Codecov Report
@@ Coverage Diff @@
## main #27 +/- ##
============================================
+ Coverage 82.47% 83.72% +1.25%
- Complexity 481 484 +3
============================================
Files 7 7
Lines 1295 1303 +8
============================================
+ Hits 1068 1091 +23
+ Misses 227 212 -15
Continue to review full report at Codecov.
|
@asmecher do you want to give this a try? I apologize that this simple change has come at the cost of removing PHP 7.2 support. I'll cut this as a |
@asmecher I updated main to remove PHP 7.2 support and fix all the other underlying bits. So now this PR is just about the issue at hand. Please have a look and let me know if I am meeting the use-case. |
Add/fix some tests
Thanks, @whikloj! I tested this by applying https://github.com/whikloj/BagItTools/pull/27.diff to my Composer-based installation (version 2.1.0). The patch applied successfully (with a bit of noise due to upstream changes):
I tested this with a relative path and it worked fine where it previously failed. Recent releases of our software require PHP7.3, so the PHP7.2 loss isn't a problem. Thanks for the quick turn-around on this, I appreciate it! |
I'll tag a 3.0.1 in the morning |
Thanks, @whikloj, much appreciated! |
Resolves #26