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

Breadcrumb

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

ArraySniff::$lineLimit

The limit that the length of a line should not exceed.

This can be configured to have a different value but the default is 120. We don't enforce 80 characters by default because that can make array definitions in nested arrays or function calls less readable.

Type: integer

File

vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Arrays/ArraySniff.php, line 40

Class

ArraySniff
ArraySniff.

Namespace

Drupal\Sniffs\Arrays

Code

public $lineLimit = 120;

API Navigation

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