-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Commenting\DocComment sniff checks if there is a star in eve…
…ry line Doc-block comment should have a star at the beginning of every line: ```php /** * comment */ ``` And the following example is invalid: ```php /** comment */ ```
- Loading branch information
1 parent
de67b63
commit a315761
Showing
4 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -324,3 +324,18 @@ class Foo | |
{ | ||
} | ||
} | ||
|
||
/** | ||
hey | ||
hello | ||
*/ | ||
|
||
/** | ||
hi | ||
hello | ||
*/ | ||
|
||
/** | ||
@var int $param | ||
*/ | ||
$param = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -326,3 +326,18 @@ $c = 'xyz'; | |
{ | ||
} | ||
} | ||
|
||
/** | ||
* hey | ||
* hello | ||
*/ | ||
|
||
/** | ||
* hi | ||
* hello | ||
*/ | ||
|
||
/** | ||
* @var int $param | ||
*/ | ||
$param = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters