declare(strict_types=1);

namespace Sandbox;

/**
 * The example.
 */
final class Example {

  /**
   * The foo.
   */
  private(set) string $foo;

}
------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------
 12 | ERROR | Inline doc block comments are not allowed; use "/* Comment */" or "// Comment" instead (Drupal.Commenting.InlineComment.DocBlock)
 15 | ERROR | Missing member variable doc comment (Drupal.Commenting.VariableComment.Missing)
----------------------------------------------------------------------------------------------------------------------------------------------

Comments

chi created an issue.