diff --git a/composer.json b/composer.json index 80e2b9d..e43cb51 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } }, "require": { - "attogram/router": "^1.0", + "attogram/router": "^4.0", "php": "^7.0" } } diff --git a/composer.lock b/composer.lock index 16097a9..6cc7613 100644 --- a/composer.lock +++ b/composer.lock @@ -4,31 +4,26 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5fdf765ee1092b348332f2e107a663fb", + "content-hash": "3c0006b068178ae14bcb33b81b7df2e5", "packages": [ { "name": "attogram/router", - "version": "v1.0.0", + "version": "v4.0.1", "source": { "type": "git", "url": "https://github.com/attogram/router.git", - "reference": "ac441158dd8d96a42ddf6fa34d378e501c3568c0" + "reference": "615ecba35cd508e72ed656e55c75ca8878ed3773" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/attogram/router/zipball/ac441158dd8d96a42ddf6fa34d378e501c3568c0", - "reference": "ac441158dd8d96a42ddf6fa34d378e501c3568c0", + "url": "https://api.github.com/repos/attogram/router/zipball/615ecba35cd508e72ed656e55c75ca8878ed3773", + "reference": "615ecba35cd508e72ed656e55c75ca8878ed3773", "shasum": "" }, "require": { - "php": ">=5.4" + "php": "^7.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.x-dev" - } - }, "autoload": { "psr-4": { "Attogram\\Router\\": "src/" @@ -38,9 +33,21 @@ "license": [ "MIT" ], - "description": "The Attogram Router is a small PHP router. No dependencies. One simple class. Composer ready.", + "authors": [ + { + "name": "Attogram Project", + "homepage": "https://github.com/attogram", + "role": "Developer" + } + ], + "description": "Attogram Router for PHP 7 - small, flexible, and surprisingly powerful", "homepage": "https://github.com/attogram/router", - "time": "2018-05-21T06:04:41+00:00" + "keywords": [ + "One class", + "php 7", + "router" + ], + "time": "2019-04-06T18:04:42+00:00" } ], "packages-dev": [], diff --git a/src/BodyMassInfoTable.php b/src/BodyMassInfoTable.php index 98ddcd6..1f2a397 100644 --- a/src/BodyMassInfoTable.php +++ b/src/BodyMassInfoTable.php @@ -14,7 +14,7 @@ class BodyMassInfoTable use TemplateTrait; /** @var string Version*/ - const VERSION = '2.1.0'; + const VERSION = '2.1.1.pre.0'; /** @var Router */ private $router; @@ -33,6 +33,7 @@ public function route() $this->router = new Router(); $this->router->allow('/', 'home'); $this->router->allow('/about', 'about'); + /** @var string|null $match */ $match = $this->router->match(); if ($match) { $this->routePage($match); diff --git a/templates/footer.php b/templates/footer.php index b16ba0a..decbeb7 100644 --- a/templates/footer.php +++ b/templates/footer.php @@ -12,9 +12,9 @@