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