From a554d501ad43cc8b0d81b2cc7103367d45faed4d Mon Sep 17 00:00:00 2001 From: Aaron Thomas Date: Fri, 14 Aug 2020 09:35:09 -0400 Subject: [PATCH] Update minimum PHP version and update AltoRouter to latest version --- composer.json | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/composer.json b/composer.json index c4d175c..0b7e632 100755 --- a/composer.json +++ b/composer.json @@ -1,34 +1,39 @@ { - "name" : "upstatement/routes", + "name": "upstatement/routes", "description": "Manage rewrites and routes in WordPress with this dead-simple plugin", - "keywords" : ["routes", "routing", "rewrite", "redirects"], - "homepage" : "http://routes.upstatement.com", - "license" : "MIT", - "authors" : [ + "keywords": [ + "routes", + "routing", + "rewrite", + "redirects" + ], + "homepage": "http://routes.upstatement.com", + "license": "MIT", + "authors": [ { - "name" : "Jared Novack", - "email" : "jared@upstatement.com", + "name": "Jared Novack", + "email": "jared@upstatement.com", "homepage": "http://upstatement.com" } ], - "support" : { + "support": { "issues": "https://github.com/jarednova/routes/issues", - "wiki" : "https://github.com/jarednova/routes/wiki", + "wiki": "https://github.com/jarednova/routes/wiki", "source": "https://github.com/jarednova/routes" }, - "require" : { - "php" : ">=5.3.0", - "altorouter/altorouter" : "^1.2.0", - "composer/installers" : "~1.0" + "require": { + "php": ">=5.6.0", + "altorouter/altorouter": "^2.0", + "composer/installers": "~1.0" }, "require-dev": { "phpunit/phpunit": "5.7.16", - "wp-cli/wp-cli" : "*", + "wp-cli/wp-cli": "*", "satooshi/php-coveralls": "*" }, "autoload": { - "psr-0" : { - "Routes" : "" + "psr-0": { + "Routes": "" } } }