From 898905c21c02070ac30b18cf3c9d9df00033e3a2 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Fri, 13 Nov 2015 11:34:30 -0500 Subject: [PATCH] Update some config and metadata --- app/config/routes.php | 26 ++------------------------ sonar-project.properties | 2 +- 2 files changed, 3 insertions(+), 25 deletions(-) diff --git a/app/config/routes.php b/app/config/routes.php index 0354f384..019af2f5 100644 --- a/app/config/routes.php +++ b/app/config/routes.php @@ -4,7 +4,8 @@ return [ 'convention' => [ 'default_namespace' => '\\Aviat\\AnimeClient\\Controller', 'default_controller' => '\\Aviat\\AnimeClient\\Controller\\Anime', - 'default_method' => 'index' + 'default_method' => 'index', + '404_method' => 'not_found' ], // Routes on all controllers 'common' => [ @@ -16,29 +17,6 @@ return [ 'controller' => '[a-z_]+' ] ], - 'login_form' => [ - 'path' => '/{controller}/login', - 'action' => 'login', - 'verb' => 'get', - 'tokens' => [ - 'controller' => '[a-z_]+' - ] - ], - 'login_action' => [ - 'path' => '/{controller}/login', - 'action' => 'login_action', - 'verb' => 'post', - 'tokens' => [ - 'controller' => '[a-z_]+' - ] - ], - 'logout' => [ - 'path' => '/{controller}/logout', - 'action' => 'logout', - 'tokens' => [ - 'controller' => '[a-z_]+' - ] - ], ], // Routes on collection controller 'collection' => [ diff --git a/sonar-project.properties b/sonar-project.properties index f2bf2278..f2ac005c 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -2,5 +2,5 @@ sonar.projectKey=animeclient sonar.projectName=Anime Client sonar.projectVersion=1.0 sonar.sources=src -sonar.php.coverage.overallReportPath=build/logs/clover.xml +sonar.php.coverage.reportPath=build/logs/clover.xml sonar.php.tests.reportPath=build/logs/junit.xml \ No newline at end of file