From 5a04fc54806a932677eb4ceef0e5d99d7ad05180 Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Tue, 1 Sep 2015 13:42:45 +0200
Subject: [PATCH] Basic reformatting.

---
 tests/lib/SimpleSAML/Utils/ArraysTest.php | 35 ++++++++++++++++-------
 1 file changed, 24 insertions(+), 11 deletions(-)

diff --git a/tests/lib/SimpleSAML/Utils/ArraysTest.php b/tests/lib/SimpleSAML/Utils/ArraysTest.php
index 014dd24b3..1c1cd5787 100644
--- a/tests/lib/SimpleSAML/Utils/ArraysTest.php
+++ b/tests/lib/SimpleSAML/Utils/ArraysTest.php
@@ -40,10 +40,14 @@ class Utils_ArraysTest extends PHPUnit_Framework_TestCase
     public function testTranspose()
     {
         // check bad arrays
-        $this->assertFalse(SimpleSAML\Utils\Arrays::transpose(array('1', '2', '3')),
-            'Invalid two-dimensional array was accepted');
-        $this->assertFalse(SimpleSAML\Utils\Arrays::transpose(array('1' => 0, '2' => '0', '3' => array(0))),
-            'Invalid elements on a two-dimensional array were accepted');
+        $this->assertFalse(
+            SimpleSAML\Utils\Arrays::transpose(array('1', '2', '3')),
+            'Invalid two-dimensional array was accepted'
+        );
+        $this->assertFalse(
+            SimpleSAML\Utils\Arrays::transpose(array('1' => 0, '2' => '0', '3' => array(0))),
+            'Invalid elements on a two-dimensional array were accepted'
+        );
 
         // check array with numerical keys
         $array = array(
@@ -64,8 +68,11 @@ class Utils_ArraysTest extends PHPUnit_Framework_TestCase
                 'key2' => 'value2'
             )
         );
-        $this->assertEquals($transposed, SimpleSAML\Utils\Arrays::transpose($array),
-            'Unexpected result of transpose()');
+        $this->assertEquals(
+            $transposed,
+            SimpleSAML\Utils\Arrays::transpose($array),
+            'Unexpected result of transpose()'
+        );
 
         // check array with string keys
         $array = array(
@@ -86,8 +93,11 @@ class Utils_ArraysTest extends PHPUnit_Framework_TestCase
                 'key2' => 'value2'
             )
         );
-        $this->assertEquals($transposed, SimpleSAML\Utils\Arrays::transpose($array),
-            'Unexpected result of transpose()');
+        $this->assertEquals(
+            $transposed,
+            SimpleSAML\Utils\Arrays::transpose($array),
+            'Unexpected result of transpose()'
+        );
 
         // check array with no keys in common between sub arrays
         $array = array(
@@ -110,7 +120,10 @@ class Utils_ArraysTest extends PHPUnit_Framework_TestCase
                 'key2' => 'value2'
             )
         );
-        $this->assertEquals($transposed, SimpleSAML\Utils\Arrays::transpose($array),
-            'Unexpected result of transpose()');
+        $this->assertEquals(
+            $transposed,
+            SimpleSAML\Utils\Arrays::transpose($array),
+            'Unexpected result of transpose()'
+        );
     }
-}
\ No newline at end of file
+}
-- 
GitLab