From a5aabdce2d46ce5c6c79cae140f8ddf573722c2d Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Wed, 11 Jan 2017 00:46:19 +0700 Subject: [PATCH] PhpParallelLint andPhpCpd now implements ZeroConfigPlugin interface --- src/PHPCensor/Plugin/Atoum.php | 2 +- src/PHPCensor/Plugin/Campfire.php | 1 + src/PHPCensor/Plugin/CleanBuild.php | 13 +++++---- src/PHPCensor/Plugin/Codeception.php | 1 + src/PHPCensor/Plugin/Composer.php | 11 +++---- src/PHPCensor/Plugin/CopyBuild.php | 11 +++---- src/PHPCensor/Plugin/Deployer.php | 11 +++---- src/PHPCensor/Plugin/Email.php | 11 +++---- src/PHPCensor/Plugin/Env.php | 11 +++---- src/PHPCensor/Plugin/FlowdockNotify.php | 1 + src/PHPCensor/Plugin/Git.php | 1 + src/PHPCensor/Plugin/Grunt.php | 11 +++---- src/PHPCensor/Plugin/Gulp.php | 11 +++---- src/PHPCensor/Plugin/HipchatNotify.php | 1 + src/PHPCensor/Plugin/Irc.php | 1 + src/PHPCensor/Plugin/Lint.php | 1 + src/PHPCensor/Plugin/Mysql.php | 13 +++++---- src/PHPCensor/Plugin/PackageBuild.php | 11 +++---- src/PHPCensor/Plugin/Pdepend.php | 1 + src/PHPCensor/Plugin/Pgsql.php | 11 +++---- src/PHPCensor/Plugin/PhpCodeSniffer.php | 15 ++++++---- src/PHPCensor/Plugin/PhpCpd.php | 32 +++++++++++++++++---- src/PHPCensor/Plugin/PhpCsFixer.php | 11 +++---- src/PHPCensor/Plugin/PhpDocblockChecker.php | 11 +++---- src/PHPCensor/Plugin/PhpLoc.php | 1 + src/PHPCensor/Plugin/PhpMessDetector.php | 11 +++---- src/PHPCensor/Plugin/PhpParallelLint.php | 32 +++++++++++++++++---- src/PHPCensor/Plugin/PhpSpec.php | 11 +++---- src/PHPCensor/Plugin/Shell.php | 1 + src/PHPCensor/Plugin/Sqlite.php | 11 +++---- src/PHPCensor/Plugin/TechnicalDebt.php | 12 ++++---- src/PHPCensor/Plugin/Wipe.php | 11 +++---- src/PHPCensor/Plugin/Xmpp.php | 11 +++---- 33 files changed, 188 insertions(+), 117 deletions(-) diff --git a/src/PHPCensor/Plugin/Atoum.php b/src/PHPCensor/Plugin/Atoum.php index b1254752..da2840ac 100644 --- a/src/PHPCensor/Plugin/Atoum.php +++ b/src/PHPCensor/Plugin/Atoum.php @@ -17,7 +17,7 @@ use PHPCensor\Plugin; /** * Atoum plugin, runs Atoum tests within a project. * - * @package PHPCensor\Plugin + * @package PHPCI\Plugin */ class Atoum extends Plugin { diff --git a/src/PHPCensor/Plugin/Campfire.php b/src/PHPCensor/Plugin/Campfire.php index 54242cb5..97a739f4 100644 --- a/src/PHPCensor/Plugin/Campfire.php +++ b/src/PHPCensor/Plugin/Campfire.php @@ -17,6 +17,7 @@ use PHPCensor\Plugin; /** * Campfire Plugin - Allows Campfire API actions. * strongly based on icecube (http://labs.mimmin.com/icecube) + * * @author André Cianfarani * @package PHPCI * @subpackage Plugins diff --git a/src/PHPCensor/Plugin/CleanBuild.php b/src/PHPCensor/Plugin/CleanBuild.php index b4b30af6..1a4cf0ea 100644 --- a/src/PHPCensor/Plugin/CleanBuild.php +++ b/src/PHPCensor/Plugin/CleanBuild.php @@ -14,12 +14,13 @@ use PHPCensor\Model\Build; use PHPCensor\Plugin; /** -* Clean build removes Composer related files and allows PHPCI users to clean up their build directory. -* Useful as a precursor to copy_build. -* @author Dan Cryer -* @package PHPCI -* @subpackage Plugins -*/ + * Clean build removes Composer related files and allows PHPCI users to clean up their build directory. + * Useful as a precursor to copy_build. + * + * @author Dan Cryer + * @package PHPCI + * @subpackage Plugins + */ class CleanBuild extends Plugin { protected $remove; diff --git a/src/PHPCensor/Plugin/Codeception.php b/src/PHPCensor/Plugin/Codeception.php index 585c867f..a9bbac09 100644 --- a/src/PHPCensor/Plugin/Codeception.php +++ b/src/PHPCensor/Plugin/Codeception.php @@ -19,6 +19,7 @@ use PHPCensor\ZeroConfigPlugin; /** * Codeception Plugin - Enables full acceptance, unit, and functional testing. + * * @author Don Gilbert * @author Igor Timoshenko * @author Adam Cooper diff --git a/src/PHPCensor/Plugin/Composer.php b/src/PHPCensor/Plugin/Composer.php index bd02aec4..fffe8044 100644 --- a/src/PHPCensor/Plugin/Composer.php +++ b/src/PHPCensor/Plugin/Composer.php @@ -16,11 +16,12 @@ use PHPCensor\Plugin; use PHPCensor\ZeroConfigPlugin; /** -* Composer Plugin - Provides access to Composer functionality. -* @author Dan Cryer -* @package PHPCI -* @subpackage Plugins -*/ + * Composer Plugin - Provides access to Composer functionality. + * + * @author Dan Cryer + * @package PHPCI + * @subpackage Plugins + */ class Composer extends Plugin implements ZeroConfigPlugin { protected $directory; diff --git a/src/PHPCensor/Plugin/CopyBuild.php b/src/PHPCensor/Plugin/CopyBuild.php index e36a9d8e..94a7e58d 100644 --- a/src/PHPCensor/Plugin/CopyBuild.php +++ b/src/PHPCensor/Plugin/CopyBuild.php @@ -15,11 +15,12 @@ use PHPCensor\Helper\Lang; use PHPCensor\Plugin; /** -* Copy Build Plugin - Copies the entire build to another directory. -* @author Dan Cryer -* @package PHPCI -* @subpackage Plugins -*/ + * Copy Build Plugin - Copies the entire build to another directory. + * + * @author Dan Cryer + * @package PHPCI + * @subpackage Plugins + */ class CopyBuild extends Plugin { protected $directory; diff --git a/src/PHPCensor/Plugin/Deployer.php b/src/PHPCensor/Plugin/Deployer.php index 42b11991..7c5c1b80 100644 --- a/src/PHPCensor/Plugin/Deployer.php +++ b/src/PHPCensor/Plugin/Deployer.php @@ -15,11 +15,12 @@ use PHPCensor\Model\Build; use PHPCensor\Plugin; /** -* Integrates PHPCI with Deployer: https://github.com/rebelinblue/deployer -* @author Dan Cryer -* @package PHPCI -* @subpackage Plugins -*/ + * Integrates PHPCI with Deployer: https://github.com/rebelinblue/deployer + * + * @author Dan Cryer + * @package PHPCI + * @subpackage Plugins + */ class Deployer extends Plugin { protected $webhookUrl; diff --git a/src/PHPCensor/Plugin/Email.php b/src/PHPCensor/Plugin/Email.php index 74760480..3c9618b0 100644 --- a/src/PHPCensor/Plugin/Email.php +++ b/src/PHPCensor/Plugin/Email.php @@ -21,11 +21,12 @@ use Psr\Log\LogLevel; use PHPCensor\Plugin; /** -* Email Plugin - Provides simple email capability to PHPCI. -* @author Steve Brazier -* @package PHPCI -* @subpackage Plugins -*/ + * Email Plugin - Provides simple email capability to PHPCI. + * + * @author Steve Brazier + * @package PHPCI + * @subpackage Plugins + */ class Email extends Plugin { /** diff --git a/src/PHPCensor/Plugin/Env.php b/src/PHPCensor/Plugin/Env.php index 5619ded2..37e8cd1e 100644 --- a/src/PHPCensor/Plugin/Env.php +++ b/src/PHPCensor/Plugin/Env.php @@ -15,11 +15,12 @@ use PHPCensor\Model\Build; use PHPCensor\Plugin; /** -* Environment variable plugin -* @author Steve Kamerman -* @package PHPCI -* @subpackage Plugins -*/ + * Environment variable plugin + * + * @author Steve Kamerman + * @package PHPCI + * @subpackage Plugins + */ class Env extends Plugin { protected $env_vars; diff --git a/src/PHPCensor/Plugin/FlowdockNotify.php b/src/PHPCensor/Plugin/FlowdockNotify.php index 0ff09906..c715b186 100644 --- a/src/PHPCensor/Plugin/FlowdockNotify.php +++ b/src/PHPCensor/Plugin/FlowdockNotify.php @@ -16,6 +16,7 @@ use PHPCensor\Plugin; /** * Flowdock Plugin + * * @author Petr Cervenka * @package PHPCI * @subpackage Plugins diff --git a/src/PHPCensor/Plugin/Git.php b/src/PHPCensor/Plugin/Git.php index df9a9b03..9e8681f6 100644 --- a/src/PHPCensor/Plugin/Git.php +++ b/src/PHPCensor/Plugin/Git.php @@ -16,6 +16,7 @@ use PHPCensor\Plugin; /** * Git plugin. + * * @author Dan Cryer * @package PHPCI * @subpackage Plugins diff --git a/src/PHPCensor/Plugin/Grunt.php b/src/PHPCensor/Plugin/Grunt.php index 63d883dc..2a6fe084 100644 --- a/src/PHPCensor/Plugin/Grunt.php +++ b/src/PHPCensor/Plugin/Grunt.php @@ -14,11 +14,12 @@ use PHPCensor\Model\Build; use PHPCensor\Plugin; /** -* Grunt Plugin - Provides access to grunt functionality. -* @author Tobias Tom -* @package PHPCI -* @subpackage Plugins -*/ + * Grunt Plugin - Provides access to grunt functionality. + * + * @author Tobias Tom + * @package PHPCI + * @subpackage Plugins + */ class Grunt extends Plugin { protected $directory; diff --git a/src/PHPCensor/Plugin/Gulp.php b/src/PHPCensor/Plugin/Gulp.php index b0058df6..646c1c88 100644 --- a/src/PHPCensor/Plugin/Gulp.php +++ b/src/PHPCensor/Plugin/Gulp.php @@ -14,11 +14,12 @@ use PHPCensor\Model\Build; use PHPCensor\Plugin; /** -* Gulp Plugin - Provides access to gulp functionality. -* @author Dirk Heilig -* @package PHPCI -* @subpackage Plugins -*/ + * Gulp Plugin - Provides access to gulp functionality. + * + * @author Dirk Heilig + * @package PHPCI + * @subpackage Plugins + */ class Gulp extends Plugin { protected $directory; diff --git a/src/PHPCensor/Plugin/HipchatNotify.php b/src/PHPCensor/Plugin/HipchatNotify.php index 27a43556..0eb7bd27 100644 --- a/src/PHPCensor/Plugin/HipchatNotify.php +++ b/src/PHPCensor/Plugin/HipchatNotify.php @@ -17,6 +17,7 @@ use HipChat\HipChat; /** * Hipchat Plugin + * * @author James Inman * @package PHPCI * @subpackage Plugins diff --git a/src/PHPCensor/Plugin/Irc.php b/src/PHPCensor/Plugin/Irc.php index 6aa3ee65..b8be97b6 100644 --- a/src/PHPCensor/Plugin/Irc.php +++ b/src/PHPCensor/Plugin/Irc.php @@ -16,6 +16,7 @@ use PHPCensor\Plugin; /** * IRC Plugin - Sends a notification to an IRC channel + * * @author Dan Cryer * @package PHPCI * @subpackage Plugins diff --git a/src/PHPCensor/Plugin/Lint.php b/src/PHPCensor/Plugin/Lint.php index e659e78e..57d4ee6c 100644 --- a/src/PHPCensor/Plugin/Lint.php +++ b/src/PHPCensor/Plugin/Lint.php @@ -16,6 +16,7 @@ use PHPCensor\Plugin; /** * PHP Lint Plugin - Provides access to PHP lint functionality. + * * @author Dan Cryer * @package PHPCI * @subpackage Plugins diff --git a/src/PHPCensor/Plugin/Mysql.php b/src/PHPCensor/Plugin/Mysql.php index d53b7878..fe6fa1b0 100644 --- a/src/PHPCensor/Plugin/Mysql.php +++ b/src/PHPCensor/Plugin/Mysql.php @@ -17,12 +17,13 @@ use PHPCensor\Plugin; use b8\Database; /** -* MySQL Plugin - Provides access to a MySQL database. -* @author Dan Cryer -* @author Steve Kamerman -* @package PHPCI -* @subpackage Plugins -*/ + * MySQL Plugin - Provides access to a MySQL database. + * + * @author Dan Cryer + * @author Steve Kamerman + * @package PHPCI + * @subpackage Plugins + */ class Mysql extends Plugin { /** diff --git a/src/PHPCensor/Plugin/PackageBuild.php b/src/PHPCensor/Plugin/PackageBuild.php index b25cd359..28da69d9 100644 --- a/src/PHPCensor/Plugin/PackageBuild.php +++ b/src/PHPCensor/Plugin/PackageBuild.php @@ -14,11 +14,12 @@ use PHPCensor\Model\Build; use PHPCensor\Plugin; /** -* Create a ZIP or TAR.GZ archive of the entire build. -* @author Dan Cryer -* @package PHPCI -* @subpackage Plugins -*/ + * Create a ZIP or TAR.GZ archive of the entire build. + * + * @author Dan Cryer + * @package PHPCI + * @subpackage Plugins + */ class PackageBuild extends Plugin { protected $directory; diff --git a/src/PHPCensor/Plugin/Pdepend.php b/src/PHPCensor/Plugin/Pdepend.php index 365f00da..35a71ef6 100644 --- a/src/PHPCensor/Plugin/Pdepend.php +++ b/src/PHPCensor/Plugin/Pdepend.php @@ -15,6 +15,7 @@ use PHPCensor\Plugin; /** * Pdepend Plugin - Allows Pdepend report + * * @author Johan van der Heide * @package PHPCI * @subpackage Plugins diff --git a/src/PHPCensor/Plugin/Pgsql.php b/src/PHPCensor/Plugin/Pgsql.php index fdaa11e6..f041679c 100644 --- a/src/PHPCensor/Plugin/Pgsql.php +++ b/src/PHPCensor/Plugin/Pgsql.php @@ -15,11 +15,12 @@ use PHPCensor\Model\Build; use PHPCensor\Plugin; /** -* PgSQL Plugin - Provides access to a PgSQL database. -* @author Dan Cryer -* @package PHPCI -* @subpackage Plugins -*/ + * PgSQL Plugin - Provides access to a PgSQL database. + * + * @author Dan Cryer + * @package PHPCI + * @subpackage Plugins + */ class Pgsql extends Plugin { /** diff --git a/src/PHPCensor/Plugin/PhpCodeSniffer.php b/src/PHPCensor/Plugin/PhpCodeSniffer.php index 74f40d23..611c2a9d 100644 --- a/src/PHPCensor/Plugin/PhpCodeSniffer.php +++ b/src/PHPCensor/Plugin/PhpCodeSniffer.php @@ -17,11 +17,12 @@ use PHPCensor\Plugin; use PHPCensor\ZeroConfigPlugin; /** -* PHP Code Sniffer Plugin - Allows PHP Code Sniffer testing. -* @author Dan Cryer -* @package PHPCI -* @subpackage Plugins -*/ + * PHP Code Sniffer Plugin - Allows PHP Code Sniffer testing. + * + * @author Dan Cryer + * @package PHPCI + * @subpackage Plugins + */ class PhpCodeSniffer extends Plugin implements ZeroConfigPlugin { /** @@ -107,9 +108,11 @@ class PhpCodeSniffer extends Plugin implements ZeroConfigPlugin /** * Check if this plugin can be executed. + * * @param $stage * @param Builder $builder - * @param Build $build + * @param Build $build + * * @return bool */ public static function canExecute($stage, Builder $builder, Build $build) diff --git a/src/PHPCensor/Plugin/PhpCpd.php b/src/PHPCensor/Plugin/PhpCpd.php index b9e0e49c..581303ef 100644 --- a/src/PHPCensor/Plugin/PhpCpd.php +++ b/src/PHPCensor/Plugin/PhpCpd.php @@ -14,14 +14,16 @@ use PHPCensor\Helper\Lang; use PHPCensor\Model\Build; use PHPCensor\Model\BuildError; use PHPCensor\Plugin; +use PHPCensor\ZeroConfigPlugin; /** -* PHP Copy / Paste Detector - Allows PHP Copy / Paste Detector testing. -* @author Dan Cryer -* @package PHPCI -* @subpackage Plugins -*/ -class PhpCpd extends Plugin + * PHP Copy / Paste Detector - Allows PHP Copy / Paste Detector testing. + * + * @author Dan Cryer + * @package PHPCI + * @subpackage Plugins + */ +class PhpCpd extends Plugin implements ZeroConfigPlugin { protected $directory; protected $args; @@ -56,6 +58,24 @@ class PhpCpd extends Plugin } } + /** + * 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) + { + if ($stage == 'test') { + return true; + } + + return false; + } + /** * Runs PHP Copy/Paste Detector in a specified directory. */ diff --git a/src/PHPCensor/Plugin/PhpCsFixer.php b/src/PHPCensor/Plugin/PhpCsFixer.php index 2f51618c..abdf2891 100644 --- a/src/PHPCensor/Plugin/PhpCsFixer.php +++ b/src/PHPCensor/Plugin/PhpCsFixer.php @@ -14,11 +14,12 @@ use PHPCensor\Model\Build; use PHPCensor\Plugin; /** -* PHP CS Fixer - Works with the PHP Coding Standards Fixer for testing coding standards. -* @author Gabriel Baker -* @package PHPCI -* @subpackage Plugins -*/ + * PHP CS Fixer - Works with the PHP Coding Standards Fixer for testing coding standards. + * + * @author Gabriel Baker + * @package PHPCI + * @subpackage Plugins + */ class PhpCsFixer extends Plugin { protected $workingDir = ''; diff --git a/src/PHPCensor/Plugin/PhpDocblockChecker.php b/src/PHPCensor/Plugin/PhpDocblockChecker.php index 96d69272..97bcadf4 100644 --- a/src/PHPCensor/Plugin/PhpDocblockChecker.php +++ b/src/PHPCensor/Plugin/PhpDocblockChecker.php @@ -16,11 +16,12 @@ use PHPCensor\Plugin; use PHPCensor\ZeroConfigPlugin; /** -* PHP Docblock Checker Plugin - Checks your PHP files for appropriate uses of Docblocks -* @author Dan Cryer -* @package PHPCI -* @subpackage Plugins -*/ + * PHP Docblock Checker Plugin - Checks your PHP files for appropriate uses of Docblocks + * + * @author Dan Cryer + * @package PHPCI + * @subpackage Plugins + */ class PhpDocblockChecker extends Plugin implements ZeroConfigPlugin { /** diff --git a/src/PHPCensor/Plugin/PhpLoc.php b/src/PHPCensor/Plugin/PhpLoc.php index 69317d76..4aa35e10 100644 --- a/src/PHPCensor/Plugin/PhpLoc.php +++ b/src/PHPCensor/Plugin/PhpLoc.php @@ -17,6 +17,7 @@ use PHPCensor\ZeroConfigPlugin; /** * PHP Loc - Allows PHP Copy / Lines of Code testing. + * * @author Johan van der Heide * @package PHPCI * @subpackage Plugins diff --git a/src/PHPCensor/Plugin/PhpMessDetector.php b/src/PHPCensor/Plugin/PhpMessDetector.php index 40894864..592b0835 100644 --- a/src/PHPCensor/Plugin/PhpMessDetector.php +++ b/src/PHPCensor/Plugin/PhpMessDetector.php @@ -16,11 +16,12 @@ use PHPCensor\Plugin; use PHPCensor\ZeroConfigPlugin; /** -* PHP Mess Detector Plugin - Allows PHP Mess Detector testing. -* @author Dan Cryer -* @package PHPCI -* @subpackage Plugins -*/ + * PHP Mess Detector Plugin - Allows PHP Mess Detector testing. + * + * @author Dan Cryer + * @package PHPCI + * @subpackage Plugins + */ class PhpMessDetector extends Plugin implements ZeroConfigPlugin { /** diff --git a/src/PHPCensor/Plugin/PhpParallelLint.php b/src/PHPCensor/Plugin/PhpParallelLint.php index 831b3a4a..846bcff2 100644 --- a/src/PHPCensor/Plugin/PhpParallelLint.php +++ b/src/PHPCensor/Plugin/PhpParallelLint.php @@ -12,14 +12,16 @@ namespace PHPCensor\Plugin; use PHPCensor\Builder; use PHPCensor\Model\Build; use PHPCensor\Plugin; +use PHPCensor\ZeroConfigPlugin; /** -* Php Parallel Lint Plugin - Provides access to PHP lint functionality. -* @author Vaclav Makes -* @package PHPCI -* @subpackage Plugins -*/ -class PhpParallelLint extends Plugin + * Php Parallel Lint Plugin - Provides access to PHP lint functionality. + * + * @author Vaclav Makes + * @package PHPCI + * @subpackage Plugins + */ +class PhpParallelLint extends Plugin implements ZeroConfigPlugin { /** * @var string @@ -68,6 +70,24 @@ class PhpParallelLint extends Plugin } } + /** + * 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) + { + if ($stage == 'test') { + return true; + } + + return false; + } + /** * Executes parallel lint */ diff --git a/src/PHPCensor/Plugin/PhpSpec.php b/src/PHPCensor/Plugin/PhpSpec.php index b6a21703..6d7a387c 100644 --- a/src/PHPCensor/Plugin/PhpSpec.php +++ b/src/PHPCensor/Plugin/PhpSpec.php @@ -15,11 +15,12 @@ use PHPCensor\Model\Build; use PHPCensor\Plugin; /** -* PHP Spec Plugin - Allows PHP Spec testing. -* @author Dan Cryer -* @package PHPCI -* @subpackage Plugins -*/ + * PHP Spec Plugin - Allows PHP Spec testing. + * + * @author Dan Cryer + * @package PHPCI + * @subpackage Plugins + */ class PhpSpec extends Plugin { /** diff --git a/src/PHPCensor/Plugin/Shell.php b/src/PHPCensor/Plugin/Shell.php index dc3edba2..18e2a7df 100644 --- a/src/PHPCensor/Plugin/Shell.php +++ b/src/PHPCensor/Plugin/Shell.php @@ -15,6 +15,7 @@ use PHPCensor\Plugin; /** * Shell Plugin - Allows execute shell commands. + * * @author Kinn Coelho Julião * @package PHPCI * @subpackage Plugins diff --git a/src/PHPCensor/Plugin/Sqlite.php b/src/PHPCensor/Plugin/Sqlite.php index 6cd14e7d..ddacce4d 100644 --- a/src/PHPCensor/Plugin/Sqlite.php +++ b/src/PHPCensor/Plugin/Sqlite.php @@ -15,11 +15,12 @@ use PHPCensor\Model\Build; use PHPCensor\Plugin; /** -* SQLite Plugin — Provides access to a SQLite database. -* @author Corpsee -* @package PHPCI -* @subpackage Plugins -*/ + * SQLite Plugin — Provides access to a SQLite database. + * + * @author Dmitry Khomutov + * @package PHPCI + * @subpackage Plugins + */ class Sqlite extends Plugin { /** diff --git a/src/PHPCensor/Plugin/TechnicalDebt.php b/src/PHPCensor/Plugin/TechnicalDebt.php index c941f550..2813f85d 100755 --- a/src/PHPCensor/Plugin/TechnicalDebt.php +++ b/src/PHPCensor/Plugin/TechnicalDebt.php @@ -16,12 +16,12 @@ use PHPCensor\Plugin; use PHPCensor\ZeroConfigPlugin; /** -* Technical Debt Plugin - Checks for existence of "TODO", "FIXME", etc. -* -* @author James Inman -* @package PHPCI -* @subpackage Plugins -*/ + * Technical Debt Plugin - Checks for existence of "TODO", "FIXME", etc. + * + * @author James Inman + * @package PHPCI + * @subpackage Plugins + */ class TechnicalDebt extends Plugin implements ZeroConfigPlugin { /** diff --git a/src/PHPCensor/Plugin/Wipe.php b/src/PHPCensor/Plugin/Wipe.php index c72fb5a0..046e770d 100644 --- a/src/PHPCensor/Plugin/Wipe.php +++ b/src/PHPCensor/Plugin/Wipe.php @@ -14,11 +14,12 @@ use PHPCensor\Model\Build; use PHPCensor\Plugin; /** -* Wipe Plugin - Wipes a folder -* @author Claus Due -* @package PHPCI -* @subpackage Plugins -*/ + * Wipe Plugin - Wipes a folder + * + * @author Claus Due + * @package PHPCI + * @subpackage Plugins + */ class Wipe extends Plugin { protected $directory; diff --git a/src/PHPCensor/Plugin/Xmpp.php b/src/PHPCensor/Plugin/Xmpp.php index cc9c5c68..27a6ce63 100644 --- a/src/PHPCensor/Plugin/Xmpp.php +++ b/src/PHPCensor/Plugin/Xmpp.php @@ -14,11 +14,12 @@ use PHPCensor\Model\Build; use PHPCensor\Plugin; /** -* XMPP Notification - Send notification for successful or failure build -* @author Alexandre Russo -* @package PHPCI -* @subpackage Plugins -*/ + * XMPP Notification - Send notification for successful or failure build + * + * @author Alexandre Russo + * @package PHPCI + * @subpackage Plugins + */ class XMPP extends Plugin { protected $directory;