Small fixes.
This commit is contained in:
parent
62974ec3ee
commit
8c69129c76
|
@ -11,8 +11,5 @@ indent_size = 4
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
[*.yml]
|
|
||||||
indent_size = 2
|
|
||||||
|
|
||||||
[*.md]
|
[*.md]
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
|
@ -237,4 +237,4 @@ database name in `phpunit.xml` config constants). If connection failed tests wil
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
PHP Censor is open source software licensed under the [BSD-2-Clause license](LICENSE.md).
|
PHP Censor is open source software licensed under the [BSD-2-Clause license](LICENSE).
|
||||||
|
|
|
@ -171,9 +171,7 @@ use PHPCensor\Helper\Lang;
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<?php
|
<?php switch($project->getType()) {
|
||||||
switch($project->getType())
|
|
||||||
{
|
|
||||||
case 'github':
|
case 'github':
|
||||||
$url = APP_URL . 'webhook/github/' . $project->getId();
|
$url = APP_URL . 'webhook/github/' . $project->getId();
|
||||||
Lang::out('webhooks_help_github', $project->getReference());
|
Lang::out('webhooks_help_github', $project->getReference());
|
||||||
|
@ -189,8 +187,7 @@ use PHPCensor\Helper\Lang;
|
||||||
$url = APP_URL . 'webhook/bitbucket/' . $project->getId();
|
$url = APP_URL . 'webhook/bitbucket/' . $project->getId();
|
||||||
Lang::out('webhooks_help_bitbucket', $project->getReference());
|
Lang::out('webhooks_help_bitbucket', $project->getReference());
|
||||||
break;
|
break;
|
||||||
}
|
} ?>
|
||||||
?>
|
|
||||||
<br><br><strong style="word-wrap: break-word;"><?= $url; ?></strong>
|
<br><br><strong style="word-wrap: break-word;"><?= $url; ?></strong>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue