Test Failed
Push — develop ( 38bc20...a43681 )
by Àlex
05:29
created
PHPCI/Plugin/Gulp.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHPCI - Continuous Integration for PHP.
4
- *
5
- * @copyright    Copyright 2014, Block 8 Limited.
6
- * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
- *
8
- * @link         https://www.phptesting.org/
9
- */
3
+     * PHPCI - Continuous Integration for PHP.
4
+     *
5
+     * @copyright    Copyright 2014, Block 8 Limited.
6
+     * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
+     *
8
+     * @link         https://www.phptesting.org/
9
+     */
10 10
 
11 11
 namespace PHPCI\Plugin;
12 12
 
Please login to merge, or discard this patch.
PHPCI/Plugin/PhpDocblockChecker.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHPCI - Continuous Integration for PHP.
4
- *
5
- * @copyright    Copyright 2014, Block 8 Limited.
6
- * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
- *
8
- * @link         https://www.phptesting.org/
9
- */
3
+     * PHPCI - Continuous Integration for PHP.
4
+     *
5
+     * @copyright    Copyright 2014, Block 8 Limited.
6
+     * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
+     *
8
+     * @link         https://www.phptesting.org/
9
+     */
10 10
 
11 11
 namespace PHPCI\Plugin;
12 12
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
         }
96 96
 
97 97
         if (array_key_exists('allowed_warnings', $options)) {
98
-            $this->allowed_warnings = (int) $options['allowed_warnings'];
98
+            $this->allowed_warnings = (int)$options['allowed_warnings'];
99 99
         }
100 100
     }
101 101
 
Please login to merge, or discard this patch.
PHPCI/Plugin/CopyBuild.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHPCI - Continuous Integration for PHP.
4
- *
5
- * @copyright    Copyright 2014, Block 8 Limited.
6
- * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
- *
8
- * @link         https://www.phptesting.org/
9
- */
3
+     * PHPCI - Continuous Integration for PHP.
4
+     *
5
+     * @copyright    Copyright 2014, Block 8 Limited.
6
+     * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
+     *
8
+     * @link         https://www.phptesting.org/
9
+     */
10 10
 
11 11
 namespace PHPCI\Plugin;
12 12
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
         $this->phpci = $phpci;
41 41
         $this->build = $build;
42 42
         $this->directory = isset($options['directory']) ? $options['directory'] : $path;
43
-        $this->wipe = isset($options['wipe']) ?  (bool) $options['wipe'] : false;
44
-        $this->ignore = isset($options['respect_ignore']) ?  (bool) $options['respect_ignore'] : false;
43
+        $this->wipe = isset($options['wipe']) ? (bool)$options['wipe'] : false;
44
+        $this->ignore = isset($options['respect_ignore']) ? (bool)$options['respect_ignore'] : false;
45 45
     }
46 46
 
47 47
     /**
Please login to merge, or discard this patch.
PHPCI/Plugin/Pgsql.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHPCI - Continuous Integration for PHP.
4
- *
5
- * @copyright    Copyright 2014, Block 8 Limited.
6
- * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
- *
8
- * @link         https://www.phptesting.org/
9
- */
3
+     * PHPCI - Continuous Integration for PHP.
4
+     *
5
+     * @copyright    Copyright 2014, Block 8 Limited.
6
+     * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
+     *
8
+     * @link         https://www.phptesting.org/
9
+     */
10 10
 
11 11
 namespace PHPCI\Plugin;
12 12
 
Please login to merge, or discard this patch.
PHPCI/Plugin/PhpLoc.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHPCI - Continuous Integration for PHP.
4
- *
5
- * @copyright    Copyright 2014, Block 8 Limited.
6
- * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
- *
8
- * @link         https://www.phptesting.org/
9
- */
3
+     * PHPCI - Continuous Integration for PHP.
4
+     *
5
+     * @copyright    Copyright 2014, Block 8 Limited.
6
+     * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
+     *
8
+     * @link         https://www.phptesting.org/
9
+     */
10 10
 
11 11
 namespace PHPCI\Plugin;
12 12
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         $ignore = '';
75 75
 
