From c6b2fdcb3fc5e36fbc36303a26ed2b558aa7bcd4 Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Tue, 28 Apr 2015 10:04:00 +0200
Subject: [PATCH] Fix build errors.

---
 lib/SimpleSAML/Utilities.php | 2 +-
 tests/Utils/ArraysTest.php   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/SimpleSAML/Utilities.php b/lib/SimpleSAML/Utilities.php
index bcc6649d5..5f0e7cfd5 100644
--- a/lib/SimpleSAML/Utilities.php
+++ b/lib/SimpleSAML/Utilities.php
@@ -324,7 +324,7 @@ class SimpleSAML_Utilities {
 
 
 	/**
-     * @deprecated This method will be removed in SSP 2.0. Please use openssl_random_pseudo_bytes() instead.
+	 * @deprecated This method will be removed in SSP 2.0. Please use openssl_random_pseudo_bytes() instead.
 	 */
 	public static function generateRandomBytes($length) {
 		assert('is_int($length)');
diff --git a/tests/Utils/ArraysTest.php b/tests/Utils/ArraysTest.php
index 1aa6ad431..5cc00de5d 100644
--- a/tests/Utils/ArraysTest.php
+++ b/tests/Utils/ArraysTest.php
@@ -36,7 +36,7 @@ class Utils_ArraysTest extends PHPUnit_Framework_TestCase
     /**
      * Test the normalizeAttributesArray() function with input not being an array
      *
-     * @expectedException SimpleSAML_Error_Exception
+     * @expectedException InvalidArgumentException
      */
     public function testNormalizeAttributesArrayBadInput()
     {
@@ -46,7 +46,7 @@ class Utils_ArraysTest extends PHPUnit_Framework_TestCase
     /**
      * Test the normalizeAttributesArray() function with an array with non-string attribute names.
      *
-     * @expectedException SimpleSAML_Error_Exception
+     * @expectedException InvalidArgumentException
      */
     public function testNormalizeAttributesArrayBadKeys()
     {
@@ -56,7 +56,7 @@ class Utils_ArraysTest extends PHPUnit_Framework_TestCase
     /**
      * Test the normalizeAttributesArray() function with an array with non-string attribute values.
      *
-     * @expectedException SimpleSAML_Error_Exception
+     * @expectedException InvalidArgumentException
      */
     public function testNormalizeAttributesArrayBadValues()
     {
-- 
GitLab