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

Use Squizlabs Commenting sniffs for Method PHPDoc #31

Closed
wants to merge 2 commits into from

Conversation

andrewnicols
Copy link
Contributor

This commit addss support for the standard Commenting sniffs relating to methods only.

Some of the specific sniffs have been disabled, or their severity/type changed to suit our rules.

Fixes #30

This commit addss support for the standard Commenting sniffs relating
to methods only.

Some of the specific sniffs have been disabled, or their severity/type
changed to suit our rules.

Fixes moodlehq#30
@andrewnicols andrewnicols marked this pull request as draft September 27, 2022 04:25
@codecov
Copy link

codecov bot commented Sep 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.24%. Comparing base (76ce969) to head (c859dc1).
Report is 83 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #31   +/-   ##
=========================================
  Coverage     96.24%   96.24%           
  Complexity      492      492           
=========================================
  Files            21       21           
  Lines          1384     1384           
=========================================
  Hits           1332     1332           
  Misses           52       52           

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

@stronk7 stronk7 added the question Further information is requested label Feb 24, 2024
@stronk7
Copy link
Member

stronk7 commented Feb 24, 2024

Maybe we can discard this now that we have #30 to make it in an ordered and planned way?

@andrewnicols
Copy link
Contributor Author

Agreed.

I've also found that most of those sniffs actually are not suited. They do what we want, and then some other things too (grr)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate moodle-local_moodlecheck phpdoc checks to this standard
2 participants