Small fixes.

This commit is contained in:
Dmitry Khomutov 2018-04-06 23:55:44 +07:00
parent 62974ec3ee
commit 8c69129c76
No known key found for this signature in database
GPG Key ID: EC19426474B37AAC
4 changed files with 3 additions and 9 deletions

View File

@ -11,8 +11,5 @@ indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
[*.yml]
indent_size = 2
[*.md]
trim_trailing_whitespace = false

View File

View File

@ -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).

View File

@ -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>