From 789262aa94448e365936494b771a5a6463c55db0 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Wed, 21 Mar 2018 10:01:13 +0100
Subject: [PATCH] Don't autoload the 'Throwable' interface

Fixes https://github.com/simplesamlphp/simplesamlphp/issues/818
---
 lib/SimpleSAML/Configuration.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Configuration.php b/lib/SimpleSAML/Configuration.php
index 71e618ae9..3440f1e9d 100644
--- a/lib/SimpleSAML/Configuration.php
+++ b/lib/SimpleSAML/Configuration.php
@@ -118,7 +118,7 @@ class SimpleSAML_Configuration implements \SimpleSAML\Utils\ClearableState
 
             // the file initializes a variable named '$config'
             ob_start();
-            if (interface_exists('Throwable')) {
+            if (interface_exists('Throwable', false)) {
                 try {
                     require($filename);
                 } catch (ParseError $e) {
-- 
GitLab