-
-
Notifications
You must be signed in to change notification settings - Fork 252
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
fixes, refactoring #564
fixes, refactoring #564
Conversation
The `imap_msgno()` method is strictly typehinted to return `int`, so the `is_numeric()` check makes no sense.
The specified type is already inferred from the source code.
`$msgno` was immediately overwritten 5 lines later.
Since we dropped support for PHP 8.0 and lower, this cast can be safely removed.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #564 +/- ##
============================================
+ Coverage 90.89% 95.10% +4.20%
+ Complexity 368 364 -4
============================================
Files 45 45
Lines 945 939 -6
============================================
+ Hits 859 893 +34
+ Misses 86 46 -40
☔ View full report in Codecov by Sentry. |
Thank you 💪 |
This PR contains various fixes, addresses performance issues and does a little bit of refactoring here and there.
Read the commit messages for more information.
Overall functionality stayed the same.