Test Failed
Push — master ( 72a6c5...9329b7 )
by Arun
03:52
created
src/MD5HasherProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function register()
25 25
     {
26
-        $this->app->singleton('md5hash', function () {
26
+        $this->app->singleton('md5hash', function() {
27 27
             return new MD5Hasher();
28 28
         });
29 29
     }
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Example.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@
 block discarded – undo
12 12
 
13 13
 namespace phpDocumentor\Reflection\DocBlock\Tags;
14 14
 
15
-use phpDocumentor\Reflection\DocBlock\Tag;
16
-
17 15
 /**
18 16
  * Reflection class for a {@}example tag in a Docblock.
19 17
  */
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -36,14 +36,14 @@  discard block
 block discarded – undo
36 36
     public function getContent()
37 37
     {
38 38
         if (null === $this->description) {
39
-            $filePath = '"' . $this->filePath . '"';
39
+            $filePath = '"'.$this->filePath.'"';
40 40
             if ($this->isURI) {
41 41
                 $filePath = $this->isUriRelative($this->filePath)
42 42
                     ? str_replace('%2F', '/', rawurlencode($this->filePath))
43 43
                     :$this->filePath;
44 44
             }
45 45
 
46
-            $this->description = $filePath . ' ' . parent::getContent();
46
+            $this->description = $filePath.' '.parent::getContent();
47 47
         }
48 48
 
49 49
         return $this->description;
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     public static function create($body)
56 56
     {
57 57
         // File component: File path in quotes or File URI / Source information
58
-        if (! preg_match('/^(?:\"([^\"]+)\"|(\S+))(?:\s+(.*))?$/sux', $body, $matches)) {
58
+        if (!preg_match('/^(?:\"([^\"]+)\"|(\S+))(?:\s+(.*))?$/sux', $body, $matches)) {
59 59
             return null;
60 60
         }
61 61
 
@@ -73,9 +73,9 @@  discard block
 block discarded – undo
73 73
 
74 74
         // Starting line / Number of lines / Description
75 75
         if (preg_match('/^([1-9]\d*)\s*(?:((?1))\s+)?(.*)$/sux', $matches[3], $matches)) {
76
-            $startingLine = (int)$matches[1];
76
+            $startingLine = (int) $matches[1];
77 77
             if (isset($matches[2]) && $matches[2] !== '') {
78
-                $lineCount = (int)$matches[2];
78
+                $lineCount = (int) $matches[2];
79 79
             }
80 80
             $description = $matches[3];
81 81
         }
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      */
125 125
     public function setFileURI($uri)
126 126
     {
127
-        $this->isURI   = true;
127
+        $this->isURI = true;
128 128
         $this->description = null;
129 129
 
130 130
         $this->filePath = $this->isUriRelative($uri)
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     public function __toString()
143 143
     {
144
-        return $this->filePath . ($this->description ? ' ' . $this->description->render() : '');
144
+        return $this->filePath.($this->description ? ' '.$this->description->render() : '');
145 145
     }
146 146
 
147 147
     /**
Please login to merge, or discard this patch.
reflection-docblock/tests/integration/ReconstitutingADocBlockTest.php 2 patches
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -12,11 +12,6 @@
 block discarded – undo
12 12
 
13 13
 namespace phpDocumentor\Reflection;
14 14
 
15
-use phpDocumentor\Reflection\DocBlock\Description;
16
-use phpDocumentor\Reflection\DocBlock\StandardTagFactory;
17
-use phpDocumentor\Reflection\DocBlock\Tag;
18
-use phpDocumentor\Reflection\DocBlock\Tags\See;
19
-
20 15
 /**
21 16
  * @coversNothing
22 17
  */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
          * @var string $docComment
29 29
          * @var string $reconstitutedDocComment
30 30
          */
31
-        include(__DIR__ . '/../../examples/03-reconstituting-a-docblock.php');
31
+        include(__DIR__.'/../../examples/03-reconstituting-a-docblock.php');
32 32
 
33 33
         $this->assertSame($docComment, $reconstitutedDocComment);
34 34
     }
Please login to merge, or discard this patch.
phpdocumentor/reflection-docblock/tests/integration/UsingTagsTest.php 2 patches
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -12,11 +12,6 @@
 block discarded – undo
12 12
 
13 13
 namespace phpDocumentor\Reflection;
14 14
 
15
-use phpDocumentor\Reflection\DocBlock\Description;
16
-use phpDocumentor\Reflection\DocBlock\StandardTagFactory;
17
-use phpDocumentor\Reflection\DocBlock\Tag;
18
-use phpDocumentor\Reflection\DocBlock\Tags\See;
19
-
20 15
 /**
21 16
  * @coversNothing
22 17
  */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
          * @var string   $docComment
30 30
          * @var string   $reconstitutedDocComment
31 31
          */
32
-        include(__DIR__ . '/../../examples/04-adding-your-own-tag.php');
32
+        include(__DIR__.'/../../examples/04-adding-your-own-tag.php');
33 33
 
34 34
         $this->assertInstanceOf(\MyTag::class, $customTagObjects[0]);
35 35
         $this->assertSame('my-tag', $customTagObjects[0]->getName());
36
-        $this->assertSame('I have a description', (string)$customTagObjects[0]->getDescription());
36
+        $this->assertSame('I have a description', (string) $customTagObjects[0]->getDescription());
37 37
         $this->assertSame($docComment, $reconstitutedDocComment);
38 38
     }
39 39
 }
Please login to merge, or discard this patch.
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 1 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.
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.