moodlehq / moodle-cs

Moodle Coding Style
https://github.com/moodlehq/moodle-cs
GNU General Public License v3.0
18 stars 16 forks source link

Fix reported lines in the TestCaseProviderSniff #101

Closed stronk7 closed 8 months ago

stronk7 commented 8 months ago

For problems in the provider function declaration it was pointing to the @dataProvider PHPDoc comment, instead of the function.

Now all problems point to the real line they are. It's (was) completely covered with tests, so it should be safe.

Fixes #72

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (fc409da) 96.61% compared to head (a6ef3c0) 96.61%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #101 +/- ## ========================================= Coverage 96.61% 96.61% Complexity 537 537 ========================================= Files 23 23 Lines 1536 1537 +1 ========================================= + Hits 1484 1485 +1 Misses 52 52 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.