Test Failed
Push — master ( 72a6c5...9329b7 )
by Arun
03:52
created
phpdocumentor/reflection-docblock/tests/unit/DocBlock/SerializerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 namespace phpDocumentor\Reflection\DocBlock;
14 14
 
15
-use Mockery as m;
16 15
 use phpDocumentor\Reflection\DocBlock;
17 16
 
18 17
 /**
Please login to merge, or discard this patch.
vendor/phpdocumentor/type-resolver/examples/Classy.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace My\Example;
4 4
 
5
-use Mockery as m;
6 5
 use phpDocumentor\Reflection\Types;
7 6
 
8 7
 class Classy
Please login to merge, or discard this patch.
vendor/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,6 +2,6 @@
 block discarded – undo
2 2
 
3 3
 // autoload.php @generated by Composer
4 4
 
5
-require_once __DIR__ . '/composer/autoload_real.php';
5
+require_once __DIR__.'/composer/autoload_real.php';
6 6
 
7 7
 return ComposerAutoloaderInitbd4ffaa7f635a9733a3203fa90210d4e::getLoader();
Please login to merge, or discard this patch.
vendor/phpunit/php-text-template/src/Template.php 3 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
         else {
70 70
             throw new InvalidArgumentException(
71
-              'Template file could not be loaded.'
71
+                'Template file could not be loaded.'
72 72
             );
73 73
         }
74 74
     }
@@ -120,14 +120,14 @@  discard block
 block discarded – undo
120 120
             $error = error_get_last();
121 121
 
122 122
             throw new RuntimeException(
123
-              sprintf(
123
+                sprintf(
124 124
                 'Could not write to %s: %s',
125 125
                 $target,
126 126
                 substr(
127
-                  $error['message'],
128
-                  strpos($error['message'], ':') + 2
127
+                    $error['message'],
128
+                    strpos($error['message'], ':') + 2
129
+                )
129 130
                 )
130
-              )
131 131
             );
132 132
         }
133 133
     }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function setFile($file)
58 58
     {
59
-        $distFile = $file . '.dist';
59
+        $distFile = $file.'.dist';
60 60
 
61 61
         if (file_exists($file)) {
62 62
             $this->template = file_get_contents($file);
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         $keys = array();
99 99
 
100 100
         foreach ($this->values as $key => $value) {
101
-            $keys[] = $this->openDelimiter . $key . $this->closeDelimiter;
101
+            $keys[] = $this->openDelimiter.$key.$this->closeDelimiter;
102 102
         }
103 103
 
104 104
         return str_replace($keys, $this->values, $this->template);
Please login to merge, or discard this patch.
Braces   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -60,13 +60,9 @@
 block discarded – undo
60 60
 
61 61
         if (file_exists($file)) {
62 62
             $this->template = file_get_contents($file);
63
-        }
64
-
65
-        else if (file_exists($distFile)) {
63
+        } else if (file_exists($distFile)) {
66 64
             $this->template = file_get_contents($distFile);
67
-        }
68
-
69
-        else {
65
+        } else {
70 66
             throw new InvalidArgumentException(
71 67
               'Template file could not be loaded.'
72 68
             );
Please login to merge, or discard this patch.
vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
             return $this->copyArray($var);
108 108
         }
109 109
         // Scalar
110
-        if (! is_object($var)) {
110
+        if (!is_object($var)) {
111 111
             return $var;
112 112
         }
113 113
         // Object
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
                 $filter->apply(
190 190
                     $object,
191 191
                     $property->getName(),
192
-                    function ($object) {
192
+                    function($object) {
193 193
                         return $this->recursiveCopy($object);
194 194
                     }
195 195
                 );
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
     {
217 217
         $matched = $this->first(
218 218
             $filterRecords,
219
-            function (array $record) use ($var) {
219
+            function(array $record) use ($var) {
220 220
                 /* @var TypeMatcher $matcher */
221 221
                 $matcher = $record['matcher'];
222 222
 
Please login to merge, or discard this patch.
myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineCollectionFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         $oldCollection = $reflectionProperty->getValue($object);
22 22
 
23 23
         $newCollection = $oldCollection->map(
24
-            function ($item) use ($objectCopier) {
24
+            function($item) use ($objectCopier) {
25 25
                 return $objectCopier($item);
26 26
             }
27 27
         );
Please login to merge, or discard this patch.
reflection-docblock/examples/01-interpreting-a-simple-docblock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-require_once(__DIR__ . '/../vendor/autoload.php');
2
+require_once(__DIR__.'/../vendor/autoload.php');
3 3
 
4 4
 use phpDocumentor\Reflection\DocBlockFactory;
5 5
 
Please login to merge, or discard this patch.
reflection-docblock/examples/playing-with-descriptions/02-escaping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require_once(__DIR__ . '/../../vendor/autoload.php');
3
+require_once(__DIR__.'/../../vendor/autoload.php');
4 4
 
5 5
 use phpDocumentor\Reflection\DocBlockFactory;
6 6
 
Please login to merge, or discard this patch.
phpdocumentor/reflection-docblock/examples/03-reconstituting-a-docblock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require_once(__DIR__ . '/../vendor/autoload.php');
3
+require_once(__DIR__.'/../vendor/autoload.php');
4 4
 
5 5
 use phpDocumentor\Reflection\DocBlock\Serializer;
6 6
 use phpDocumentor\Reflection\DocBlockFactory;
Please login to merge, or discard this patch.