Debug collector
| Q | A |
|---|---|
| Is bugfix? | ❌ |
| New feature? | ✔️ |
| Breaks BC? | ❌ |
https://github.com/yiisoft/yii-dev-panel/pull/60
Codecov Report
Attention: Patch coverage is 64.70588% with 18 lines in your changes missing coverage. Please review.
Project coverage is 90.82%. Comparing base (
03dc660) to head (d2a44cf).
| Files | Patch % | Lines |
|---|---|---|
| src/Debug/MailerInterfaceProxy.php | 0.00% | 17 Missing :warning: |
| src/Debug/MailerCollector.php | 97.05% | 1 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## master #72 +/- ##
============================================
- Coverage 99.35% 90.82% -8.54%
- Complexity 64 78 +14
============================================
Files 8 10 +2
Lines 156 207 +51
============================================
+ Hits 155 188 +33
- Misses 1 19 +18
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
PR Summary
-
Composer.json Stability Update Updated the
composer.jsonfile to permit use of development packages by adding"minimum-stability": "dev". -
New Debugging Package Addition To aid in debugging the application during development, the
"yiisoft/yii-debug": "^3.0@dev"package was added to thecomposer.jsonfile. -
Introduction of New Debug Files Two new debug related files
src/Debug/MailerCollector.phpandsrc/Debug/MailerInterfaceProxy.phpwere added. These provide additional debug capabilities. -
Comment Correction in MailerInterface.php Corrected a comment in
src/MailerInterface.phpfile to improve the clarity and readability of our comments. -
Introduction of New Test File To assure quality, a new test file
tests/Debug/MailerCollectorTest.phpwas added. -
Type Modifying in DummyMessage.php To make our code more flexible and to accommodate more types of data, the types of
$fromand$toproperties intests/TestAsset/DummyMessage.phpfile were modified fromstringtostring|array.