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

Breadcrumb

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

function VersionControl::getAuthor

Extract the author from a blame line.

Parameters

string $line Line to parse.:

Return value

mixed string or false if impossible to recover.

1 call to VersionControl::getAuthor()
VersionControl::generateFileReport in vendor/squizlabs/php_codesniffer/src/Reports/VersionControl.php
Generate a partial report for a single processed file.
3 methods override VersionControl::getAuthor()
Gitblame::getAuthor in vendor/squizlabs/php_codesniffer/src/Reports/Gitblame.php
Extract the author from a blame line.
Hgblame::getAuthor in vendor/squizlabs/php_codesniffer/src/Reports/Hgblame.php
Extract the author from a blame line.
Svnblame::getAuthor in vendor/squizlabs/php_codesniffer/src/Reports/Svnblame.php
Extract the author from a blame line.

File

vendor/squizlabs/php_codesniffer/src/Reports/VersionControl.php, line 364

Class

VersionControl

Namespace

PHP_CodeSniffer\Reports

Code

protected abstract function getAuthor($line);

API Navigation

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