-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Refactor StreamWrapper
and raise psalm level to 4
#221
Conversation
vjik
commented
Aug 13, 2023
Q | A |
---|---|
Is bugfix? | ❌ |
New feature? | ❌ |
Breaks BC? | ❌ |
Fixed issues | partly #204 |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #221 +/- ##
============================================
+ Coverage 73.28% 73.35% +0.07%
+ Complexity 551 546 -5
============================================
Files 37 37
Lines 1707 1704 -3
============================================
- Hits 1251 1250 -1
+ Misses 456 454 -2
☔ View full report in Codecov by Sentry. |
PR Summary
|
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.
Did you test the changes in src/Helper/StreamWrapper/StreamWrapper.php?
It worked in many cases I've tested and I'm not sure it's good way to change the logic without integrational tests.
PHP documentation is poor in streams context and parts of the source were taken from many other open source projects that works well. So it's better keep it as is.
Agree, need test. Suggest do it in separate PR. And now this package in development stage and if there are errors, then we will have the opportunity to fix them. |
So would you like to separate the changes from |
No, this related changes. But we can it sometime later. |