Code style fixes.

This commit is contained in:
Dmitry Khomutov 2017-11-05 21:48:36 +07:00
commit 4e68eb7180
No known key found for this signature in database
GPG key ID: EC19426474B37AAC
89 changed files with 942 additions and 251 deletions

View file

@ -67,7 +67,7 @@ class Atoum extends Plugin
/**
* Run the Atoum plugin.
*
*
* @return bool
*/
public function execute()

View file

@ -24,7 +24,7 @@ class Email extends Plugin
/**
* Send a notification mail.
*
*
* @return boolean
*/
public function execute()
@ -77,7 +77,7 @@ class Email extends Plugin
* @param string[] $ccList
* @param string $subject Email subject
* @param string $body Email body
*
*
* @return integer
*/
protected function sendEmail($toAddress, $ccList, $subject, $body)

View file

@ -127,10 +127,10 @@ class Mysql extends Plugin
/**
* Builds the MySQL import command required to import/execute the specified file
*
*
* @param string $import_file Path to file, relative to the build root
* @param string $database If specified, this database is selected before execution
*
*
* @return string
*/
protected function getImportCommand($import_file, $database = null)

View file

@ -58,11 +58,11 @@ class PhpCpd extends Plugin implements ZeroConfigPluginInterface
/**
* Check if this plugin can be executed.
*
*
* @param $stage
* @param Builder $builder
* @param Build $build
*
*
* @return bool
*/
public static function canExecute($stage, Builder $builder, Build $build)
@ -115,11 +115,11 @@ class PhpCpd extends Plugin implements ZeroConfigPluginInterface
/**
* Process the PHPCPD XML report.
*
*
* @param $xmlString
*
*
* @return integer
*
*
* @throws \Exception
*/
protected function processReport($xmlString)

View file

@ -127,11 +127,11 @@ class PhpMessDetector extends Plugin implements ZeroConfigPluginInterface
/**
* Process PHPMD's XML output report.
*
*
* @param $xmlString
*
*
* @return integer
*
*
* @throws \Exception
*/
protected function processReport($xmlString)

View file

@ -59,7 +59,7 @@ class Shell extends Plugin
/**
* Runs the shell command.
*
*
* @return bool
*/
public function execute()

View file

@ -43,10 +43,10 @@ class Executor
/**
* Execute a the appropriate set of plugins for a given build stage.
*
*
* @param array $config Configuration
* @param string $stage
*
*
* @return bool
*/
public function executePlugins($config, $stage)