Test Failed
Push — master ( 76ec29...a19daf )
by ANDRE
02:15
created
src/class-simple-featured-image-column.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 				$columns = array();
48 48
 			}
49 49
 			$new = array();
50
-			foreach ($columns as $key => $title){
50
+			foreach ($columns as $key => $title) {
51 51
 				if ($key == 'title') {
52 52
 					$new['featured-image'] = /** @scrutinizer ignore-call */ __('Image', 'wordpress');
53 53
 				}
Please login to merge, or discard this patch.
src/autoload.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,16 +6,16 @@
 block discarded – undo
6 6
  * Code inspired from the SplClassLoader RFC
7 7
  * @see https://wiki.php.net/rfc/splclassloader#example_implementation
8 8
  */
9
-spl_autoload_register(function ($className) {
9
+spl_autoload_register(function($className) {
10 10
     $className = ltrim($className, '\\');
11 11
     $fileName = '';
12 12
     $namespace = '';
13 13
     if ($lastNsPos = strripos($className, '\\')) {
14 14
         $namespace = substr($className, 0, $lastNsPos);
15 15
         $className = substr($className, $lastNsPos + 1);
16
-        $fileName = str_replace('\\', DIRECTORY_SEPARATOR, $namespace) . DIRECTORY_SEPARATOR;
16
+        $fileName = str_replace('\\', DIRECTORY_SEPARATOR, $namespace).DIRECTORY_SEPARATOR;
17 17
     }
18
-    $fileName = __DIR__ . DIRECTORY_SEPARATOR . $fileName . $className . '.php';
18
+    $fileName = __DIR__.DIRECTORY_SEPARATOR.$fileName.$className.'.php';
19 19
     if (file_exists($fileName)) {
20 20
         require $fileName;
21 21
 
Please login to merge, or discard this patch.
tests/class-test-simple-column.spec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,6 +32,6 @@
 block discarded – undo
32 32
 	function setUp() {
33 33
 		parent::setUp();
34 34
 		$this->sfic = new Simple_Featured_Image_Column;
35
-		$this->assertTrue( true );
35
+		$this->assertTrue(true);
36 36
 	}
37 37
 }
Please login to merge, or discard this patch.