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

Line length ignore for docs #128

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

andrewnicols
Copy link
Contributor

Scratching an itch.

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.86%. Comparing base (24bc48a) to head (7aef373).

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #128      +/-   ##
============================================
+ Coverage     97.81%   97.86%   +0.04%     
- Complexity      827      832       +5     
============================================
  Files            35       35              
  Lines          2426     2430       +4     
============================================
+ Hits           2373     2378       +5     
+ Misses           53       52       -1     

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

Note: This does not apply to inline docs.

We should _perhaps_ limit this to things like Behat @Given/When/Then
but there are other times when this is not helpful too.
@stronk7
Copy link
Member

stronk7 commented Mar 20, 2024

Heh,

from the examples in the PR, I feel that only the @Given has a pass. The other 2 long cases (leaving apart the lang test that is unrelated) in phpdoc block and inline comment... I'd say that they should continue throwing warning/error. We don't want those long comments for any reason. Do we?

Maybe we can restrict the skipping to be a little more selecive (by tag, or by regex, ...).

Ciao :-)

@andrewnicols andrewnicols marked this pull request as draft March 20, 2024 07:59
@andrewnicols
Copy link
Contributor Author

We can... I'll update the patch some time later. Let's not block on this one. It's just one that does my head in!

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.

2 participants