Skip to content
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

Properties should not be tested for regular constructors (Fixes #142) #144

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

andrewnicols
Copy link
Contributor

Only properties which define a visibility and therefore are promoted constructor properties are required to define a variable docblock.

@andrewnicols andrewnicols self-assigned this Mar 31, 2024
Copy link

codecov bot commented Mar 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.88%. Comparing base (9b3b3cd) to head (e7506b1).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #144   +/-   ##
=========================================
  Coverage     97.88%   97.88%           
- Complexity      844      845    +1     
=========================================
  Files            37       37           
  Lines          2500     2509    +9     
=========================================
+ Hits           2447     2456    +9     
  Misses           53       53           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…ehq#142)

Only properties which define a visibility and therefore are promoted
constructor properties are required to define a variable docblock.
Copy link
Member

@stronk7 stronk7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix, @andrewnicols . Looks perfect!

@stronk7 stronk7 merged commit c09a624 into moodlehq:main Mar 31, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem with moodle.Commenting.VariableComment and constructor methods
2 participants