Merge "Fix WebInstaller style"
[lhc/web/wiklou.git] / tests / phpunit / includes / exception / MWExceptionHandlerTest.php
index 838e4f0..dc5dc6a 100644 (file)
@@ -20,14 +20,14 @@ class MWExceptionHandlerTest extends MediaWikiTestCase {
                } catch ( Exception $e ) {
                }
 
-               # Make sure our strack trace contains an array and an object passed to
+               # Make sure our stack trace contains an array and an object passed to
                # some function in the stacktrace. Else, we can not assert the trace
                # redaction achieved its job.
                $trace = $e->getTrace();
                $hasObject = false;
                $hasArray = false;
                foreach ( $trace as $frame ) {
-                       if ( ! isset( $frame['args'] ) ) {
+                       if ( !isset( $frame['args'] ) ) {
                                continue;
                        }
                        foreach ( $frame['args'] as $arg ) {
@@ -49,7 +49,7 @@ class MWExceptionHandlerTest extends MediaWikiTestCase {
                $redacted = MWExceptionHandler::getRedactedTrace( $e );
 
                foreach ( $redacted as $frame ) {
-                       if ( ! isset( $frame['args'] ) ) {
+                       if ( !isset( $frame['args'] ) ) {
                                continue;
                        }
                        foreach ( $frame['args'] as $arg ) {