Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EmptyCommentSniff.php

function EmptyCommentSniff::isPartOfMultiLineInlineComments

1 call to EmptyCommentSniff::isPartOfMultiLineInlineComments()
EmptyCommentSniff::process in vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Commenting/EmptyCommentSniff.php
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *

File

vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Commenting/EmptyCommentSniff.php, line 130

Class

EmptyCommentSniff

Namespace

SlevomatCodingStandard\Sniffs\Commenting

Code

private function isPartOfMultiLineInlineComments(File $phpcsFile, int $commentStartPointer, int $commentEndPointer) : bool {
    if (!$this->isNonEmptyLineCommentBefore($phpcsFile, $commentStartPointer)) {
        return false;
    }
    return $this->isNonEmptyLineCommentAfter($phpcsFile, $commentEndPointer);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal