diff --git a/composer.json b/composer.json index cc1ce83..34c4ae3 100644 --- a/composer.json +++ b/composer.json @@ -12,8 +12,78 @@ "require": { "vlucas/phpdotenv": "^3.4@dev", "php-di/php-di": "dev-master", - "league/route": "dev-master" + "league/route": "dev-master", + "mcnd/storage": "dev-master", + "mcnd/ulmus": "dev-master", + "mcnd/picea": "dev-master", + "mcnd/picea-ui": "dev-master", + "mcnd/cronard": "dev-master", + "mcnd/storage": "dev-master", + "mcnd/tell": "dev-master", + "mcnd/dump": "dev-master", + "mcnd/notes": "dev-master", + "mcnd/notes-route": "dev-master", + "mcnd/notes-security": "dev-master", + "mcnd/notes-tell": "dev-master", + "swiftmailer/swiftmailer": "^6.2@dev", + "php-di/php-di": "dev-master", + "league/route": "dev-master", + "laminas/laminas-diactoros": "2.5.x-dev", + "laminas/laminas-httphandlerrunner": "1.3.x-dev", + "vlucas/phpdotenv": "^3.4@dev", + "middlewares/whoops": "dev-master", + "ralouphie/getallheaders": "dev-master" }, + "repositories": [ + { + "type": "vcs", + "url": "https://git.mcnd.ca/mcndave/cronard.git" + }, + { + "type": "vcs", + "url": "https://git.mcnd.ca/mcndave/storage.git" + }, + { + "type": "vcs", + "url": "https://git.mcnd.ca/mcndave/ulmus.git" + }, + { + "type": "vcs", + "url": "https://git.mcnd.ca/mcndave/picea.git" + }, + { + "type": "vcs", + "url": "https://git.mcnd.ca/mcndave/picea-ui.git" + }, + { + "type": "vcs", + "url": "https://git.mcnd.ca/mcndave/notes.git" + }, + { + "type": "vcs", + "url": "https://git.mcnd.ca/mcndave/notes-route.git" + }, + { + "type": "vcs", + "url": "https://git.mcnd.ca/mcndave/notes-security.git" + }, + { + "type": "vcs", + "url": "https://git.mcnd.ca/mcndave/notes-tell.git" + }, + { + "type": "vcs", + "url": "https://git.mcnd.ca/mcndave/tell.git" + }, + { + "type": "vcs", + "url": "https://git.mcnd.ca/mcndave/lean-console.git" + }, + { + "type": "vcs", + "url": "https://git.mcnd.ca/mcndave/dump.git" + } + ], "autoload": { "psr-4": { "Lean\\": "src/" diff --git a/src/ControllerTrait.php b/src/ControllerTrait.php index 2d5b1b3..39d1498 100644 --- a/src/ControllerTrait.php +++ b/src/ControllerTrait.php @@ -27,7 +27,7 @@ use function file_get_contents; */ trait ControllerTrait { - public Session $session; + public Session $session; public ? Picea\Picea $picea; diff --git a/src/Routing.php b/src/Routing.php index 9b6f9ba..4f93b15 100644 --- a/src/Routing.php +++ b/src/Routing.php @@ -53,7 +53,7 @@ class Routing { $this->security = $security; $this->language = $language; $this->router = $router; - } + } public function registerRoute(ContainerInterface $container, string $urlBase) { $this->router->group(rtrim($urlBase, "/"), function (RouteGroup $route) use ($container) {