76 76
         if (count($this->phpci->ignore)) {
77
-            $map = function ($item) {
77
+            $map = function($item) {
78 78
                 return ' --exclude '.rtrim($item, DIRECTORY_SEPARATOR);
79 79
             };
80 80
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         if (preg_match_all('/\((LOC|CLOC|NCLOC|LLOC)\)\s+([0-9]+)/', $output, $matches)) {
91 91
             $data = array();
92 92
             foreach ($matches[1] as $k => $v) {
93
-                $data[$v] = (int) $matches[2][$k];
93
+                $data[$v] = (int)$matches[2][$k];
94 94
             }
95 95
 
96 96
             $this->build->storeMeta('phploc', $data);
Please login to merge, or discard this patch.
PHPCI/Plugin/Email.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHPCI - Continuous Integration for PHP.
4
- *
5
- * @copyright    Copyright 2014, Block 8 Limited.
6
- * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
- *
8
- * @link         https://www.phptesting.org/
9
- */
3
+     * PHPCI - Continuous Integration for PHP.
4
+     *
5
+     * @copyright    Copyright 2014, Block 8 Limited.
6
+     * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
+     *
8
+     * @link         https://www.phptesting.org/
9
+     */
10 10
 
11 11
 namespace PHPCI\Plugin;
12 12
 
Please login to merge, or discard this patch.
PHPCI/Plugin/PhpUnit.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHPCI - Continuous Integration for PHP.
4
- *
5
- * @copyright    Copyright 2014, Block 8 Limited.
6
- * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
- *
8
- * @link         https://www.phptesting.org/
9
- */
3
+     * PHPCI - Continuous Integration for PHP.
4
+     *
5
+     * @copyright    Copyright 2014, Block 8 Limited.
6
+     * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
+     *
8
+     * @link         https://www.phptesting.org/
9
+     */
10 10
 
11 11
 namespace PHPCI\Plugin;
12 12
 
Please login to merge, or discard this patch.
PHPCI/Plugin/PhpSpec.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHPCI - Continuous Integration for PHP.
4
- *
5
- * @copyright    Copyright 2014, Block 8 Limited.
6
- * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
- *
8
- * @link         https://www.phptesting.org/
9
- */
3
+     * PHPCI - Continuous Integration for PHP.
4
+     *
5
+     * @copyright    Copyright 2014, Block 8 Limited.
6
+     * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
+     *
8
+     * @link         https://www.phptesting.org/
9
+     */
10 10
 
11 11
 namespace PHPCI\Plugin;
12 12
 
Please login to merge, or discard this patch.
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -78,10 +78,10 @@  discard block
 block discarded – undo
78 78
         $xml = new \SimpleXMLElement($output);
79 79
         $attr = $xml->attributes();
80 80
         $data = array(
81
-            'time' => (float) $attr['time'],
82
-            'tests' => (int) $attr['tests'],
83
-            'failures' => (int) $attr['failures'],
84
-            'errors' => (int) $attr['errors'],
81
+            'time' => (float)$attr['time'],
82
+            'tests' => (int)$attr['tests'],
83
+            'failures' => (int)$attr['failures'],
84
+            'errors' => (int)$attr['errors'],
85 85
 
86 86
             // now all the tests
87 87
             'suites' => array(),
@@ -93,12 +93,12 @@  discard block
 block discarded – undo
93 93
         foreach ($xml->xpath('testsuite') as $group) {
94 94
             $attr = $group->attributes();
95 95
             $suite = array(
96
-                'name' => (String) $attr['name'],
97
-                'time' => (float) $attr['time'],
98
-                'tests' => (int) $attr['tests'],
99
-                'failures' => (int) $attr['failures'],
100
-                'errors' => (int) $attr['errors'],
101
-                'skipped' => (int) $attr['skipped'],
96
+                'name' => (String)$attr['name'],
97
+                'time' => (float)$attr['time'],
98
+                'tests' => (int)$attr['tests'],
99
+                'failures' => (int)$attr['failures'],
100
+                'errors' => (int)$attr['errors'],
101
+                'skipped' => (int)$attr['skipped'],
102 102
 
103 103
                 // now the cases
104 104
                 'cases' => array(),
@@ -110,10 +110,10 @@  discard block
 block discarded – undo
110 110
             foreach ($group->xpath('testcase') as $child) {
111 111
                 $attr = $child->attributes();
112 112
                 $case = array(
113
-                    'name' => (String) $attr['name'],
114
-                    'classname' => (String) $attr['classname'],
115
-                    'time' => (float) $attr['time'],
116
-                    'status' => (String) $attr['status'],
113
+                    'name' => (String)$attr['name'],
114
+                    'classname' => (String)$attr['classname'],
115
+                    'time' => (float)$attr['time'],
116
+                    'status' => (String)$attr['status'],
117 117
                 );
118 118
 
119 119
                 if ($case['status'] == 'failed') {
@@ -125,12 +125,12 @@  discard block
 block discarded – undo
125 125
                      */
126 126
                     foreach ($child->xpath('failure') as $failure) {
127 127
                         $attr = $failure->attributes();
128
-                        $error['type'] = (String) $attr['type'];
129
-                        $error['message'] = (String) $attr['message'];
128
+                        $error['type'] = (String)$attr['type'];
129
+                        $error['message'] = (String)$attr['message'];
130 130
                     }
131 131
 
132 132
                     foreach ($child->xpath('system-err') as $system_err) {
133
-                        $error['raw'] = (String) $system_err;
133
+                        $error['raw'] = (String)$system_err;
134 134
                     }
135 135
 
136 136
                     $case['error'] = $error;
Please login to merge, or discard this patch.
PHPCI/Plugin/PhpParallelLint.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * PHPCI - Continuous Integration for PHP.
4
- *
5
- * @copyright    Copyright 2014, Block 8 Limited.
6
- * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
- *
8
- * @link         https://www.phptesting.org/
9
- */
3
+     * PHPCI - Continuous Integration for PHP.
4
+     *
5
+     * @copyright    Copyright 2014, Block 8 Limited.
6
+     * @license      https://github.com/Block8/PHPCI/blob/master/LICENSE.md
7
+     *
8
+     * @link         https://www.phptesting.org/
9
+     */
10 10
 
11 11
 namespace PHPCI\Plugin;
12 12
 
Please login to merge, or discard this patch.