From d4cc6990e48ca4f98e16c717dcdbdf37473312fd Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Thu, 22 May 2014 03:02:25 +0200 Subject: [PATCH] [ticket/12575] Skip sniffer issue triggered by the solution of a php bug https://bugs.php.net/bug.php?id=66834 https://bugs.php.net/bug.php?id=67067 PHPBB3-12575 --- phpBB/phpbb/di/service_collection.php | 7 +++++++ phpBB/phpbb/di/service_collection_iterator.php | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/phpBB/phpbb/di/service_collection.php b/phpBB/phpbb/di/service_collection.php index 6a2e62a553..ebf933d338 100644 --- a/phpBB/phpbb/di/service_collection.php +++ b/phpBB/phpbb/di/service_collection.php @@ -38,6 +38,12 @@ class service_collection extends \ArrayObject return new service_collection_iterator($this->container, $this); } + // Because of a PHP issue we have to redefine offsetExists + // (even