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

Breadcrumb

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

LineLengthSniff::$ignoreComments

Same name in this branch
  1. 11.1.x vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Files/LineLengthSniff.php \SlevomatCodingStandard\Sniffs\Files\LineLengthSniff::ignoreComments

Whether or not to ignore trailing comments.

This has the effect of also ignoring all lines that only contain comments.

Type: boolean

File

vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/LineLengthSniff.php, line 47

Class

LineLengthSniff

Namespace

PHP_CodeSniffer\Standards\Generic\Sniffs\Files

Code

public $ignoreComments = false;

API Navigation

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