Code style fixes.
This commit is contained in:
parent
fa569f3e22
commit
4e68eb7180
89 changed files with 942 additions and 251 deletions
|
|
@ -67,7 +67,7 @@ class Atoum extends Plugin
|
|||
|
||||
/**
|
||||
* Run the Atoum plugin.
|
||||
*
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function execute()
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class Shell extends Plugin
|
|||
|
||||
/**
|
||||
* Runs the shell command.
|
||||
*
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function execute()
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue