From 6c2bc7fc1619d0f3f3442be69f177e6103d27dc7 Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Wed, 17 Jun 2020 11:28:34 -0500 Subject: [PATCH 1/2] feat: Adds parameter typehints to ContainerInterface This patch bumps the minimum supported PHP version to 7.2 and adds parameter typehints to ContainerInterface, as the first step towards adding explicit typehints based on the specification. See https://www.php-fig.org/blog/2019/10/upgrading-psr-interfaces/ --- composer.json | 4 ++-- src/ContainerInterface.php | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index b8ee012..7a943a7 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ } ], "require": { - "php": ">=5.3.0" + "php": ">=7.2.0" }, "autoload": { "psr-4": { @@ -21,7 +21,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0.x-dev" } } } diff --git a/src/ContainerInterface.php b/src/ContainerInterface.php index b08b582..cf8e7fd 100644 --- a/src/ContainerInterface.php +++ b/src/ContainerInterface.php @@ -1,5 +1,7 @@ Date: Fri, 26 Jun 2020 09:14:07 -0500 Subject: [PATCH 2/2] fix: update branch alias to reflect 1.1 target --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7a943a7..5b531a6 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ }, "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "1.1.x-dev" } } }