Completed
Pull Request — master (#22)
by Jeroen De
01:54
created
src/Loader/FileLoader.php 3 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -11,13 +11,13 @@
 block discarded – undo
11 11
      */
12 12
     public static function loadFile($filename)
13 13
     {
14
-    	if ( class_exists( \PHPUnit\Util\FileLoader::class ) ) {
15
-    		// PHPUnit 7.x+
16
-			\PHPUnit\Util\FileLoader::checkAndLoad($filename);
17
-		}
18
-		else {
19
-			// PHPUnit 6.x-
20
-			\PHPUnit\Util\Fileloader::checkAndLoad($filename);
21
-		}
14
+        if ( class_exists( \PHPUnit\Util\FileLoader::class ) ) {
15
+            // PHPUnit 7.x+
16
+            \PHPUnit\Util\FileLoader::checkAndLoad($filename);
17
+        }
18
+        else {
19
+            // PHPUnit 6.x-
20
+            \PHPUnit\Util\Fileloader::checkAndLoad($filename);
21
+        }
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public static function loadFile($filename)
13 13
     {
14
-    	if ( class_exists( \PHPUnit\Util\FileLoader::class ) ) {
14
+    	if (class_exists(\PHPUnit\Util\FileLoader::class)) {
15 15
     		// PHPUnit 7.x+
16 16
 			\PHPUnit\Util\FileLoader::checkAndLoad($filename);
17 17
 		}
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@
 block discarded – undo
14 14
     	if ( class_exists( \PHPUnit\Util\FileLoader::class ) ) {
15 15
     		// PHPUnit 7.x+
16 16
 			\PHPUnit\Util\FileLoader::checkAndLoad($filename);
17
-		}
18
-		else {
17
+		} else {
19 18
 			// PHPUnit 6.x-
20 19
 			\PHPUnit\Util\Fileloader::checkAndLoad($filename);
21 20
 		}
Please login to merge, or discard this patch.