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
Namespace
PHP_CodeSniffer\ReportsCode
protected abstract function getAuthor($line);