Fixed namespaces in docblocks (PHPCI -> PHPCensor)
This commit is contained in:
parent
41407e1d15
commit
32f5c01728
|
@ -33,7 +33,7 @@ How to write to the Log (For people creating a new plugin)
|
|||
|
||||
For plugin creators the simplest way to get hold of an error logger is to add a parameter to the constructor and typehint on 'Psr\Log\LoggerInterface'. The code that loads your plugin will automatically inject the logger when it sees this. For example:
|
||||
```php
|
||||
class ExampleLoggingPlugin implements \PHPCI\Plugin
|
||||
class ExampleLoggingPlugin implements \PHPCensor\Plugin
|
||||
{
|
||||
protected $log;
|
||||
|
||||
|
|
|
@ -22,5 +22,5 @@ phing:
|
|||
targets:
|
||||
- "build:test"
|
||||
properties:
|
||||
config_file: "PHPCI"
|
||||
config_file: "php-censor"
|
||||
```
|
||||
|
|
|
@ -34,7 +34,7 @@ For use with an existing project:
|
|||
test:
|
||||
php_code_sniffer:
|
||||
standard: "/phpcs.xml" # The leading slash is needed to trigger an external ruleset.
|
||||
# Without it, PHPCI looks for a rule named "phpcs.xml"
|
||||
# Without it, PHP Censor looks for a rule named "phpcs.xml"
|
||||
allowed_errors: -1 # Even a single error will cause the build to fail. -1 = unlimited
|
||||
allowed_warnings: -1
|
||||
```
|
||||
|
|
|
@ -37,6 +37,6 @@ complete:
|
|||
- "recipient2@jabber.org"
|
||||
server: "gtalk.google.com"
|
||||
tls: 1
|
||||
alias: "PHPCi Notification"
|
||||
alias: "PHP Censor Notification"
|
||||
date_format: "%d/%m/%Y"
|
||||
```
|
||||
|
|
|
@ -16,7 +16,7 @@ Installation
|
|||
#!/bin/sh
|
||||
|
||||
PROJECT_ID=1
|
||||
APP_URL="http://my.server.com/PHPCI/"
|
||||
APP_URL="http://my.server.com/php-censor/"
|
||||
|
||||
trigger_hook() {
|
||||
NEWREV="$2"
|
||||
|
|
|
@ -13,10 +13,10 @@ server {
|
|||
... standard virtual host ...
|
||||
|
||||
location / {
|
||||
try_files $uri @phpci;
|
||||
try_files $uri @php-censor;
|
||||
}
|
||||
|
||||
location @phpci {
|
||||
location @php-censor {
|
||||
# Pass to FastCGI:
|
||||
fastcgi_pass unix:/path/to/phpfpm.sock;
|
||||
fastcgi_index index.php;
|
||||
|
@ -47,23 +47,22 @@ For Apache, you can use a standard virtual host, as long as your server supports
|
|||
```
|
||||
<VirtualHost *:80>
|
||||
ServerAdmin user@domain.com
|
||||
DocumentRoot /var/www/phpci/public
|
||||
ServerName phpci.vagrant
|
||||
ServerAlias phpci.vagrant
|
||||
DocumentRoot /var/www/php-censor.local/public
|
||||
ServerName php-censor.local
|
||||
|
||||
<Directory /var/www/phpci/public/>
|
||||
<Directory /var/www/php-censor.local/public/>
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
ErrorLog ${APACHE_LOG_DIR}/phpci-error_log
|
||||
CustomLog ${APACHE_LOG_DIR}/phpci-access_log combined
|
||||
ErrorLog ${APACHE_LOG_DIR}/php-censor-error_log
|
||||
CustomLog ${APACHE_LOG_DIR}/php-censor-access_log combined
|
||||
</VirtualHost>
|
||||
```
|
||||
|
||||
- Add in /etc/hosts
|
||||
```
|
||||
127.0.0.1 phpci.vagrant
|
||||
127.0.0.1 php-censor.local
|
||||
```
|
||||
|
||||
Built-in PHP Server Example
|
||||
|
|
|
@ -11,10 +11,7 @@ Setting up the Cron Job
|
|||
You'll want to set up PHP Censor to run as a regular cronjob, so run `crontab -e` and enter the following:
|
||||
|
||||
```sh
|
||||
* * * * * /usr/bin/php /path/to/phpci/console php-censor:run-builds
|
||||
|
||||
# For backward compatibility with PHPCI
|
||||
* * * * * /usr/bin/php /path/to/phpci/console phpci:run-builds
|
||||
* * * * * /usr/bin/php /path/to/php-censor/console php-censor:run-builds
|
||||
```
|
||||
|
||||
**Note:** Make sure you change the `/path/to/php-censor` to the directory in which you installed PHP Censor, and update the PHP path if necessary.
|
||||
|
|
|
@ -13,11 +13,11 @@ Starting the Daemon
|
|||
On a Linux/Unix server, the following command will start the daemon and keep it running even when you log out of the server:
|
||||
|
||||
```sh
|
||||
nohup php ./daemonise phpci:daemonise >/dev/null 2>&1 &
|
||||
nohup php ./daemonise php-censor:daemonise >/dev/null 2>&1 &
|
||||
```
|
||||
|
||||
If you need to debug what's going on with your builds, you can also run the daemon directly using the following command, which will output the daemon's log directly to your terminal:
|
||||
|
||||
```sh
|
||||
php daemonise phpci:daemonise
|
||||
php daemonise php-censor:daemonise
|
||||
```
|
||||
|
|
|
@ -36,15 +36,15 @@ Once you've set up PHP Censor to add your jobs to a beanstalkd queue, you need t
|
|||
Using your preferred text editor, create a file named `php-censor.conf` under `/etc/supervisor/conf.d`. In it, enter the following config:
|
||||
|
||||
```
|
||||
[program:phpci]
|
||||
command=/path/to/phpci/latest/console phpci:worker
|
||||
[program:php-censor]
|
||||
command=/path/to/php-censor/latest/console php-censor:worker
|
||||
process_name=%(program_name)s_%(process_num)02d
|
||||
stdout_logfile=/var/log/phpci.log
|
||||
stderr_logfile=/var/log/phpci-err.log
|
||||
user=phpci
|
||||
stdout_logfile=/var/log/php-censor.log
|
||||
stderr_logfile=/var/log/php-censor-err.log
|
||||
user=php-censor
|
||||
autostart=true
|
||||
autorestart=true
|
||||
environment=HOME="/home/phpci",USER="phpci"
|
||||
environment=HOME="/home/php-censor",USER="php-censor"
|
||||
numprocs=2
|
||||
```
|
||||
|
||||
|
@ -53,9 +53,9 @@ You'll need to edit the '/path/to/php-censor', the `user` value and the `environ
|
|||
Once you've created this file, simply restart supervisord using the command `service supervisor restart` and 2 instances of PHP Censor's worker should start immediately. You can verify this by running the command `ps aux | grep php-censor`, which should give you output as follows:
|
||||
|
||||
```
|
||||
➜ ~ ps aux | grep phpci
|
||||
phpci 19057 0.0 0.9 200244 18720 ? S 03:00 0:01 php /phpci/console phpci:worker
|
||||
phpci 19058 0.0 0.9 200244 18860 ? S 03:00 0:01 php /phpci/console phpci:worker
|
||||
➜ ~ ps aux | grep php-censor
|
||||
php-censor 19057 0.0 0.9 200244 18720 ? S 03:00 0:01 php /php-censor/console php-censor:worker
|
||||
php-censor 19058 0.0 0.9 200244 18860 ? S 03:00 0:01 php /php-censor/console php-censor:worker
|
||||
```
|
||||
|
||||
That's it! Now, whenever you create a new build in PHP Censor, it should start building immediately.
|
||||
|
|
|
@ -22,7 +22,7 @@ use b8\View;
|
|||
class Application extends b8\Application
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Controller
|
||||
* @var \PHPCensor\Controller
|
||||
*/
|
||||
protected $controller;
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ class Builder implements LoggerAwareInterface
|
|||
protected $verbose = true;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Model\Build
|
||||
* @var \PHPCensor\Model\Build
|
||||
*/
|
||||
protected $build;
|
||||
|
||||
|
@ -73,7 +73,7 @@ class Builder implements LoggerAwareInterface
|
|||
protected $interpolator;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Store\BuildStore
|
||||
* @var \PHPCensor\Store\BuildStore
|
||||
*/
|
||||
protected $store;
|
||||
|
||||
|
@ -83,7 +83,7 @@ class Builder implements LoggerAwareInterface
|
|||
public $quiet = false;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Plugin\Util\Executor
|
||||
* @var \PHPCensor\Plugin\Util\Executor
|
||||
*/
|
||||
protected $pluginExecutor;
|
||||
|
||||
|
@ -99,7 +99,8 @@ class Builder implements LoggerAwareInterface
|
|||
|
||||
/**
|
||||
* Set up the builder.
|
||||
* @param \PHPCI\Model\Build $build
|
||||
*
|
||||
* @param \PHPCensor\Model\Build $build
|
||||
* @param LoggerInterface $logger
|
||||
*/
|
||||
public function __construct(Build $build, LoggerInterface $logger = null)
|
||||
|
|
|
@ -101,7 +101,8 @@ class DaemoniseCommand extends Command
|
|||
|
||||
/**
|
||||
* Called when log entries are made in Builder / the plugins.
|
||||
* @see \PHPCI\Builder::log()
|
||||
*
|
||||
* @see \PHPCensor\Builder::log()
|
||||
*/
|
||||
public function logCallback($log)
|
||||
{
|
||||
|
|
|
@ -71,7 +71,7 @@ class RebuildCommand extends Command
|
|||
$runner->setMaxBuilds(1);
|
||||
$runner->setDaemon(false);
|
||||
|
||||
/** @var \PHPCI\Store\BuildStore $store */
|
||||
/** @var \PHPCensor\Store\BuildStore $store */
|
||||
$store = Factory::getStore('Build');
|
||||
$service = new BuildService($store);
|
||||
|
||||
|
@ -84,7 +84,8 @@ class RebuildCommand extends Command
|
|||
|
||||
/**
|
||||
* Called when log entries are made in Builder / the plugins.
|
||||
* @see \PHPCI\Builder::log()
|
||||
*
|
||||
* @see \PHPCensor\Builder::log()
|
||||
*/
|
||||
public function logCallback($log)
|
||||
{
|
||||
|
|
|
@ -154,7 +154,7 @@ class RunCommand extends Command
|
|||
|
||||
protected function validateRunningBuilds()
|
||||
{
|
||||
/** @var \PHPCI\Store\BuildStore $store */
|
||||
/** @var \PHPCensor\Store\BuildStore $store */
|
||||
$store = Factory::getStore('Build');
|
||||
$running = $store->getByStatus(1);
|
||||
$rtn = [];
|
||||
|
@ -162,7 +162,7 @@ class RunCommand extends Command
|
|||
$timeout = Config::getInstance()->get('php-censor.build.failed_after', 1800);
|
||||
|
||||
foreach ($running['items'] as $build) {
|
||||
/** @var \PHPCI\Model\Build $build */
|
||||
/** @var \PHPCensor\Model\Build $build */
|
||||
$build = BuildFactory::getBuild($build);
|
||||
|
||||
$now = time();
|
||||
|
|
|
@ -29,12 +29,12 @@ use PHPCensor\Controller;
|
|||
class BuildController extends Controller
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Store\BuildStore
|
||||
* @var \PHPCensor\Store\BuildStore
|
||||
*/
|
||||
protected $buildStore;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Service\BuildService
|
||||
* @var \PHPCensor\Service\BuildService
|
||||
*/
|
||||
protected $buildService;
|
||||
|
||||
|
@ -173,7 +173,7 @@ class BuildController extends Controller
|
|||
$data['finished'] = !is_null($build->getFinished()) ? $build->getFinished()->format('Y-m-d H:i:s') : null;
|
||||
$data['duration'] = $build->getDuration();
|
||||
|
||||
/** @var \PHPCI\Store\BuildErrorStore $errorStore */
|
||||
/** @var \PHPCensor\Store\BuildErrorStore $errorStore */
|
||||
$errorStore = b8\Store\Factory::getStore('BuildError');
|
||||
$errors = $errorStore->getErrorsForBuild($build->getId());
|
||||
|
||||
|
|
|
@ -26,9 +26,9 @@ use PHPCensor\Controller;
|
|||
*/
|
||||
class BuildStatusController extends Controller
|
||||
{
|
||||
/* @var \PHPCI\Store\ProjectStore */
|
||||
/* @var \PHPCensor\Store\ProjectStore */
|
||||
protected $projectStore;
|
||||
/* @var \PHPCI\Store\BuildStore */
|
||||
/* @var \PHPCensor\Store\BuildStore */
|
||||
protected $buildStore;
|
||||
|
||||
/**
|
||||
|
|
|
@ -25,7 +25,7 @@ use PHPCensor\Helper\Lang;
|
|||
class GroupController extends Controller
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Store\ProjectGroupStore
|
||||
* @var \PHPCensor\Store\ProjectGroupStore
|
||||
*/
|
||||
protected $groupStore;
|
||||
|
||||
|
|
|
@ -24,17 +24,17 @@ use PHPCensor\Controller;
|
|||
class HomeController extends Controller
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Store\BuildStore
|
||||
* @var \PHPCensor\Store\BuildStore
|
||||
*/
|
||||
protected $buildStore;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Store\ProjectStore
|
||||
* @var \PHPCensor\Store\ProjectStore
|
||||
*/
|
||||
protected $projectStore;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Store\ProjectGroupStore
|
||||
* @var \PHPCensor\Store\ProjectGroupStore
|
||||
*/
|
||||
protected $groupStore;
|
||||
|
||||
|
|
|
@ -30,22 +30,22 @@ use PHPCensor\Service\ProjectService;
|
|||
class ProjectController extends PHPCensor\Controller
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Store\ProjectStore
|
||||
* @var \PHPCensor\Store\ProjectStore
|
||||
*/
|
||||
protected $projectStore;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Service\ProjectService
|
||||
* @var \PHPCensor\Service\ProjectService
|
||||
*/
|
||||
protected $projectService;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Store\BuildStore
|
||||
* @var \PHPCensor\Store\BuildStore
|
||||
*/
|
||||
protected $buildStore;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Service\BuildService
|
||||
* @var \PHPCensor\Service\BuildService
|
||||
*/
|
||||
protected $buildService;
|
||||
|
||||
|
@ -102,7 +102,7 @@ class ProjectController extends PHPCensor\Controller
|
|||
*/
|
||||
public function build($projectId, $branch = '')
|
||||
{
|
||||
/* @var \PHPCI\Model\Project $project */
|
||||
/* @var \PHPCensor\Model\Project $project */
|
||||
$project = $this->projectStore->getById($projectId);
|
||||
|
||||
if (empty($branch)) {
|
||||
|
|
|
@ -23,7 +23,7 @@ use PHPCensor\Controller;
|
|||
class SessionController extends Controller
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Store\UserStore
|
||||
* @var \PHPCensor\Store\UserStore
|
||||
*/
|
||||
protected $userStore;
|
||||
|
||||
|
|
|
@ -25,12 +25,12 @@ use PHPCensor\Service\UserService;
|
|||
class UserController extends Controller
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Store\UserStore
|
||||
* @var \PHPCensor\Store\UserStore
|
||||
*/
|
||||
protected $userStore;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Service\UserService
|
||||
* @var \PHPCensor\Service\UserService
|
||||
*/
|
||||
protected $userService;
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace PHPCensor;
|
|||
/**
|
||||
* Error Handler
|
||||
*
|
||||
* @package PHPCI\Logging
|
||||
* @package PHPCensor\Logging
|
||||
*/
|
||||
class ErrorHandler
|
||||
{
|
||||
|
|
|
@ -14,7 +14,7 @@ use SensioLabs\AnsiConverter\AnsiToHtmlConverter;
|
|||
/**
|
||||
* Converts ANSI output to HTML.
|
||||
*
|
||||
* @package PHPCI\Helper
|
||||
* @package PHPCensor\Helper
|
||||
*/
|
||||
final class AnsiConverter
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@ use Psr\Log\LogLevel;
|
|||
|
||||
/**
|
||||
* Handles running system commands with variables.
|
||||
* @package PHPCI\Helper
|
||||
* @package PHPCensor\Helper
|
||||
*/
|
||||
abstract class BaseCommandExecutor implements CommandExecutor
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@ use PHPCensor\Model\Build;
|
|||
|
||||
/**
|
||||
* The BuildInterpolator class replaces variables in a string with build-specific information.
|
||||
* @package PHPCI\Helper
|
||||
* @package PHPCensor\Helper
|
||||
*/
|
||||
class BuildInterpolator
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace PHPCensor\Helper;
|
|||
|
||||
/**
|
||||
* Provides some basic diff processing functionality.
|
||||
* @package PHPCI\Helper
|
||||
* @package PHPCensor\Helper
|
||||
*/
|
||||
class Diff
|
||||
{
|
||||
|
|
|
@ -14,7 +14,7 @@ use PHPCensor\Builder;
|
|||
|
||||
/**
|
||||
* Helper class for sending emails using PHPCI's email configuration.
|
||||
* @package PHPCI\Helper
|
||||
* @package PHPCensor\Helper
|
||||
*/
|
||||
class Email
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@ use b8\HttpClient;
|
|||
|
||||
/**
|
||||
* The Github Helper class provides some Github API call functionality.
|
||||
* @package PHPCI\Helper
|
||||
* @package PHPCensor\Helper
|
||||
*/
|
||||
class Github
|
||||
{
|
||||
|
|
|
@ -14,7 +14,7 @@ use b8\Config;
|
|||
/**
|
||||
* Languages Helper Class - Handles loading strings files and the strings within them.
|
||||
*
|
||||
* @package PHPCI\Helper
|
||||
* @package PHPCensor\Helper
|
||||
*/
|
||||
class Lang
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace PHPCensor\Helper;
|
|||
|
||||
/**
|
||||
* Class MailerFactory helps to set up and configure a SwiftMailer object.
|
||||
* @package PHPCI\Helper
|
||||
* @package PHPCensor\Helper
|
||||
*/
|
||||
class MailerFactory
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace PHPCensor\Helper;
|
|||
|
||||
/**
|
||||
* Helper class for dealing with SSH keys.
|
||||
* @package PHPCI\Helper
|
||||
* @package PHPCensor\Helper
|
||||
*/
|
||||
class SshKey
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace PHPCensor\Helper;
|
|||
|
||||
/**
|
||||
* Unix/Linux specific extension of the CommandExecutor class.
|
||||
* @package PHPCI\Helper
|
||||
* @package PHPCensor\Helper
|
||||
*/
|
||||
class UnixCommandExecutor extends BaseCommandExecutor
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace PHPCensor\Helper;
|
|||
|
||||
/**
|
||||
* Windows-specific extension of the CommandExecutor class.
|
||||
* @package PHPCI\Helper
|
||||
* @package PHPCensor\Helper
|
||||
*/
|
||||
class WindowsCommandExecutor extends BaseCommandExecutor
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@ use Psr\Log\LogLevel;
|
|||
|
||||
/**
|
||||
* Class BuildDBLogHandler writes the build log to the database.
|
||||
* @package PHPCI\Logging
|
||||
* @package PHPCensor\Logging
|
||||
*/
|
||||
class BuildDBLogHandler extends AbstractProcessingHandler
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@ use Psr\Log\LogLevel;
|
|||
|
||||
/**
|
||||
* Class BuildLogger
|
||||
* @package PHPCI\Logging
|
||||
* @package PHPCensor\Logging
|
||||
*/
|
||||
class BuildLogger implements LoggerAwareInterface
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@ use Psr\Log\LoggerInterface;
|
|||
|
||||
/**
|
||||
* Base Log Handler
|
||||
* @package PHPCI\Logging
|
||||
* @package PHPCensor\Logging
|
||||
*/
|
||||
class Handler
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@ use PHPCensor\Model\Build;
|
|||
|
||||
/**
|
||||
* Class LoggedBuildContextTidier cleans up build log entries.
|
||||
* @package PHPCI\Logging
|
||||
* @package PHPCensor\Logging
|
||||
*/
|
||||
class LoggedBuildContextTidier
|
||||
{
|
||||
|
|
|
@ -14,7 +14,7 @@ use Monolog\Logger;
|
|||
|
||||
/**
|
||||
* Class LoggerConfig
|
||||
* @package PHPCI\Logging
|
||||
* @package PHPCensor\Logging
|
||||
*/
|
||||
class LoggerConfig
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@ use Symfony\Component\Console\Output\OutputInterface;
|
|||
|
||||
/**
|
||||
* Class OutputLogHandler outputs the build log to the terminal.
|
||||
* @package PHPCI\Logging
|
||||
* @package PHPCensor\Logging
|
||||
*/
|
||||
class OutputLogHandler extends AbstractProcessingHandler
|
||||
{
|
||||
|
|
|
@ -7,12 +7,12 @@ use PHPCensor\Model\BuildError;
|
|||
class ConvertErrors extends AbstractMigration
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Store\BuildMetaStore
|
||||
* @var \PHPCensor\Store\BuildMetaStore
|
||||
*/
|
||||
protected $metaStore;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Store\BuildErrorStore
|
||||
* @var \PHPCensor\Store\BuildErrorStore
|
||||
*/
|
||||
protected $errorStore;
|
||||
|
||||
|
@ -27,7 +27,7 @@ class ConvertErrors extends AbstractMigration
|
|||
$data = $this->metaStore->getErrorsForUpgrade(100);
|
||||
$count = count($data);
|
||||
|
||||
/** @var \PHPCI\Model\BuildMeta $meta */
|
||||
/** @var \PHPCensor\Model\BuildMeta $meta */
|
||||
foreach ($data as $meta) {
|
||||
switch ($meta->getMetaKey()) {
|
||||
case 'phpmd-data':
|
||||
|
|
|
@ -568,9 +568,9 @@ class BuildBase extends Model
|
|||
/**
|
||||
* Get the Project model for this Build by Id.
|
||||
*
|
||||
* @uses \PHPCI\Store\ProjectStore::getById()
|
||||
* @uses \PHPCI\Model\Project
|
||||
* @return \PHPCI\Model\Project
|
||||
* @uses \PHPCensor\Store\ProjectStore::getById()
|
||||
* @uses \PHPCensor\Model\Project
|
||||
* @return \PHPCensor\Model\Project
|
||||
*/
|
||||
public function getProject()
|
||||
{
|
||||
|
|
|
@ -448,9 +448,9 @@ class BuildErrorBase extends Model
|
|||
/**
|
||||
* Get the Build model for this BuildError by Id.
|
||||
*
|
||||
* @uses \PHPCI\Store\BuildStore::getById()
|
||||
* @uses \PHPCI\Model\Build
|
||||
* @return \PHPCI\Model\Build
|
||||
* @uses \PHPCensor\Store\BuildStore::getById()
|
||||
* @uses \PHPCensor\Model\Build
|
||||
* @return \PHPCensor\Model\Build
|
||||
*/
|
||||
public function getBuild()
|
||||
{
|
||||
|
|
|
@ -296,9 +296,9 @@ class BuildMetaBase extends Model
|
|||
/**
|
||||
* Get the Project model for this BuildMeta by Id.
|
||||
*
|
||||
* @uses \PHPCI\Store\ProjectStore::getById()
|
||||
* @uses \PHPCI\Model\Project
|
||||
* @return \PHPCI\Model\Project
|
||||
* @uses \PHPCensor\Store\ProjectStore::getById()
|
||||
* @uses \PHPCensor\Model\Project
|
||||
* @return \PHPCensor\Model\Project
|
||||
*/
|
||||
public function getProject()
|
||||
{
|
||||
|
@ -353,9 +353,9 @@ class BuildMetaBase extends Model
|
|||
/**
|
||||
* Get the Build model for this BuildMeta by Id.
|
||||
*
|
||||
* @uses \PHPCI\Store\BuildStore::getById()
|
||||
* @uses \PHPCI\Model\Build
|
||||
* @return \PHPCI\Model\Build
|
||||
* @uses \PHPCensor\Store\BuildStore::getById()
|
||||
* @uses \PHPCensor\Model\Build
|
||||
* @return \PHPCensor\Model\Build
|
||||
*/
|
||||
public function getBuild()
|
||||
{
|
||||
|
|
|
@ -598,9 +598,9 @@ class ProjectBase extends Model
|
|||
/**
|
||||
* Get the ProjectGroup model for this Project by Id.
|
||||
*
|
||||
* @uses \PHPCI\Store\ProjectGroupStore::getById()
|
||||
* @uses \PHPCI\Model\ProjectGroup
|
||||
* @return \PHPCI\Model\ProjectGroup
|
||||
* @uses \PHPCensor\Store\ProjectGroupStore::getById()
|
||||
* @uses \PHPCensor\Model\ProjectGroup
|
||||
* @return \PHPCensor\Model\ProjectGroup
|
||||
*/
|
||||
public function getGroup()
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@ use Symfony\Component\Yaml\Parser as YamlParser;
|
|||
|
||||
/**
|
||||
* Build Model
|
||||
* @uses PHPCI\Model\Base\BuildBase
|
||||
* @uses PHPCensor\Model\Base\BuildBase
|
||||
* @author Dan Cryer <dan@block8.co.uk>
|
||||
* @package PHPCI
|
||||
* @subpackage Core
|
||||
|
|
|
@ -10,7 +10,7 @@ use PHPCensor\Model\Base\BuildErrorBase;
|
|||
|
||||
/**
|
||||
* BuildError Model
|
||||
* @uses PHPCI\Model\Base\BuildErrorBase
|
||||
* @uses PHPCensor\Model\Base\BuildErrorBase
|
||||
*/
|
||||
class BuildError extends BuildErrorBase
|
||||
{
|
||||
|
|
|
@ -14,7 +14,7 @@ use PHPCensor\Model\Base\BuildMetaBase;
|
|||
/**
|
||||
* BuildMeta Model
|
||||
*
|
||||
* @uses PHPCI\Model\Base\BuildMetaBase
|
||||
* @uses PHPCensor\Model\Base\BuildMetaBase
|
||||
*/
|
||||
class BuildMeta extends BuildMetaBase
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@ use b8\Store;
|
|||
|
||||
/**
|
||||
* Project Model
|
||||
* @uses PHPCI\Model\Base\ProjectBase
|
||||
* @uses PHPCensor\Model\Base\ProjectBase
|
||||
* @author Dan Cryer <dan@block8.co.uk>
|
||||
* @package PHPCI
|
||||
* @subpackage Core
|
||||
|
|
|
@ -10,7 +10,7 @@ use PHPCensor\Model\Base\ProjectGroupBase;
|
|||
|
||||
/**
|
||||
* ProjectGroup Model
|
||||
* @uses PHPCI\Model\Base\ProjectGroupBase
|
||||
* @uses PHPCensor\Model\Base\ProjectGroupBase
|
||||
*/
|
||||
class ProjectGroup extends ProjectGroupBase
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@ use PHPCensor\Model\Base\UserBase;
|
|||
|
||||
/**
|
||||
* User Model
|
||||
* @uses PHPCI\Model\Base\UserBase
|
||||
* @uses PHPCensor\Model\Base\UserBase
|
||||
* @author Dan Cryer <dan@block8.co.uk>
|
||||
* @package PHPCI
|
||||
* @subpackage Core
|
||||
|
|
|
@ -16,7 +16,7 @@ use PHPCensor\Plugin;
|
|||
|
||||
/**
|
||||
* Atoum plugin, runs Atoum tests within a project.
|
||||
* @package PHPCI\Plugin
|
||||
* @package PHPCensor\Plugin
|
||||
*/
|
||||
class Atoum implements Plugin
|
||||
{
|
||||
|
|
|
@ -27,12 +27,12 @@ use PHPCensor\Plugin;
|
|||
class Email implements Plugin
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
* @var \PHPCensor\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Model\Build
|
||||
* @var \PHPCensor\Model\Build
|
||||
*/
|
||||
protected $build;
|
||||
|
||||
|
|
|
@ -26,12 +26,12 @@ use b8\Database;
|
|||
class Mysql implements Plugin
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
* @var \PHPCensor\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Model\Build
|
||||
* @var \PHPCensor\Model\Build
|
||||
*/
|
||||
protected $build;
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ class Pdepend implements Plugin
|
|||
{
|
||||
protected $args;
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
* @var \PHPCensor\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
/**
|
||||
|
|
|
@ -23,12 +23,12 @@ use PHPCensor\Plugin;
|
|||
class Pgsql implements Plugin
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
* @var \PHPCensor\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Model\Build
|
||||
* @var \PHPCensor\Model\Build
|
||||
*/
|
||||
protected $build;
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ class Phing implements Plugin
|
|||
}
|
||||
|
||||
/**
|
||||
* @return \PHPCI\Builder
|
||||
* @return \PHPCensor\Builder
|
||||
*/
|
||||
public function getPhpci()
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ class Phing implements Plugin
|
|||
}
|
||||
|
||||
/**
|
||||
* @param \PHPCI\Builder $phpci
|
||||
* @param \PHPCensor\Builder $phpci
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
|
|
|
@ -23,7 +23,7 @@ use PHPCensor\Model\BuildError;
|
|||
class PhpCodeSniffer implements PHPCensor\Plugin, PHPCensor\ZeroConfigPlugin
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
* @var \PHPCensor\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
|
||||
|
@ -90,8 +90,8 @@ class PhpCodeSniffer implements PHPCensor\Plugin, PHPCensor\ZeroConfigPlugin
|
|||
}
|
||||
|
||||
/**
|
||||
* @param \PHPCI\Builder $phpci
|
||||
* @param \PHPCI\Model\Build $build
|
||||
* @param \PHPCensor\Builder $phpci
|
||||
* @param \PHPCensor\Model\Build $build
|
||||
* @param array $options
|
||||
*/
|
||||
public function __construct(Builder $phpci, Build $build, array $options = [])
|
||||
|
|
|
@ -22,12 +22,12 @@ use PHPCensor\Plugin;
|
|||
class PhpCsFixer implements Plugin
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
* @var \PHPCensor\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Model\Build
|
||||
* @var \PHPCensor\Model\Build
|
||||
*/
|
||||
protected $build;
|
||||
|
||||
|
|
|
@ -22,12 +22,12 @@ use PHPCensor\Model\Build;
|
|||
class PhpDocblockChecker implements PHPCensor\Plugin, PHPCensor\ZeroConfigPlugin
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
* @var \PHPCensor\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Model\Build
|
||||
* @var \PHPCensor\Model\Build
|
||||
*/
|
||||
protected $build;
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ class PhpLoc implements PHPCensor\Plugin, PHPCensor\ZeroConfigPlugin
|
|||
*/
|
||||
protected $directory;
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
* @var \PHPCensor\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
|
||||
|
|
|
@ -22,12 +22,12 @@ use PHPCensor\Model\Build;
|
|||
class PhpMessDetector implements PHPCensor\Plugin, PHPCensor\ZeroConfigPlugin
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
* @var \PHPCensor\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Model\Build
|
||||
* @var \PHPCensor\Model\Build
|
||||
*/
|
||||
protected $build;
|
||||
|
||||
|
|
|
@ -22,12 +22,12 @@ use PHPCensor\Plugin;
|
|||
class PhpParallelLint implements Plugin
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
* @var \PHPCensor\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Model\Build
|
||||
* @var \PHPCensor\Model\Build
|
||||
*/
|
||||
protected $build;
|
||||
|
||||
|
|
|
@ -22,12 +22,12 @@ use PHPCensor\Model\Build;
|
|||
class PhpSpec implements PHPCensor\Plugin
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
* @var \PHPCensor\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Model\Build
|
||||
* @var \PHPCensor\Model\Build
|
||||
*/
|
||||
protected $build;
|
||||
|
||||
|
|
|
@ -27,12 +27,12 @@ class PhpTalLint implements PHPCensor\Plugin
|
|||
protected $ignore;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
* @var \PHPCensor\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Model\Build
|
||||
* @var \PHPCensor\Model\Build
|
||||
*/
|
||||
protected $build;
|
||||
|
||||
|
|
|
@ -22,12 +22,12 @@ use PHPCensor\Plugin;
|
|||
class Shell implements Plugin
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
* @var \PHPCensor\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Model\Build
|
||||
* @var \PHPCensor\Model\Build
|
||||
*/
|
||||
protected $build;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ class Sqlite implements Plugin
|
|||
protected $phpci;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Model\Build
|
||||
* @var \PHPCensor\Model\Build
|
||||
*/
|
||||
protected $build;
|
||||
|
||||
|
|
|
@ -77,8 +77,8 @@ class TechnicalDebt implements PHPCensor\Plugin, PHPCensor\ZeroConfigPlugin
|
|||
}
|
||||
|
||||
/**
|
||||
* @param \PHPCI\Builder $phpci
|
||||
* @param \PHPCI\Model\Build $build
|
||||
* @param \PHPCensor\Builder $phpci
|
||||
* @param \PHPCensor\Model\Build $build
|
||||
* @param array $options
|
||||
*/
|
||||
public function __construct(Builder $phpci, Build $build, array $options = [])
|
||||
|
|
|
@ -6,7 +6,7 @@ use PHPCensor\Plugin;
|
|||
|
||||
/**
|
||||
* Class ComposerPluginInformation
|
||||
* @package PHPCI\Plugin\Util
|
||||
* @package PHPCensor\Plugin\Util
|
||||
*/
|
||||
class ComposerPluginInformation implements InstalledPluginInformation
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@ use PHPCensor\Store\BuildStore;
|
|||
|
||||
/**
|
||||
* Plugin Executor - Runs the configured plugins for a given build stage.
|
||||
* @package PHPCI\Plugin\Util
|
||||
* @package PHPCensor\Plugin\Util
|
||||
*/
|
||||
class Executor
|
||||
{
|
||||
|
@ -77,7 +77,7 @@ class Executor
|
|||
*/
|
||||
protected function getBranchSpecificPlugins(&$config, $stage, $pluginsToExecute)
|
||||
{
|
||||
/** @var \PHPCI\Model\Build $build */
|
||||
/** @var \PHPCensor\Model\Build $build */
|
||||
$build = $this->pluginFactory->getResourceFor('PHPCensor\Model\Build');
|
||||
$branch = $build->getBranch();
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ use Pimple\Container;
|
|||
|
||||
/**
|
||||
* Plugin Factory - Loads Plugins and passes required dependencies.
|
||||
* @package PHPCI\Plugin\Util
|
||||
* @package PHPCensor\Plugin\Util
|
||||
*/
|
||||
class Factory
|
||||
{
|
||||
|
@ -71,7 +71,7 @@ class Factory
|
|||
* @param $className
|
||||
* @param array|null $options
|
||||
* @throws \InvalidArgumentException if $className doesn't represent a valid plugin
|
||||
* @return \PHPCI\Plugin
|
||||
* @return \PHPCensor\Plugin
|
||||
*/
|
||||
public function buildPlugin($className, $options = [])
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@ use PHPCensor\Plugin;
|
|||
|
||||
/**
|
||||
* Class FilesPluginInformation
|
||||
* @package PHPCI\Plugin\Util
|
||||
* @package PHPCensor\Plugin\Util
|
||||
*/
|
||||
class FilesPluginInformation implements InstalledPluginInformation
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@ namespace PHPCensor\Plugin\Util;
|
|||
|
||||
/**
|
||||
* Interface InstalledPluginInformation
|
||||
* @package PHPCI\Plugin\Util
|
||||
* @package PHPCensor\Plugin\Util
|
||||
*/
|
||||
interface InstalledPluginInformation
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace PHPCensor\Plugin\Util;
|
|||
|
||||
/**
|
||||
* Class PluginInformationCollection
|
||||
* @package PHPCI\Plugin\Util
|
||||
* @package PHPCensor\Plugin\Util
|
||||
*/
|
||||
class PluginInformationCollection implements InstalledPluginInformation
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@ use Symfony\Component\Yaml\Yaml;
|
|||
|
||||
/**
|
||||
* Processes TAP format strings into usable test result data.
|
||||
* @package PHPCI\Plugin\Util
|
||||
* @package PHPCensor\Plugin\Util
|
||||
*/
|
||||
class TapParser
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@ use PHPCensor\Builder;
|
|||
* Class Codeception
|
||||
*
|
||||
* @author Adam Cooper <adam@networkpie.co.uk>
|
||||
* @package PHPCI\Plugin\Util\TestResultParsers
|
||||
* @package PHPCensor\Plugin\Util\TestResultParsers
|
||||
*/
|
||||
class Codeception implements ParserInterface
|
||||
{
|
||||
|
|
|
@ -22,12 +22,12 @@ use PHPCensor\Plugin;
|
|||
class Wipe implements Plugin
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Builder
|
||||
* @var \PHPCensor\Builder
|
||||
*/
|
||||
protected $phpci;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Model\Build
|
||||
* @var \PHPCensor\Model\Build
|
||||
*/
|
||||
protected $build;
|
||||
|
||||
|
|
|
@ -21,12 +21,12 @@ use PHPCensor\Store\BuildStore;
|
|||
/**
|
||||
* The build service handles the creation, duplication and deletion of builds.
|
||||
* Class BuildService
|
||||
* @package PHPCI\Service
|
||||
* @package PHPCensor\Service
|
||||
*/
|
||||
class BuildService
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Store\BuildStore
|
||||
* @var \PHPCensor\Store\BuildStore
|
||||
*/
|
||||
protected $buildStore;
|
||||
|
||||
|
@ -50,7 +50,7 @@ class BuildService
|
|||
* @param string|null $committerEmail
|
||||
* @param string|null $commitMessage
|
||||
* @param string|null $extra
|
||||
* @return \PHPCI\Model\Build
|
||||
* @return \PHPCensor\Model\Build
|
||||
*/
|
||||
public function createBuild(
|
||||
Project $project,
|
||||
|
@ -105,7 +105,7 @@ class BuildService
|
|||
|
||||
/**
|
||||
* @param Build $copyFrom
|
||||
* @return \PHPCI\Model\Build
|
||||
* @return \PHPCensor\Model\Build
|
||||
*/
|
||||
public function createDuplicateBuild(Build $copyFrom)
|
||||
{
|
||||
|
|
|
@ -14,7 +14,7 @@ use PHPCensor\Model\Build;
|
|||
|
||||
/**
|
||||
* Class BuildStatusService
|
||||
* @package PHPCI\Service
|
||||
* @package PHPCensor\Service
|
||||
*/
|
||||
class BuildStatusService
|
||||
{
|
||||
|
|
|
@ -15,12 +15,12 @@ use PHPCensor\Store\ProjectStore;
|
|||
/**
|
||||
* The project service handles the creation, modification and deletion of projects.
|
||||
* Class ProjectService
|
||||
* @package PHPCI\Service
|
||||
* @package PHPCensor\Service
|
||||
*/
|
||||
class ProjectService
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Store\ProjectStore
|
||||
* @var \PHPCensor\Store\ProjectStore
|
||||
*/
|
||||
protected $projectStore;
|
||||
|
||||
|
@ -38,7 +38,7 @@ class ProjectService
|
|||
* @param string $type
|
||||
* @param string $reference
|
||||
* @param array $options
|
||||
* @return \PHPCI\Model\Project
|
||||
* @return \PHPCensor\Model\Project
|
||||
*/
|
||||
public function createProject($title, $type, $reference, $options = [])
|
||||
{
|
||||
|
@ -54,7 +54,7 @@ class ProjectService
|
|||
* @param string $type
|
||||
* @param string $reference
|
||||
* @param array $options
|
||||
* @return \PHPCI\Model\Project
|
||||
* @return \PHPCensor\Model\Project
|
||||
*/
|
||||
public function updateProject(Project $project, $title, $type, $reference, $options = [])
|
||||
{
|
||||
|
|
|
@ -15,12 +15,12 @@ use PHPCensor\Store\UserStore;
|
|||
/**
|
||||
* The user service handles the creation, modification and deletion of users.
|
||||
* Class UserService
|
||||
* @package PHPCI\Service
|
||||
* @package PHPCensor\Service
|
||||
*/
|
||||
class UserService
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Store\UserStore
|
||||
* @var \PHPCensor\Store\UserStore
|
||||
*/
|
||||
protected $store;
|
||||
|
||||
|
@ -38,7 +38,7 @@ class UserService
|
|||
* @param $emailAddress
|
||||
* @param $password
|
||||
* @param bool $isAdmin
|
||||
* @return \PHPCI\Model\User
|
||||
* @return \PHPCensor\Model\User
|
||||
*/
|
||||
public function createUser($name, $emailAddress, $password, $isAdmin = false)
|
||||
{
|
||||
|
@ -58,7 +58,7 @@ class UserService
|
|||
* @param $emailAddress
|
||||
* @param null $password
|
||||
* @param null $isAdmin
|
||||
* @return \PHPCI\Model\User
|
||||
* @return \PHPCensor\Model\User
|
||||
*/
|
||||
public function updateUser(User $user, $name, $emailAddress, $password = null, $isAdmin = null)
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ use PHPCensor\Store\Base\BuildErrorStoreBase;
|
|||
|
||||
/**
|
||||
* BuildError Store
|
||||
* @uses PHPCI\Store\Base\BuildErrorStoreBase
|
||||
* @uses PHPCensor\Store\Base\BuildErrorStoreBase
|
||||
*/
|
||||
class BuildErrorStore extends BuildErrorStoreBase
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@ use PHPCensor\Model\BuildMeta;
|
|||
|
||||
/**
|
||||
* BuildMeta Store
|
||||
* @uses PHPCI\Store\Base\BuildMetaStoreBase
|
||||
* @uses PHPCensor\Store\Base\BuildMetaStoreBase
|
||||
*/
|
||||
class BuildMetaStore extends BuildMetaStoreBase
|
||||
{
|
||||
|
|
|
@ -10,7 +10,7 @@ use PHPCensor\Store\Base\ProjectGroupStoreBase;
|
|||
|
||||
/**
|
||||
* ProjectGroup Store
|
||||
* @uses PHPCI\Store\Base\ProjectGroupStoreBase
|
||||
* @uses PHPCensor\Store\Base\ProjectGroupStoreBase
|
||||
*/
|
||||
class ProjectGroupStore extends ProjectGroupStoreBase
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@ use PHPCensor\Helper\Lang;
|
|||
|
||||
$linkTemplate = $build->getFileLinkTemplate();
|
||||
|
||||
/** @var \PHPCI\Model\BuildError $error */
|
||||
/** @var \PHPCensor\Model\BuildError $error */
|
||||
foreach ($errors as $error):
|
||||
|
||||
$link = str_replace('{FILE}', $error->getFile(), $linkTemplate);
|
||||
|
|
|
@ -15,7 +15,7 @@ use PHPCensor\Model\Build;
|
|||
|
||||
/**
|
||||
* Class BuildWorker
|
||||
* @package PHPCI\Worker
|
||||
* @package PHPCensor\Worker
|
||||
*/
|
||||
class BuildWorker
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@ use Symfony\Component\Console\Tester\CommandTester;
|
|||
class CreateAdminCommandTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Command\CreateAdminCommand|\PHPUnit_Framework_MockObject_MockObject
|
||||
* @var \PHPCensor\Command\CreateAdminCommand|\PHPUnit_Framework_MockObject_MockObject
|
||||
*/
|
||||
protected $command;
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ use Symfony\Component\Console\Tester\CommandTester;
|
|||
class CreateBuildCommandTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @var \PHPCI\Command\CreateAdminCommand|\PHPUnit_Framework_MockObject_MockObject
|
||||
* @var \PHPCensor\Command\CreateAdminCommand|\PHPUnit_Framework_MockObject_MockObject
|
||||
*/
|
||||
protected $command;
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ use PHPCensor\Plugin\Util\Factory;
|
|||
class FactoryTest extends \PHPUnit_Framework_TestCase {
|
||||
|
||||
/**
|
||||
* @var \PHPCI\Plugin\Util\Factory
|
||||
* @var \PHPCensor\Plugin\Util\Factory
|
||||
*/
|
||||
protected $testedFactory;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ abstract class ProcessControlTest extends \PHPUnit_Framework_TestCase
|
|||
protected $pipes;
|
||||
|
||||
/**
|
||||
* @var \PHPCI\ProcessControl\ProcessControlInterface
|
||||
* @var \PHPCensor\ProcessControl\ProcessControlInterface
|
||||
*/
|
||||
protected $object;
|
||||
|
||||
|
|
Loading…
Reference in a new issue