Permalink
Browse files

Fixed documentation files names and TechnicalDebt name.

  • Loading branch information...
corpsee committed Nov 8, 2018
1 parent 3914f9b commit 6e4a4d8003fa64145b7474af08f585b13de33ba6
@@ -254,15 +254,15 @@ to [@vinpel](https://github.com/vinpel). Pull request [#141](https://github.com/
- Filtration for errors by severity and plugin. Issue [#85](https://github.com/php-censor/php-censor/issues/85).
- Links to errors from summary block (Information tab). Issue [#85](https://github.com/php-censor/php-censor/issues/85).
- New dashboard widget with only failed projects (See
[documentation](https://github.com/php-censor/php-censor/blob/master/docs/en/configuring-application.md#dashboard-widgets)).
[documentation](https://github.com/php-censor/php-censor/blob/master/docs/en/configuring_application.md#dashboard-widgets)).
Thanks to [@ss-gxp](https://github.com/ss-gxp). Pull request [#131](https://github.com/php-censor/php-censor/pull/131).
- Ability to call Git webhook by project name instead id. Thanks to [@ss-gxp](https://github.com/ss-gxp). Pull request
[#132](https://github.com/php-censor/php-censor/pull/132).
### Changed
- Dashboard on the index page, now dashboard more flexible and include separated widgets (See
[documentation](https://github.com/php-censor/php-censor/blob/master/docs/en/configuring-application.md#dashboard-widgets)).
[documentation](https://github.com/php-censor/php-censor/blob/master/docs/en/configuring_application.md#dashboard-widgets)).
Thanks to [@ss-gxp](https://github.com/ss-gxp). Pull request [#131](https://github.com/php-censor/php-censor/pull/131).
### Fixed
@@ -59,7 +59,7 @@ directory;
* Run tests for PHPUnit, Atoum, Behat, Codeception and PHPSpec;
* Check code via Lint, PHPParallelLint, Pdepend, PHPCodeSniffer, PHPCpd, PHPCsFixer, PHPDocblockChecker, PHPLoc,
PHPMessDetector, PHPTalLint and TechnicalDept;
PHPMessDetector, PHPTalLint and TechnicalDebt;
* Run through any combination of the other [supported plugins](docs/en/README.md#plugins), including Campfire,
CleanBuild, CopyBuild, Deployer, Env, Git, Grunt, Gulp, PackageBuild, Phar, Phing, Shell and Wipe;
@@ -171,7 +171,7 @@ If you want to install PHP Censor as Docker container, you can use
There are several ways to set up the project:
* Add project without any project config (Runs "zero-config" plugins, including: Composer, TechnicalDept, PHPLoc,
* Add project without any project config (Runs "zero-config" plugins, including: Composer, TechnicalDebt, PHPLoc,
PHPCpd, PHPCodeSniffer, PHPMessDetector, PHPDocblockChecker, PHPParallelLint, PHPUnit and Codeception);
* Similar to [Travis CI](https://travis-ci.org), to support PHP Censor in your project, you simply need to add a
@@ -10,7 +10,7 @@ Getting Started
* [Run builds using cronjob](workers/cron.md)
* [Adding PHP Censor support to your projects](configuring_project.md)
* Updating PHP Censor (See [README](../../README.md))
* [Configuring PHP Censor](configuring-application.md)
* [Configuring PHP Censor](configuring_application.md)
Using PHP Censor
----------------
@@ -12,7 +12,7 @@ There are several ways of configuring build in *PHP Censor* project:
In this case build launches with the default config, which includes dependency plugin
([Composer](plugins/composer.md)), code static analysis plugin (
[TechnicalDept](plugins/technical_dept.md), [PHPLoc](plugins/php_loc.md), [PHPCpd](plugins/php_cpd.md),
[TechnicalDebt](plugins/technical_debt.md), [PHPLoc](plugins/php_loc.md), [PHPCpd](plugins/php_cpd.md),
[PHPCodeSniffer](plugins/php_code_sniffer.md), [PHPMessDetector](plugins/php_mess_detector.md),
[PHPDocblockChecker](plugins/php_docblock_checker.md), [PHPParallelLint](plugins/php_parallel_lint.md)), and test
plugins([PHPUnit](plugins/php_unit.md), [Codeception](plugins/codeception.md)).
@@ -15,7 +15,8 @@ Configuration
* **template** - The template to use, options are short and long. Default is short on success and long otherwise.
**Note:** _This plugin will only work if you configured email settings during installation or configured them later in
[`config.yml`](../configuring-application.md)._
[`config.yml`](../configuring_application.md)._
### Examples
See [Adding PHP Censor Support to Your Projects](../configuring_project.md) for more information about how to configure plugins.
@@ -10,7 +10,7 @@
* [Запуск сборок с помощью периодической задачи (Cronjob)](workers/cron.md)
* [Настройка проекта для сборки в PHP Censor](configuring_project.md)
* Обновление PHP Censor (Смотри [README](../../README.md))
* [Настройка PHP Censor](configuring-application.md)
* [Настройка PHP Censor](configuring_application.md)
Использование
-------------
@@ -506,7 +506,7 @@ public function setEnvironment($value)
}
/**
* @return string
* @return int
*/
public function getSource()
{
@@ -540,7 +540,7 @@ public function setSource($value)
}
/**
* @return string
* @return int
*/
public function getUserId()
{
@@ -248,13 +248,13 @@ protected function getErrorList()
$line = fgets($handle);
foreach ($this->searches as $search) {
if ($technicalDeptLine = trim(strstr($line, $search))) {
if ($technicalDebtLine = trim(strstr($line, $search))) {
$fileName = str_replace($this->directory, '', $filePath);
$this->build->reportError(
$this->builder,
'technical_debt',
$technicalDeptLine,
$technicalDebtLine,
PHPCensor\Model\BuildError::SEVERITY_LOW,
$fileName,
$lineNumber

0 comments on commit 6e4a4d8

Please sign in to comment.