3.0 missing comments in empty blocks
See original GitHub issueinput:
<?php
class Foo
{
public function bar()
{
// method body
}
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Add ignore: ["comments"] to block-no-empty #3925 - GitHub
If rule block-no-empty is enabled, no error is shown in case a block contains comments-only. Of course a comment can be seen as...
Read more >S00108: Nested block not empty, if comment present?
The rule S00108 states, that nested blocks should not be empty, because this could indicates accidentally missing code.
Read more >Empty comment block in HTML - what's it for? - Stack Overflow
Empty comments can be used as a workaround for removing whitespace between inline-block elements.
Read more >Empty blocks are shown [#872564] | Drupal.org
Hi, After an upgrade from Context beta5 to beta7 we got the following issue : all our empty blocks are now displayed.
Read more >no-empty-block | Dart Code Metrics
Disallows empty blocks except catch clause block. Blocks with a todo comment inside are not considered empty. Empty blocks are often indicators of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi @evilebottnawi, I’ve did not work on the project for a while. I plan to work on it again soon (in 1 or 2 weeks), I have a pending release to do and this bugfix will be included.
/cc @ichiriac friendly ping