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

Breadcrumb

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

function Notifysend::getBasicCommand

Generate and return the basic notify-send command string to execute.

Return value

string Shell command with common parameters.

2 calls to Notifysend::getBasicCommand()
Notifysend::notifyAllFine in vendor/squizlabs/php_codesniffer/src/Reports/Notifysend.php
Tell the user that all is fine and no error/warning has been found.
Notifysend::notifyErrors in vendor/squizlabs/php_codesniffer/src/Reports/Notifysend.php
Tell the user that errors/warnings have been found.

File

vendor/squizlabs/php_codesniffer/src/Reports/Notifysend.php, line 228

Class

Notifysend

Namespace

PHP_CodeSniffer\Reports

Code

protected function getBasicCommand() {
    $cmd = $this->path;
    $cmd .= ' --category dev.validate';
    $cmd .= ' -h int:transient:1';
    $cmd .= ' -t ' . (int) $this->timeout;
    if (version_compare($this->version, '0.7.3', '>=') === true) {
        $cmd .= ' -a phpcs';
    }
    return $cmd;
}

API Navigation

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