Corrected a number of minor spelling errors.
Originally observed that "successful" was misspelled "succesfull" on the build view page. While correcting that, a number of other spelling errors were also corrected.
This commit is contained in:
parent
d698b11673
commit
d2c512d94b
|
@ -170,7 +170,7 @@ class WebhookController extends \b8\Controller
|
||||||
protected function githubCommitRequest(Project $project, array $payload)
|
protected function githubCommitRequest(Project $project, array $payload)
|
||||||
{
|
{
|
||||||
// Github sends a payload when you close a pull request with a
|
// Github sends a payload when you close a pull request with a
|
||||||
// non-existant commit. We don't want this.
|
// non-existent commit. We don't want this.
|
||||||
if (array_key_exists('after', $payload) && $payload['after'] === '0000000000000000000000000000000000000000') {
|
if (array_key_exists('after', $payload) && $payload['after'] === '0000000000000000000000000000000000000000') {
|
||||||
return array('status' => 'ignored');
|
return array('status' => 'ignored');
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ final class AnsiConverter
|
||||||
static private $converter = null;
|
static private $converter = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the singletion.
|
* Initialize the singleton.
|
||||||
*
|
*
|
||||||
* @return AnsiToHtmlConverter
|
* @return AnsiToHtmlConverter
|
||||||
*/
|
*/
|
||||||
|
@ -35,7 +35,7 @@ final class AnsiConverter
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convert a text containing ANSI colr sequences into HTML code.
|
* Convert a text containing ANSI color sequences into HTML code.
|
||||||
*
|
*
|
||||||
* @param string $text The text to convert
|
* @param string $text The text to convert
|
||||||
*
|
*
|
||||||
|
@ -47,7 +47,7 @@ final class AnsiConverter
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Do not instanciate this class.
|
* Do not instantiate this class.
|
||||||
*/
|
*/
|
||||||
private function __construct()
|
private function __construct()
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,7 +12,7 @@ namespace PHPCI\Helper;
|
||||||
use b8\Config;
|
use b8\Config;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Login Is Disabled Helper - Checks if login is disalbed in the view
|
* Login Is Disabled Helper - Checks if login is disabled in the view
|
||||||
* @author Stephen Ball <phpci@stephen.rebelinblue.com>
|
* @author Stephen Ball <phpci@stephen.rebelinblue.com>
|
||||||
* @package PHPCI
|
* @package PHPCI
|
||||||
* @subpackage Web
|
* @subpackage Web
|
||||||
|
|
|
@ -203,7 +203,7 @@ Services</a> sektionen under dit Bitbucket-repository.',
|
||||||
'build_finished' => 'Build Afsluttet',
|
'build_finished' => 'Build Afsluttet',
|
||||||
'test_message' => 'Message',
|
'test_message' => 'Message',
|
||||||
'test_no_message' => 'No message',
|
'test_no_message' => 'No message',
|
||||||
'test_success' => 'Succesfull: %d',
|
'test_success' => 'Successful: %d',
|
||||||
'test_fail' => 'Failures: %d',
|
'test_fail' => 'Failures: %d',
|
||||||
'test_skipped' => 'Skipped: %d',
|
'test_skipped' => 'Skipped: %d',
|
||||||
'test_error' => 'Errors: %d',
|
'test_error' => 'Errors: %d',
|
||||||
|
|
|
@ -210,7 +210,7 @@ generiert. Um es zu verwenden, fügen Sie einfach den folgenden Public Key im Ab
|
||||||
'build_finished' => 'Build abgeschlossen',
|
'build_finished' => 'Build abgeschlossen',
|
||||||
'test_message' => 'Message',
|
'test_message' => 'Message',
|
||||||
'test_no_message' => 'No message',
|
'test_no_message' => 'No message',
|
||||||
'test_success' => 'Succesfull: %d',
|
'test_success' => 'Successful: %d',
|
||||||
'test_fail' => 'Failures: %d',
|
'test_fail' => 'Failures: %d',
|
||||||
'test_skipped' => 'Skipped: %d',
|
'test_skipped' => 'Skipped: %d',
|
||||||
'test_error' => 'Errors: %d',
|
'test_error' => 'Errors: %d',
|
||||||
|
|
|
@ -204,7 +204,7 @@ Services</a> του Bitbucket αποθετηρίου σας.',
|
||||||
'build_finished' => 'Η κατασκευή ολοκληρώθηκε',
|
'build_finished' => 'Η κατασκευή ολοκληρώθηκε',
|
||||||
'test_message' => 'Message',
|
'test_message' => 'Message',
|
||||||
'test_no_message' => 'No message',
|
'test_no_message' => 'No message',
|
||||||
'test_success' => 'Succesfull: %d',
|
'test_success' => 'Successful: %d',
|
||||||
'test_fail' => 'Failures: %d',
|
'test_fail' => 'Failures: %d',
|
||||||
'test_skipped' => 'Skipped: %d',
|
'test_skipped' => 'Skipped: %d',
|
||||||
'test_error' => 'Errors: %d',
|
'test_error' => 'Errors: %d',
|
||||||
|
|
|
@ -213,7 +213,7 @@ PHPCI',
|
||||||
'build_finished' => 'Build Finished',
|
'build_finished' => 'Build Finished',
|
||||||
'test_message' => 'Message',
|
'test_message' => 'Message',
|
||||||
'test_no_message' => 'No message',
|
'test_no_message' => 'No message',
|
||||||
'test_success' => 'Succesfull: %d',
|
'test_success' => 'Successful: %d',
|
||||||
'test_fail' => 'Failures: %d',
|
'test_fail' => 'Failures: %d',
|
||||||
'test_skipped' => 'Skipped: %d',
|
'test_skipped' => 'Skipped: %d',
|
||||||
'test_error' => 'Errors: %d',
|
'test_error' => 'Errors: %d',
|
||||||
|
|
|
@ -206,7 +206,7 @@ PHPCI',
|
||||||
'build_finished' => 'Build Terminata',
|
'build_finished' => 'Build Terminata',
|
||||||
'test_message' => 'Message',
|
'test_message' => 'Message',
|
||||||
'test_no_message' => 'No message',
|
'test_no_message' => 'No message',
|
||||||
'test_success' => 'Succesfull: %d',
|
'test_success' => 'Successful: %d',
|
||||||
'test_fail' => 'Failures: %d',
|
'test_fail' => 'Failures: %d',
|
||||||
'test_skipped' => 'Skipped: %d',
|
'test_skipped' => 'Skipped: %d',
|
||||||
'test_error' => 'Errors: %d',
|
'test_error' => 'Errors: %d',
|
||||||
|
|
|
@ -204,7 +204,7 @@ Services</a> sectie van je Bitbucket repository toegevoegd worden.',
|
||||||
'build_finished' => 'Build beëindigd',
|
'build_finished' => 'Build beëindigd',
|
||||||
'test_message' => 'Message',
|
'test_message' => 'Message',
|
||||||
'test_no_message' => 'No message',
|
'test_no_message' => 'No message',
|
||||||
'test_success' => 'Succesfull: %d',
|
'test_success' => 'Successful: %d',
|
||||||
'test_fail' => 'Failures: %d',
|
'test_fail' => 'Failures: %d',
|
||||||
'test_skipped' => 'Skipped: %d',
|
'test_skipped' => 'Skipped: %d',
|
||||||
'test_error' => 'Errors: %d',
|
'test_error' => 'Errors: %d',
|
||||||
|
|
|
@ -207,7 +207,7 @@ Services</a> repozytoria Bitbucket.',
|
||||||
'build_finished' => 'Budowanie Zakończone',
|
'build_finished' => 'Budowanie Zakończone',
|
||||||
'test_message' => 'Message',
|
'test_message' => 'Message',
|
||||||
'test_no_message' => 'No message',
|
'test_no_message' => 'No message',
|
||||||
'test_success' => 'Succesfull: %d',
|
'test_success' => 'Successful: %d',
|
||||||
'test_fail' => 'Failures: %d',
|
'test_fail' => 'Failures: %d',
|
||||||
'test_skipped' => 'Skipped: %d',
|
'test_skipped' => 'Skipped: %d',
|
||||||
'test_error' => 'Errors: %d',
|
'test_error' => 'Errors: %d',
|
||||||
|
|
|
@ -202,7 +202,7 @@ PHPCI',
|
||||||
'build_finished' => 'Сборка окончена',
|
'build_finished' => 'Сборка окончена',
|
||||||
'test_message' => 'Message',
|
'test_message' => 'Message',
|
||||||
'test_no_message' => 'No message',
|
'test_no_message' => 'No message',
|
||||||
'test_success' => 'Succesfull: %d',
|
'test_success' => 'Successful: %d',
|
||||||
'test_fail' => 'Failures: %d',
|
'test_fail' => 'Failures: %d',
|
||||||
'test_skipped' => 'Skipped: %d',
|
'test_skipped' => 'Skipped: %d',
|
||||||
'test_error' => 'Errors: %d',
|
'test_error' => 'Errors: %d',
|
||||||
|
|
|
@ -204,7 +204,7 @@ PHPCI',
|
||||||
'build_finished' => 'Збірка завершена',
|
'build_finished' => 'Збірка завершена',
|
||||||
'test_message' => 'Message',
|
'test_message' => 'Message',
|
||||||
'test_no_message' => 'No message',
|
'test_no_message' => 'No message',
|
||||||
'test_success' => 'Succesfull: %d',
|
'test_success' => 'Successful: %d',
|
||||||
'test_fail' => 'Failures: %d',
|
'test_fail' => 'Failures: %d',
|
||||||
'test_skipped' => 'Skipped: %d',
|
'test_skipped' => 'Skipped: %d',
|
||||||
'test_error' => 'Errors: %d',
|
'test_error' => 'Errors: %d',
|
||||||
|
|
|
@ -134,7 +134,7 @@ class Email implements \PHPCI\Plugin
|
||||||
* Send an email to a list of specified subjects.
|
* Send an email to a list of specified subjects.
|
||||||
*
|
*
|
||||||
* @param array $toAddresses
|
* @param array $toAddresses
|
||||||
* List of destinatary of message.
|
* List of destination addresses for message.
|
||||||
* @param string $subject
|
* @param string $subject
|
||||||
* Mail subject
|
* Mail subject
|
||||||
* @param string $body
|
* @param string $body
|
||||||
|
|
|
@ -28,7 +28,7 @@ class PhpCpd implements \PHPCI\Plugin
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string, based on the assumption the root may not hold the code to be
|
* @var string, based on the assumption the root may not hold the code to be
|
||||||
* tested, exteds the base path
|
* tested, extends the base path
|
||||||
*/
|
*/
|
||||||
protected $path;
|
protected $path;
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ class PhpMessDetector implements PHPCI\Plugin, PHPCI\ZeroConfigPlugin
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string, based on the assumption the root may not hold the code to be
|
* @var string, based on the assumption the root may not hold the code to be
|
||||||
* tested, exteds the base path only if the provided path is relative. Absolute
|
* tested, extends the base path only if the provided path is relative. Absolute
|
||||||
* paths are used verbatim
|
* paths are used verbatim
|
||||||
*/
|
*/
|
||||||
protected $path;
|
protected $path;
|
||||||
|
@ -50,7 +50,7 @@ class PhpMessDetector implements PHPCI\Plugin, PHPCI\ZeroConfigPlugin
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Array of PHPMD rules. Can be one of the builtins (codesize, unusedcode, naming, design, controversial)
|
* Array of PHPMD rules. Can be one of the builtins (codesize, unusedcode, naming, design, controversial)
|
||||||
* or a filenname (detected by checking for a / in it), either absolute or relative to the project root.
|
* or a filename (detected by checking for a / in it), either absolute or relative to the project root.
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $rules;
|
protected $rules;
|
||||||
|
|
|
@ -73,7 +73,7 @@ class TapParser
|
||||||
|
|
||||||
$line = $this->nextLine();
|
$line = $this->nextLine();
|
||||||
if ($line === $header) {
|
if ($line === $header) {
|
||||||
throw new Exception("Duplicated TAP log, please check the configration.");
|
throw new Exception("Duplicated TAP log, please check the configuration.");
|
||||||
}
|
}
|
||||||
|
|
||||||
while ($line !== false && ($this->testCount === false || count($this->results) < $this->testCount)) {
|
while ($line !== false && ($this->testCount === false || count($this->results) < $this->testCount)) {
|
||||||
|
@ -96,7 +96,7 @@ class TapParser
|
||||||
*/
|
*/
|
||||||
protected function findTapLog()
|
protected function findTapLog()
|
||||||
{
|
{
|
||||||
// Look for the beggning of the TAP output
|
// Look for the beginning of the TAP output
|
||||||
do {
|
do {
|
||||||
$header = $this->nextLine();
|
$header = $this->nextLine();
|
||||||
} while ($header !== false && substr($header, 0, 12) !== 'TAP version ');
|
} while ($header !== false && substr($header, 0, 12) !== 'TAP version ');
|
||||||
|
|
|
@ -31,7 +31,7 @@ class PosixProcessControl implements ProcessControlInterface
|
||||||
* Sends a TERMINATE or KILL signal to the process using posix_kill.
|
* Sends a TERMINATE or KILL signal to the process using posix_kill.
|
||||||
*
|
*
|
||||||
* @param int $pid
|
* @param int $pid
|
||||||
* @param bool $forcefully Whetehr to send TERMINATE (false) or KILL (true).
|
* @param bool $forcefully Whether to send TERMINATE (false) or KILL (true).
|
||||||
*/
|
*/
|
||||||
public function kill($pid, $forcefully = false)
|
public function kill($pid, $forcefully = false)
|
||||||
{
|
{
|
||||||
|
|
|
@ -78,7 +78,7 @@ class CreateBuildCommandTest extends \PHPUnit_Framework_TestCase
|
||||||
/**
|
/**
|
||||||
* @expectedException \InvalidArgumentException
|
* @expectedException \InvalidArgumentException
|
||||||
*/
|
*/
|
||||||
public function testExecuteWithUnknowProjectId()
|
public function testExecuteWithUnknownProjectId()
|
||||||
{
|
{
|
||||||
$commandTester = $this->getCommandTester();
|
$commandTester = $this->getCommandTester();
|
||||||
$commandTester->execute(array('projectId' => 2));
|
$commandTester->execute(array('projectId' => 2));
|
||||||
|
|
|
@ -175,7 +175,7 @@ class InstallCommandTest extends \PHPUnit_Framework_TestCase
|
||||||
$this->assertEquals('testedvalue', $this->config['b8']['database']['name']);
|
$this->assertEquals('testedvalue', $this->config['b8']['database']['name']);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testDatabaseUserameConfig()
|
public function testDatabaseUserConfig()
|
||||||
{
|
{
|
||||||
$dialog = $this->getDialogHelperMock();
|
$dialog = $this->getDialogHelperMock();
|
||||||
|
|
||||||
|
@ -243,7 +243,7 @@ class InstallCommandTest extends \PHPUnit_Framework_TestCase
|
||||||
$this->assertEquals('test@phpci.com', $this->admin['mail']);
|
$this->assertEquals('test@phpci.com', $this->admin['mail']);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testAdminUserameConfig()
|
public function testAdminNameConfig()
|
||||||
{
|
{
|
||||||
$dialog = $this->getDialogHelperMock();
|
$dialog = $this->getDialogHelperMock();
|
||||||
|
|
||||||
|
|
|
@ -236,11 +236,11 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
||||||
/**
|
/**
|
||||||
* @covers PHPUnit::execute
|
* @covers PHPUnit::execute
|
||||||
*/
|
*/
|
||||||
public function testExecute_UniqueRecipientsWithCommiter()
|
public function testExecute_UniqueRecipientsWithCommitter()
|
||||||
{
|
{
|
||||||
$this->loadEmailPluginWithOptions(
|
$this->loadEmailPluginWithOptions(
|
||||||
array(
|
array(
|
||||||
'commiter' => true,
|
'committer' => true,
|
||||||
'addresses' => array('test-receiver@example.com', 'committer@test.com')
|
'addresses' => array('test-receiver@example.com', 'committer@test.com')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -15,7 +15,7 @@ use PHPCI\Plugin\Util\FilesPluginInformation;
|
||||||
class FilesPluginInformationTest extends \PHPUnit_Framework_TestCase
|
class FilesPluginInformationTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
public function testGetInstalledPlugins_returnsObjectes()
|
public function testGetInstalledPlugins_returnsObjects()
|
||||||
{
|
{
|
||||||
$pluginDirPath = realpath(__DIR__ . "/../../../../PHPCI/Plugin/");
|
$pluginDirPath = realpath(__DIR__ . "/../../../../PHPCI/Plugin/");
|
||||||
$test = FilesPluginInformation::newFromDir($pluginDirPath);
|
$test = FilesPluginInformation::newFromDir($pluginDirPath);
|
||||||
|
|
|
@ -62,7 +62,7 @@ if (file_exists($configFile)) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allow to modify PHPCI configuration without modify versioned code.
|
* Allow to modify PHPCI configuration without modify versioned code.
|
||||||
* Dameons should be killed to apply changes in the file.
|
* Daemons should be killed to apply changes in the file.
|
||||||
*
|
*
|
||||||
* @ticket 781
|
* @ticket 781
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue