-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
Code sample
<?php
/**
* @param One&Two $param
* @return void
*/
function sigh(One&Two $param): void
{
// Do you really support PHP 8.1
}
To reproduce
Steps to reproduce the behavior:
- Create a file called
test.php
with the code sample above... - Run
phpcs test.php ...
4 | ERROR | [x] Tag value for @param tag indented incorrectly; expected 2 spaces but found 1
| | (Generic.Commenting.DocComment.TagValueIndent)
Expected behavior
No error
Versions (please complete the following information):
- OS: Ubuntu 22.04
- PHP: 8.1
- PHPCS: 3.7.2
- Standard: You can see it from above
Metadata
Metadata
Assignees
Labels
No labels