diff --git a/.editorconfig b/.editorconfig index 49a3ae29..77245acd 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,8 +11,5 @@ indent_size = 4 insert_final_newline = true trim_trailing_whitespace = true -[*.yml] -indent_size = 2 - [*.md] trim_trailing_whitespace = false diff --git a/LICENSE.md b/LICENSE similarity index 100% rename from LICENSE.md rename to LICENSE diff --git a/README.md b/README.md index 6df31108..2552ac81 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/src/View/Project/view.phtml b/src/View/Project/view.phtml index 621572fc..7fbf3583 100644 --- a/src/View/Project/view.phtml +++ b/src/View/Project/view.phtml @@ -171,9 +171,7 @@ use PHPCensor\Helper\Lang;
- getType()) - { + 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; - } - ?> + } ?>