From 79608e51c58d6c6d2df1d6bce9e6d09754b66055 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 22 Feb 2017 08:32:39 +0100 Subject: php-zendframework-zend-modulemanager: fix FTBFS --- php-zendframework-zend-modulemanager-pr55.patch | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 php-zendframework-zend-modulemanager-pr55.patch (limited to 'php-zendframework-zend-modulemanager-pr55.patch') diff --git a/php-zendframework-zend-modulemanager-pr55.patch b/php-zendframework-zend-modulemanager-pr55.patch new file mode 100644 index 0000000..ca929c5 --- /dev/null +++ b/php-zendframework-zend-modulemanager-pr55.patch @@ -0,0 +1,39 @@ +From 2ab82cecf9743c738f191dcf6dc687fc867867fe Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Wed, 22 Feb 2017 08:04:40 +0100 +Subject: [PATCH] fix proto and enable php 7.1 in travis + +--- + .travis.yml | 5 +++++ + test/Listener/TestAsset/SampleAbstractFactory.php | 2 +- + 2 files changed, 6 insertions(+), 1 deletion(-) + +diff --git a/.travis.yml b/.travis.yml +index 5a69e0a..a7cb6ab 100644 +--- a/.travis.yml ++++ b/.travis.yml +@@ -47,6 +47,11 @@ matrix: + env: + - EVENT_MANAGER_VERSION="^2.6.2" + - SERVICE_MANAGER_VERSION="^2.7.5" ++ - php: 7.1 ++ - php: 7.1 ++ env: ++ - EVENT_MANAGER_VERSION="^2.6.2" ++ - SERVICE_MANAGER_VERSION="^2.7.5" + - php: hhvm + - php: hhvm + env: +diff --git a/test/Listener/TestAsset/SampleAbstractFactory.php b/test/Listener/TestAsset/SampleAbstractFactory.php +index a8aea3d..da555ee 100644 +--- a/test/Listener/TestAsset/SampleAbstractFactory.php ++++ b/test/Listener/TestAsset/SampleAbstractFactory.php +@@ -26,7 +26,7 @@ public function canCreateServiceWithName(ServiceLocatorInterface $container, $na + return true; + } + +- public function __invoke(ContainerInterface $container, $name, array $options = []) ++ public function __invoke(ContainerInterface $container, $name, array $options = NULL) + { + return new stdClass; + } -- cgit