-
-
Notifications
You must be signed in to change notification settings - Fork 385
Represent line-coverage data in objects #1109
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
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1109 +/- ##
============================================
- Coverage 88.56% 88.41% -0.15%
- Complexity 1382 1387 +5
============================================
Files 98 102 +4
Lines 4651 4712 +61
============================================
+ Hits 4119 4166 +47
- Misses 532 546 +14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
very interessting.. this PR does not yet yield a measurable performance improvement in the cases I tested. neither perf nor memory wise. still its a improvement regarding maintainability and readability. |
|
Why is this still a draft? Thanks. |
|
because it did not yield the expected perf results. if you are fine with the change we can still go ahead |
|
I think this is good to go. |
src/Data/ProcessedClassType.php
Outdated
| final class ProcessedClassType | ||
| { | ||
| public function __construct( | ||
| public readonly string $className, |
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.
Please do not introduce property promotion, thank you.
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.
here we go.
remaining CI error is related to a deprecated php-cs-fixer setting, not the PR itself
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.
Thank you! I have updated the configuration for PHP-CS-Fixer.
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.
rebased
65603c9 to
c400997
Compare
|
Btw: motivation for this PR is also more strict structures, so we can level up phpstan and prevent bugs in the future |
|
would be great to get this merged, as it likely conflicts with other de-DOM-mification work along the way |
45dff46
into
sebastianbergmann:main
analog #1105 but for regular line coverage data