From 7ee2b268d4ca2e672b1c1e6599c8829321f21b91 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <jkowalsk@student.agh.edu.pl> Date: Sun, 06 Sep 2015 14:58:01 +0000 Subject: [PATCH] Add Travis CI badge to README --- uphpCAS.php | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/uphpCAS.php b/uphpCAS.php index 12f8424..77ba8d3 100644 --- a/uphpCAS.php +++ b/uphpCAS.php @@ -228,13 +228,15 @@ } } } catch(Exception $e) { - throw new JasigException('Authentication error: CAS server' - .' response invalid - parse error', 0, $e); - } finally { libxml_clear_errors(); libxml_disable_entity_loader($xmlEntityLoader); libxml_use_internal_errors($xmlInternalErrors); + throw new JasigException('Authentication error: CAS server' + .' response invalid - parse error', 0, $e); } + libxml_clear_errors(); + libxml_disable_entity_loader($xmlEntityLoader); + libxml_use_internal_errors($xmlInternalErrors); $failure = $xml->getElementsByTagName('authenticationFailure'); $success = $xml->getElementsByTagName('authenticationSuccess'); -- Gitblit v1.9.1