Version 5.1 - All the GraphQL #32
@ -4,7 +4,8 @@ return [
|
|||||||
'convention' => [
|
'convention' => [
|
||||||
'default_namespace' => '\\Aviat\\AnimeClient\\Controller',
|
'default_namespace' => '\\Aviat\\AnimeClient\\Controller',
|
||||||
'default_controller' => '\\Aviat\\AnimeClient\\Controller\\Anime',
|
'default_controller' => '\\Aviat\\AnimeClient\\Controller\\Anime',
|
||||||
'default_method' => 'index'
|
'default_method' => 'index',
|
||||||
|
'404_method' => 'not_found'
|
||||||
],
|
],
|
||||||
// Routes on all controllers
|
// Routes on all controllers
|
||||||
'common' => [
|
'common' => [
|
||||||
@ -16,29 +17,6 @@ return [
|
|||||||
'controller' => '[a-z_]+'
|
'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
|
// Routes on collection controller
|
||||||
'collection' => [
|
'collection' => [
|
||||||
|
@ -2,5 +2,5 @@ sonar.projectKey=animeclient
|
|||||||
sonar.projectName=Anime Client
|
sonar.projectName=Anime Client
|
||||||
sonar.projectVersion=1.0
|
sonar.projectVersion=1.0
|
||||||
sonar.sources=src
|
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
|
sonar.php.tests.reportPath=build/logs/junit.xml
|
Loading…
Reference in New Issue
Block a user