Fixed namespaces (PHPCI -> PHPCensor)
This commit is contained in:
parent
60d74b0b44
commit
60a2b7282a
238 changed files with 1014 additions and 863 deletions
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI;
|
||||
namespace PHPCensor;
|
||||
|
||||
use b8;
|
||||
use b8\Exception\HttpException;
|
||||
|
|
@ -7,10 +7,10 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI;
|
||||
namespace PHPCensor;
|
||||
|
||||
use b8\Store\Factory;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCensor\Model\Build;
|
||||
|
||||
/**
|
||||
* PHPCI Build Factory - Takes in a generic "Build" and returns a type-specific build model.
|
||||
|
|
@ -70,7 +70,7 @@ class BuildFactory
|
|||
return $build;
|
||||
}
|
||||
|
||||
$class = '\\PHPCI\\Model\\Build\\' . $type;
|
||||
$class = '\\PHPCensor\\Model\\Build\\' . $type;
|
||||
$build = new $class($build->getDataArray());
|
||||
}
|
||||
|
||||
|
|
@ -7,19 +7,19 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI;
|
||||
namespace PHPCensor;
|
||||
|
||||
use PHPCI\Helper\BuildInterpolator;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Helper\MailerFactory;
|
||||
use PHPCI\Logging\BuildLogger;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCensor\Helper\BuildInterpolator;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Helper\MailerFactory;
|
||||
use PHPCensor\Logging\BuildLogger;
|
||||
use PHPCensor\Model\Build;
|
||||
use b8\Config;
|
||||
use b8\Store\Factory;
|
||||
use Psr\Log\LoggerAwareInterface;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use Psr\Log\LogLevel;
|
||||
use PHPCI\Plugin\Util\Factory as PluginFactory;
|
||||
use PHPCensor\Plugin\Util\Factory as PluginFactory;
|
||||
|
||||
/**
|
||||
* PHPCI Build Runner
|
||||
|
|
@ -113,9 +113,9 @@ class Builder implements LoggerAwareInterface
|
|||
$pluginFactory->addConfigFromFile(PHPCI_APP_DIR . "pluginconfig.php");
|
||||
$this->pluginExecutor = new Plugin\Util\Executor($pluginFactory, $this->buildLogger);
|
||||
|
||||
$executorClass = 'PHPCI\Helper\UnixCommandExecutor';
|
||||
$executorClass = 'PHPCensor\Helper\UnixCommandExecutor';
|
||||
if (IS_WIN) {
|
||||
$executorClass = 'PHPCI\Helper\WindowsCommandExecutor';
|
||||
$executorClass = 'PHPCensor\Helper\WindowsCommandExecutor';
|
||||
}
|
||||
|
||||
$this->commandExecutor = new $executorClass(
|
||||
|
|
@ -407,7 +407,7 @@ class Builder implements LoggerAwareInterface
|
|||
return $self;
|
||||
},
|
||||
null,
|
||||
'PHPCI\Builder'
|
||||
'PHPCensor\Builder'
|
||||
);
|
||||
|
||||
$pluginFactory->registerResource(
|
||||
|
|
@ -415,7 +415,7 @@ class Builder implements LoggerAwareInterface
|
|||
return $build;
|
||||
},
|
||||
null,
|
||||
'PHPCI\Model\Build'
|
||||
'PHPCensor\Model\Build'
|
||||
);
|
||||
|
||||
$logger = $this->logger;
|
||||
|
|
@ -7,11 +7,11 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Command;
|
||||
namespace PHPCensor\Command;
|
||||
|
||||
use PHPCI\Service\UserService;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Store\UserStore;
|
||||
use PHPCensor\Service\UserService;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Store\UserStore;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
|
@ -7,11 +7,11 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Command;
|
||||
namespace PHPCensor\Command;
|
||||
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Service\BuildService;
|
||||
use PHPCI\Store\ProjectStore;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Service\BuildService;
|
||||
use PHPCensor\Store\ProjectStore;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
|
|
@ -8,11 +8,11 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Command;
|
||||
namespace PHPCensor\Command;
|
||||
|
||||
use Monolog\Logger;
|
||||
use PHPCI\ProcessControl\Factory;
|
||||
use PHPCI\ProcessControl\ProcessControlInterface;
|
||||
use PHPCensor\ProcessControl\Factory;
|
||||
use PHPCensor\ProcessControl\ProcessControlInterface;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Command;
|
||||
namespace PHPCensor\Command;
|
||||
|
||||
use Monolog\Logger;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
|
|
@ -7,20 +7,20 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Command;
|
||||
namespace PHPCensor\Command;
|
||||
|
||||
use Exception;
|
||||
use PDO;
|
||||
|
||||
use b8\Config;
|
||||
use b8\Store\Factory;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Helper\QuestionHelper;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use PHPCI\Service\UserService;
|
||||
use PHPCensor\Service\UserService;
|
||||
use Symfony\Component\Console\Question\Question;
|
||||
use Symfony\Component\Console\Question\ConfirmationQuestion;
|
||||
use Symfony\Component\Yaml\Dumper;
|
||||
|
|
@ -7,17 +7,17 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Command;
|
||||
namespace PHPCensor\Command;
|
||||
|
||||
use b8\Store\Factory;
|
||||
use b8\HttpClient;
|
||||
use Monolog\Logger;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Yaml\Parser;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCensor\Model\Build;
|
||||
|
||||
/**
|
||||
* Run console command - Poll github for latest commit id
|
||||
|
|
@ -7,11 +7,11 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Command;
|
||||
namespace PHPCensor\Command;
|
||||
|
||||
use b8\Store\Factory;
|
||||
use Monolog\Logger;
|
||||
use PHPCI\Service\BuildService;
|
||||
use PHPCensor\Service\BuildService;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\ArgvInput;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
|
|
@ -7,14 +7,14 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Command;
|
||||
namespace PHPCensor\Command;
|
||||
|
||||
use b8\Store\Factory;
|
||||
use Monolog\Logger;
|
||||
use PHPCI\BuildFactory;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Logging\OutputLogHandler;
|
||||
use PHPCI\Service\BuildService;
|
||||
use PHPCensor\BuildFactory;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Logging\OutputLogHandler;
|
||||
use PHPCensor\Service\BuildService;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
|
@ -7,21 +7,21 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Command;
|
||||
namespace PHPCensor\Command;
|
||||
|
||||
use b8\Config;
|
||||
use Monolog\Logger;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Logging\BuildDBLogHandler;
|
||||
use PHPCI\Logging\LoggedBuildContextTidier;
|
||||
use PHPCI\Logging\OutputLogHandler;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Logging\BuildDBLogHandler;
|
||||
use PHPCensor\Logging\LoggedBuildContextTidier;
|
||||
use PHPCensor\Logging\OutputLogHandler;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use b8\Store\Factory;
|
||||
use PHPCI\Builder;
|
||||
use PHPCI\BuildFactory;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCensor\Builder;
|
||||
use PHPCensor\BuildFactory;
|
||||
use PHPCensor\Model\Build;
|
||||
|
||||
/**
|
||||
* Run console command - Runs any pending builds.
|
||||
|
|
@ -7,11 +7,11 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Command;
|
||||
namespace PHPCensor\Command;
|
||||
|
||||
use b8\Config;
|
||||
use Monolog\Logger;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
|
@ -7,12 +7,12 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Command;
|
||||
namespace PHPCensor\Command;
|
||||
|
||||
use b8\Config;
|
||||
use Monolog\Logger;
|
||||
use PHPCI\Logging\OutputLogHandler;
|
||||
use PHPCI\Worker\BuildWorker;
|
||||
use PHPCensor\Logging\OutputLogHandler;
|
||||
use PHPCensor\Worker\BuildWorker;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI;
|
||||
namespace PHPCensor;
|
||||
|
||||
use b8\Config;
|
||||
use b8\Exception\HttpException\ForbiddenException;
|
||||
|
|
@ -7,18 +7,18 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Controller;
|
||||
namespace PHPCensor\Controller;
|
||||
|
||||
use b8;
|
||||
use b8\Exception\HttpException\NotFoundException;
|
||||
use b8\Http\Response\JsonResponse;
|
||||
use PHPCI\BuildFactory;
|
||||
use PHPCI\Helper\AnsiConverter;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCI\Model\Project;
|
||||
use PHPCI\Service\BuildService;
|
||||
use PHPCI\Controller;
|
||||
use PHPCensor\BuildFactory;
|
||||
use PHPCensor\Helper\AnsiConverter;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Model\Build;
|
||||
use PHPCensor\Model\Project;
|
||||
use PHPCensor\Service\BuildService;
|
||||
use PHPCensor\Controller;
|
||||
|
||||
/**
|
||||
* Build Controller - Allows users to run and view builds.
|
||||
|
|
@ -7,16 +7,16 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Controller;
|
||||
namespace PHPCensor\Controller;
|
||||
|
||||
use b8;
|
||||
use b8\Exception\HttpException\NotFoundException;
|
||||
use b8\Store;
|
||||
use PHPCI\BuildFactory;
|
||||
use PHPCI\Model\Project;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCI\Service\BuildStatusService;
|
||||
use PHPCI\Controller;
|
||||
use PHPCensor\BuildFactory;
|
||||
use PHPCensor\Model\Project;
|
||||
use PHPCensor\Model\Build;
|
||||
use PHPCensor\Service\BuildStatusService;
|
||||
use PHPCensor\Controller;
|
||||
|
||||
/**
|
||||
* Build Status Controller - Allows external access to build status information / images.
|
||||
|
|
@ -7,14 +7,14 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Controller;
|
||||
namespace PHPCensor\Controller;
|
||||
|
||||
use b8;
|
||||
use b8\Form;
|
||||
use b8\Store;
|
||||
use PHPCI\Controller;
|
||||
use PHPCI\Model\ProjectGroup;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCensor\Controller;
|
||||
use PHPCensor\Model\ProjectGroup;
|
||||
use PHPCensor\Helper\Lang;
|
||||
|
||||
/**
|
||||
* Project Controller - Allows users to create, edit and view projects.
|
||||
|
|
@ -7,13 +7,13 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Controller;
|
||||
namespace PHPCensor\Controller;
|
||||
|
||||
use b8;
|
||||
use PHPCI\BuildFactory;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCI\Controller;
|
||||
use PHPCensor\BuildFactory;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Model\Build;
|
||||
use PHPCensor\Controller;
|
||||
|
||||
/**
|
||||
* Home Controller - Displays the PHPCI Dashboard.
|
||||
|
|
@ -7,14 +7,14 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Controller;
|
||||
namespace PHPCensor\Controller;
|
||||
|
||||
use b8;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Plugin\Util\ComposerPluginInformation;
|
||||
use PHPCI\Plugin\Util\FilesPluginInformation;
|
||||
use PHPCI\Plugin\Util\PluginInformationCollection;
|
||||
use PHPCI\Controller;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Plugin\Util\ComposerPluginInformation;
|
||||
use PHPCensor\Plugin\Util\FilesPluginInformation;
|
||||
use PHPCensor\Plugin\Util\PluginInformationCollection;
|
||||
use PHPCensor\Controller;
|
||||
|
||||
/**
|
||||
* Plugin Controller - Provides support for installing Composer packages.
|
||||
|
|
@ -7,19 +7,19 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Controller;
|
||||
namespace PHPCensor\Controller;
|
||||
|
||||
use b8;
|
||||
use b8\Form;
|
||||
use b8\Exception\HttpException\NotFoundException;
|
||||
use b8\Store;
|
||||
use PHPCI;
|
||||
use PHPCI\BuildFactory;
|
||||
use PHPCI\Helper\Github;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Helper\SshKey;
|
||||
use PHPCI\Service\BuildService;
|
||||
use PHPCI\Service\ProjectService;
|
||||
use PHPCensor;
|
||||
use PHPCensor\BuildFactory;
|
||||
use PHPCensor\Helper\Github;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Helper\SshKey;
|
||||
use PHPCensor\Service\BuildService;
|
||||
use PHPCensor\Service\ProjectService;
|
||||
|
||||
/**
|
||||
* Project Controller - Allows users to create, edit and view projects.
|
||||
|
|
@ -27,7 +27,7 @@ use PHPCI\Service\ProjectService;
|
|||
* @package PHPCI
|
||||
* @subpackage Web
|
||||
*/
|
||||
class ProjectController extends PHPCI\Controller
|
||||
class ProjectController extends PHPCensor\Controller
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Store\ProjectStore
|
||||
|
|
@ -7,12 +7,12 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Controller;
|
||||
namespace PHPCensor\Controller;
|
||||
|
||||
use b8;
|
||||
use PHPCI\Helper\Email;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Controller;
|
||||
use PHPCensor\Helper\Email;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Controller;
|
||||
|
||||
/**
|
||||
* Session Controller - Handles user login / logout.
|
||||
|
|
@ -7,13 +7,13 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Controller;
|
||||
namespace PHPCensor\Controller;
|
||||
|
||||
use b8;
|
||||
use b8\Form;
|
||||
use b8\HttpClient;
|
||||
use PHPCI\Controller;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCensor\Controller;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use Symfony\Component\Yaml\Dumper;
|
||||
use Symfony\Component\Yaml\Parser;
|
||||
|
||||
|
|
@ -7,14 +7,14 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Controller;
|
||||
namespace PHPCensor\Controller;
|
||||
|
||||
use b8;
|
||||
use b8\Exception\HttpException\NotFoundException;
|
||||
use b8\Form;
|
||||
use PHPCI\Controller;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Service\UserService;
|
||||
use PHPCensor\Controller;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Service\UserService;
|
||||
|
||||
/**
|
||||
* User Controller - Allows an administrator to view, add, edit and delete users.
|
||||
|
|
@ -7,15 +7,15 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Controller;
|
||||
namespace PHPCensor\Controller;
|
||||
|
||||
use b8;
|
||||
use b8\Store;
|
||||
use Exception;
|
||||
use PHPCI\Model\Project;
|
||||
use PHPCI\Service\BuildService;
|
||||
use PHPCI\Store\BuildStore;
|
||||
use PHPCI\Store\ProjectStore;
|
||||
use PHPCensor\Model\Project;
|
||||
use PHPCensor\Service\BuildService;
|
||||
use PHPCensor\Store\BuildStore;
|
||||
use PHPCensor\Store\ProjectStore;
|
||||
use b8\Controller;
|
||||
use b8\Config;
|
||||
use b8\HttpClient;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI;
|
||||
namespace PHPCensor;
|
||||
|
||||
/**
|
||||
* Error Handler
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
use SensioLabs\AnsiConverter\AnsiToHtmlConverter;
|
||||
|
||||
|
|
@ -7,10 +7,10 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
use Exception;
|
||||
use PHPCI\Logging\BuildLogger;
|
||||
use PHPCensor\Logging\BuildLogger;
|
||||
use Psr\Log\LogLevel;
|
||||
|
||||
/**
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
/**
|
||||
* User Helper - Provides access to logged in user information in views.
|
||||
|
|
@ -7,9 +7,9 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCensor\Model\Build;
|
||||
|
||||
/**
|
||||
* The BuildInterpolator class replaces variables in a string with build-specific information.
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
interface CommandExecutor
|
||||
{
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
/**
|
||||
* Provides some basic diff processing functionality.
|
||||
|
|
@ -7,10 +7,10 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
use b8\Config;
|
||||
use PHPCI\Builder;
|
||||
use PHPCensor\Builder;
|
||||
|
||||
/**
|
||||
* Helper class for sending emails using PHPCI's email configuration.
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
use b8\Cache;
|
||||
use b8\Config;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
use b8\Config;
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ class Lang
|
|||
*/
|
||||
public static function out()
|
||||
{
|
||||
print call_user_func_array(['PHPCI\Helper\Lang', 'get'], func_get_args());
|
||||
print call_user_func_array(['PHPCensor\Helper\Lang', 'get'], func_get_args());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
use b8\Config;
|
||||
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
/**
|
||||
* Class MailerFactory helps to set up and configure a SwiftMailer object.
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
/**
|
||||
* Helper class for dealing with SSH keys.
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
/**
|
||||
* Unix/Linux specific extension of the CommandExecutor class.
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
/**
|
||||
* User Helper - Provides access to logged in user information in views.
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
namespace PHPCensor\Helper;
|
||||
|
||||
/**
|
||||
* Windows-specific extension of the CommandExecutor class.
|
||||
|
|
@ -7,11 +7,11 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Logging;
|
||||
namespace PHPCensor\Logging;
|
||||
|
||||
use b8\Store\Factory;
|
||||
use Monolog\Handler\AbstractProcessingHandler;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCensor\Model\Build;
|
||||
use Psr\Log\LogLevel;
|
||||
|
||||
/**
|
||||
|
|
@ -7,9 +7,9 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Logging;
|
||||
namespace PHPCensor\Logging;
|
||||
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCensor\Model\Build;
|
||||
use Psr\Log\LoggerAwareInterface;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use Psr\Log\LogLevel;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Logging;
|
||||
namespace PHPCensor\Logging;
|
||||
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
|
|
@ -7,9 +7,9 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Logging;
|
||||
namespace PHPCensor\Logging;
|
||||
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCensor\Model\Build;
|
||||
|
||||
/**
|
||||
* Class LoggedBuildContextTidier cleans up build log entries.
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Logging;
|
||||
namespace PHPCensor\Logging;
|
||||
|
||||
use Monolog\ErrorHandler;
|
||||
use Monolog\Logger;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Logging;
|
||||
namespace PHPCensor\Logging;
|
||||
|
||||
use Monolog\Handler\AbstractProcessingHandler;
|
||||
use Psr\Log\LogLevel;
|
||||
|
|
@ -15,7 +15,7 @@ class AddProjectGroups extends AbstractMigration
|
|||
if (!$table->hasColumn('title')) {
|
||||
$table->addColumn('title', 'string', ['limit' => 100, 'null' => false])->save();
|
||||
|
||||
$group = new \PHPCI\Model\ProjectGroup();
|
||||
$group = new \PHPCensor\Model\ProjectGroup();
|
||||
$group->setTitle('Projects');
|
||||
|
||||
\b8\Store\Factory::getStore('ProjectGroup')->save($group);
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
use Phinx\Migration\AbstractMigration;
|
||||
use PHPCI\Model\BuildMeta;
|
||||
use PHPCI\Model\BuildError;
|
||||
use PHPCensor\Model\BuildMeta;
|
||||
use PHPCensor\Model\BuildError;
|
||||
|
||||
class ConvertErrors extends AbstractMigration
|
||||
{
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI;
|
||||
namespace PHPCensor;
|
||||
|
||||
/**
|
||||
* PHPCI Base Model.
|
||||
|
|
@ -4,11 +4,11 @@
|
|||
* Build base model for table: build
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model\Base;
|
||||
namespace PHPCensor\Model\Base;
|
||||
|
||||
use PHPCI\Model;
|
||||
use PHPCensor\Model;
|
||||
use b8\Store\Factory;
|
||||
use PHPCI\Model\Project;
|
||||
use PHPCensor\Model\Project;
|
||||
|
||||
/**
|
||||
* Build Base Model
|
||||
|
|
@ -584,7 +584,7 @@ class BuildBase extends Model
|
|||
$rtn = $this->cache->get($cacheKey, null);
|
||||
|
||||
if (empty($rtn)) {
|
||||
$rtn = Factory::getStore('Project', 'PHPCI')->getById($key);
|
||||
$rtn = Factory::getStore('Project', 'PHPCensor')->getById($key);
|
||||
$this->cache->set($cacheKey, $rtn);
|
||||
}
|
||||
|
||||
|
|
@ -625,24 +625,24 @@ class BuildBase extends Model
|
|||
/**
|
||||
* Get BuildError models by BuildId for this Build.
|
||||
*
|
||||
* @uses \PHPCI\Store\BuildErrorStore::getByBuildId()
|
||||
* @uses \PHPCI\Model\BuildError
|
||||
* @return \PHPCI\Model\BuildError[]
|
||||
* @uses \PHPCensor\Store\BuildErrorStore::getByBuildId()
|
||||
* @uses \PHPCensor\Model\BuildError
|
||||
* @return \PHPCensor\Model\BuildError[]
|
||||
*/
|
||||
public function getBuildBuildErrors()
|
||||
{
|
||||
return Factory::getStore('BuildError', 'PHPCI')->getByBuildId($this->getId());
|
||||
return Factory::getStore('BuildError', 'PHPCensor')->getByBuildId($this->getId());
|
||||
}
|
||||
|
||||
/**
|
||||
* Get BuildMeta models by BuildId for this Build.
|
||||
*
|
||||
* @uses \PHPCI\Store\BuildMetaStore::getByBuildId()
|
||||
* @uses \PHPCI\Model\BuildMeta
|
||||
* @return \PHPCI\Model\BuildMeta[]
|
||||
* @uses \PHPCensor\Store\BuildMetaStore::getByBuildId()
|
||||
* @uses \PHPCensor\Model\BuildMeta
|
||||
* @return \PHPCensor\Model\BuildMeta[]
|
||||
*/
|
||||
public function getBuildBuildMetas()
|
||||
{
|
||||
return Factory::getStore('BuildMeta', 'PHPCI')->getByBuildId($this->getId());
|
||||
return Factory::getStore('BuildMeta', 'PHPCensor')->getByBuildId($this->getId());
|
||||
}
|
||||
}
|
||||
|
|
@ -4,11 +4,11 @@
|
|||
* BuildError base model for table: build_error
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model\Base;
|
||||
namespace PHPCensor\Model\Base;
|
||||
|
||||
use PHPCI\Model;
|
||||
use PHPCensor\Model;
|
||||
use b8\Store\Factory;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCensor\Model\Build;
|
||||
|
||||
/**
|
||||
* BuildError Base Model
|
||||
|
|
@ -464,7 +464,7 @@ class BuildErrorBase extends Model
|
|||
$rtn = $this->cache->get($cacheKey, null);
|
||||
|
||||
if (empty($rtn)) {
|
||||
$rtn = Factory::getStore('Build', 'PHPCI')->getById($key);
|
||||
$rtn = Factory::getStore('Build', 'PHPCensor')->getById($key);
|
||||
$this->cache->set($cacheKey, $rtn);
|
||||
}
|
||||
|
||||
|
|
@ -4,12 +4,12 @@
|
|||
* BuildMeta base model for table: build_meta
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model\Base;
|
||||
namespace PHPCensor\Model\Base;
|
||||
|
||||
use PHPCI\Model;
|
||||
use PHPCensor\Model;
|
||||
use b8\Store\Factory;
|
||||
use PHPCI\Model\Project;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCensor\Model\Project;
|
||||
use PHPCensor\Model\Build;
|
||||
|
||||
/**
|
||||
* BuildMeta Base Model
|
||||
|
|
@ -312,7 +312,7 @@ class BuildMetaBase extends Model
|
|||
$rtn = $this->cache->get($cacheKey, null);
|
||||
|
||||
if (empty($rtn)) {
|
||||
$rtn = Factory::getStore('Project', 'PHPCI')->getById($key);
|
||||
$rtn = Factory::getStore('Project', 'PHPCensor')->getById($key);
|
||||
$this->cache->set($cacheKey, $rtn);
|
||||
}
|
||||
|
||||
|
|
@ -369,7 +369,7 @@ class BuildMetaBase extends Model
|
|||
$rtn = $this->cache->get($cacheKey, null);
|
||||
|
||||
if (empty($rtn)) {
|
||||
$rtn = Factory::getStore('Build', 'PHPCI')->getById($key);
|
||||
$rtn = Factory::getStore('Build', 'PHPCensor')->getById($key);
|
||||
$this->cache->set($cacheKey, $rtn);
|
||||
}
|
||||
|
||||
|
|
@ -4,11 +4,11 @@
|
|||
* Project base model for table: project
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model\Base;
|
||||
namespace PHPCensor\Model\Base;
|
||||
|
||||
use PHPCI\Model;
|
||||
use PHPCensor\Model;
|
||||
use b8\Store\Factory;
|
||||
use PHPCI\Model\ProjectGroup;
|
||||
use PHPCensor\Model\ProjectGroup;
|
||||
|
||||
/**
|
||||
* Project Base Model
|
||||
|
|
@ -614,7 +614,7 @@ class ProjectBase extends Model
|
|||
$rtn = $this->cache->get($cacheKey, null);
|
||||
|
||||
if (empty($rtn)) {
|
||||
$rtn = Factory::getStore('ProjectGroup', 'PHPCI')->getById($key);
|
||||
$rtn = Factory::getStore('ProjectGroup', 'PHPCensor')->getById($key);
|
||||
$this->cache->set($cacheKey, $rtn);
|
||||
}
|
||||
|
||||
|
|
@ -655,24 +655,24 @@ class ProjectBase extends Model
|
|||
/**
|
||||
* Get Build models by ProjectId for this Project.
|
||||
*
|
||||
* @uses \PHPCI\Store\BuildStore::getByProjectId()
|
||||
* @uses \PHPCI\Model\Build
|
||||
* @return \PHPCI\Model\Build[]
|
||||
* @uses \PHPCensor\Store\BuildStore::getByProjectId()
|
||||
* @uses \PHPCensor\Model\Build
|
||||
* @return \PHPCensor\Model\Build[]
|
||||
*/
|
||||
public function getProjectBuilds()
|
||||
{
|
||||
return Factory::getStore('Build', 'PHPCI')->getByProjectId($this->getId());
|
||||
return Factory::getStore('Build', 'PHPCensor')->getByProjectId($this->getId());
|
||||
}
|
||||
|
||||
/**
|
||||
* Get BuildMeta models by ProjectId for this Project.
|
||||
*
|
||||
* @uses \PHPCI\Store\BuildMetaStore::getByProjectId()
|
||||
* @uses \PHPCI\Model\BuildMeta
|
||||
* @return \PHPCI\Model\BuildMeta[]
|
||||
* @uses \PHPCensor\Store\BuildMetaStore::getByProjectId()
|
||||
* @uses \PHPCensor\Model\BuildMeta
|
||||
* @return \PHPCensor\Model\BuildMeta[]
|
||||
*/
|
||||
public function getProjectBuildMetas()
|
||||
{
|
||||
return Factory::getStore('BuildMeta', 'PHPCI')->getByProjectId($this->getId());
|
||||
return Factory::getStore('BuildMeta', 'PHPCensor')->getByProjectId($this->getId());
|
||||
}
|
||||
}
|
||||
|
|
@ -4,9 +4,9 @@
|
|||
* ProjectGroup base model for table: project_group
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model\Base;
|
||||
namespace PHPCensor\Model\Base;
|
||||
|
||||
use PHPCI\Model;
|
||||
use PHPCensor\Model;
|
||||
use b8\Store\Factory;
|
||||
|
||||
/**
|
||||
|
|
@ -154,12 +154,12 @@ class ProjectGroupBase extends Model
|
|||
/**
|
||||
* Get Project models by GroupId for this ProjectGroup.
|
||||
*
|
||||
* @uses \PHPCI\Store\ProjectStore::getByGroupId()
|
||||
* @uses \PHPCI\Model\Project
|
||||
* @return \PHPCI\Model\Project[]
|
||||
* @uses \PHPCensor\Store\ProjectStore::getByGroupId()
|
||||
* @uses \PHPCensor\Model\Project
|
||||
* @return \PHPCensor\Model\Project[]
|
||||
*/
|
||||
public function getGroupProjects()
|
||||
{
|
||||
return Factory::getStore('Project', 'PHPCI')->getByGroupId($this->getId());
|
||||
return Factory::getStore('Project', 'PHPCensor')->getByGroupId($this->getId());
|
||||
}
|
||||
}
|
||||
|
|
@ -4,9 +4,9 @@
|
|||
* User base model for table: user
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model\Base;
|
||||
namespace PHPCensor\Model\Base;
|
||||
|
||||
use PHPCI\Model;
|
||||
use PHPCensor\Model;
|
||||
|
||||
/**
|
||||
* User Base Model
|
||||
|
|
@ -7,11 +7,11 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model;
|
||||
namespace PHPCensor\Model;
|
||||
|
||||
use b8\Store\Factory;
|
||||
use PHPCI\Model\Base\BuildBase;
|
||||
use PHPCI\Builder;
|
||||
use PHPCensor\Model\Base\BuildBase;
|
||||
use PHPCensor\Builder;
|
||||
use Symfony\Component\Yaml\Parser as YamlParser;
|
||||
|
||||
/**
|
||||
|
|
@ -159,11 +159,11 @@ class Build extends BuildBase
|
|||
continue;
|
||||
}
|
||||
|
||||
$className = '\PHPCI\Plugin\\'.$item->getBasename('.php');
|
||||
$className = '\PHPCensor\Plugin\\'.$item->getBasename('.php');
|
||||
|
||||
$reflectedPlugin = new \ReflectionClass($className);
|
||||
|
||||
if (!$reflectedPlugin->implementsInterface('\PHPCI\ZeroConfigPlugin')) {
|
||||
if (!$reflectedPlugin->implementsInterface('\PHPCensor\ZeroConfigPlugin')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
@ -7,9 +7,9 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model\Build;
|
||||
namespace PHPCensor\Model\Build;
|
||||
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCensor\Model\Build;
|
||||
|
||||
/**
|
||||
* BitBucket Build Model
|
||||
|
|
@ -7,14 +7,14 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model\Build;
|
||||
namespace PHPCensor\Model\Build;
|
||||
|
||||
use PHPCI\Builder;
|
||||
use PHPCI\Helper\Diff;
|
||||
use PHPCI\Helper\Github;
|
||||
use PHPCensor\Builder;
|
||||
use PHPCensor\Helper\Diff;
|
||||
use PHPCensor\Helper\Github;
|
||||
use b8\Config;
|
||||
use b8\HttpClient;
|
||||
use PHPCI\Model\BuildError;
|
||||
use PHPCensor\Model\BuildError;
|
||||
|
||||
/**
|
||||
* Github Build Model
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model\Build;
|
||||
namespace PHPCensor\Model\Build;
|
||||
|
||||
/**
|
||||
* Gitlab Build Model
|
||||
|
|
@ -7,10 +7,10 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model\Build;
|
||||
namespace PHPCensor\Model\Build;
|
||||
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCI\Builder;
|
||||
use PHPCensor\Model\Build;
|
||||
use PHPCensor\Builder;
|
||||
|
||||
/**
|
||||
* Local Build Model
|
||||
|
|
@ -7,10 +7,10 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model\Build;
|
||||
namespace PHPCensor\Model\Build;
|
||||
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCI\Builder;
|
||||
use PHPCensor\Model\Build;
|
||||
use PHPCensor\Builder;
|
||||
|
||||
/**
|
||||
* Mercurial Build Model
|
||||
|
|
@ -7,10 +7,10 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model\Build;
|
||||
namespace PHPCensor\Model\Build;
|
||||
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCI\Builder;
|
||||
use PHPCensor\Model\Build;
|
||||
use PHPCensor\Builder;
|
||||
|
||||
/**
|
||||
* Remote Git Build Model
|
||||
|
|
@ -7,10 +7,10 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model\Build;
|
||||
namespace PHPCensor\Model\Build;
|
||||
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCI\Builder;
|
||||
use PHPCensor\Model\Build;
|
||||
use PHPCensor\Builder;
|
||||
|
||||
/**
|
||||
* Remote Subversion Build Model
|
||||
|
|
@ -4,9 +4,9 @@
|
|||
* BuildError model for table: build_error
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model;
|
||||
namespace PHPCensor\Model;
|
||||
|
||||
use PHPCI\Model\Base\BuildErrorBase;
|
||||
use PHPCensor\Model\Base\BuildErrorBase;
|
||||
|
||||
/**
|
||||
* BuildError Model
|
||||
|
|
@ -7,12 +7,13 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model;
|
||||
namespace PHPCensor\Model;
|
||||
|
||||
use PHPCI\Model\Base\BuildMetaBase;
|
||||
use PHPCensor\Model\Base\BuildMetaBase;
|
||||
|
||||
/**
|
||||
* BuildMeta Model
|
||||
*
|
||||
* @uses PHPCI\Model\Base\BuildMetaBase
|
||||
*/
|
||||
class BuildMeta extends BuildMetaBase
|
||||
|
|
@ -7,10 +7,10 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model;
|
||||
namespace PHPCensor\Model;
|
||||
|
||||
use PHPCI\Model\Base\ProjectBase;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCensor\Model\Base\ProjectBase;
|
||||
use PHPCensor\Model\Build;
|
||||
use b8\Store;
|
||||
|
||||
/**
|
||||
|
|
@ -4,9 +4,9 @@
|
|||
* ProjectGroup model for table: project_group
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model;
|
||||
namespace PHPCensor\Model;
|
||||
|
||||
use PHPCI\Model\Base\ProjectGroupBase;
|
||||
use PHPCensor\Model\Base\ProjectGroupBase;
|
||||
|
||||
/**
|
||||
* ProjectGroup Model
|
||||
|
|
@ -7,9 +7,9 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Model;
|
||||
namespace PHPCensor\Model;
|
||||
|
||||
use PHPCI\Model\Base\UserBase;
|
||||
use PHPCensor\Model\Base\UserBase;
|
||||
|
||||
/**
|
||||
* User Model
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI;
|
||||
namespace PHPCensor;
|
||||
|
||||
/**
|
||||
* PHPCI Plugin Interface - Used by all build plugins.
|
||||
|
|
@ -7,12 +7,12 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Plugin;
|
||||
namespace PHPCensor\Plugin;
|
||||
|
||||
use PHPCI\Builder;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCI\Plugin;
|
||||
use PHPCensor\Builder;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Model\Build;
|
||||
use PHPCensor\Plugin;
|
||||
|
||||
/**
|
||||
* Atoum plugin, runs Atoum tests within a project.
|
||||
|
|
@ -7,13 +7,13 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Plugin;
|
||||
namespace PHPCensor\Plugin;
|
||||
|
||||
use PHPCI\Builder;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCI\Model\BuildError;
|
||||
use PHPCI\Plugin;
|
||||
use PHPCensor\Builder;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Model\Build;
|
||||
use PHPCensor\Model\BuildError;
|
||||
use PHPCensor\Plugin;
|
||||
|
||||
/**
|
||||
* Behat BDD Plugin
|
||||
|
|
@ -7,12 +7,12 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Plugin;
|
||||
namespace PHPCensor\Plugin;
|
||||
|
||||
use PHPCI\Builder;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCI\Plugin;
|
||||
use PHPCensor\Builder;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Model\Build;
|
||||
use PHPCensor\Plugin;
|
||||
|
||||
/**
|
||||
* Campfire Plugin - Allows Campfire API actions.
|
||||
|
|
@ -7,11 +7,11 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Plugin;
|
||||
namespace PHPCensor\Plugin;
|
||||
|
||||
use PHPCI\Builder;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCI\Plugin;
|
||||
use PHPCensor\Builder;
|
||||
use PHPCensor\Model\Build;
|
||||
use PHPCensor\Plugin;
|
||||
|
||||
/**
|
||||
* Clean build removes Composer related files and allows PHPCI users to clean up their build directory.
|
||||
|
|
@ -7,15 +7,15 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Plugin;
|
||||
namespace PHPCensor\Plugin;
|
||||
|
||||
use PHPCI\Builder;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCI\Plugin\Util\TestResultParsers\Codeception as Parser;
|
||||
use PHPCensor\Builder;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Model\Build;
|
||||
use PHPCensor\Plugin\Util\TestResultParsers\Codeception as Parser;
|
||||
use Psr\Log\LogLevel;
|
||||
use PHPCI\Plugin;
|
||||
use PHPCI\ZeroConfigPlugin;
|
||||
use PHPCensor\Plugin;
|
||||
use PHPCensor\ZeroConfigPlugin;
|
||||
|
||||
/**
|
||||
* Codeception Plugin - Enables full acceptance, unit, and functional testing.
|
||||
|
|
@ -7,11 +7,11 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Plugin;
|
||||
namespace PHPCensor\Plugin;
|
||||
|
||||
use PHPCI;
|
||||
use PHPCI\Builder;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCensor;
|
||||
use PHPCensor\Builder;
|
||||
use PHPCensor\Model\Build;
|
||||
|
||||
/**
|
||||
* Composer Plugin - Provides access to Composer functionality.
|
||||
|
|
@ -19,7 +19,7 @@ use PHPCI\Model\Build;
|
|||
* @package PHPCI
|
||||
* @subpackage Plugins
|
||||
*/
|
||||
class Composer implements PHPCI\Plugin, PHPCI\ZeroConfigPlugin
|
||||
class Composer implements PHPCensor\Plugin, PHPCensor\ZeroConfigPlugin
|
||||
{
|
||||
protected $directory;
|
||||
protected $action;
|
||||
|
|
@ -7,12 +7,12 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Plugin;
|
||||
namespace PHPCensor\Plugin;
|
||||
|
||||
use PHPCI\Builder;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCI\Helper\Lang;
|
||||
use PHPCI\Plugin;
|
||||
use PHPCensor\Builder;
|
||||
use PHPCensor\Model\Build;
|
||||
use PHPCensor\Helper\Lang;
|
||||
use PHPCensor\Plugin;
|
||||
|
||||
/**
|
||||
* Copy Build Plugin - Copies the entire build to another directory.
|
||||
|
|
@ -7,12 +7,12 @@
|
|||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Plugin;
|
||||
namespace PHPCensor\Plugin;
|
||||
|
||||
use b8\HttpClient;
|
||||
use PHPCI\Builder;
|
||||
use PHPCI\Model\Build;
|
||||
use PHPCI\Plugin;
|
||||
use PHPCensor\Builder;
|
||||
use PHPCensor\Model\Build;
|
||||
use PHPCensor\Plugin;
|
||||
|
||||
/**
|
||||
* Integrates PHPCI with Deployer: https://github.com/rebelinblue/deployer
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue