Test Failed
Push — master ( 72a6c5...9329b7 )
by Arun
03:52
created
phpdocumentor/reflection-docblock/tests/unit/DocBlock/Tags/CoversTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     {
104 104
         $fixture = new Covers(new Fqsen('\DateTime'), new Description('Description'));
105 105
 
106
-        $this->assertSame('\DateTime Description', (string)$fixture);
106
+        $this->assertSame('\DateTime Description', (string) $fixture);
107 107
     }
108 108
 
109 109
     /**
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 
131 131
         $fixture = Covers::create('DateTime My Description', $descriptionFactory, $resolver, $context);
132 132
 
133
-        $this->assertSame('\DateTime My Description', (string)$fixture);
133
+        $this->assertSame('\DateTime My Description', (string) $fixture);
134 134
         $this->assertSame($fqsen, $fixture->getReference());
135 135
         $this->assertSame($description, $fixture->getDescription());
136 136
     }
Please login to merge, or discard this patch.
phpdocumentor/reflection-docblock/tests/unit/DocBlock/Tags/ParamTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     {
140 140
         $fixture = new Param('myParameter', new String_(), true, new Description('Description'));
141 141
 
142
-        $this->assertSame('string ...$myParameter Description', (string)$fixture);
142
+        $this->assertSame('string ...$myParameter Description', (string) $fixture);
143 143
     }
144 144
 
145 145
     /**
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 
161 161
         $fixture = Param::create('string ...$myParameter My Description', $typeResolver, $descriptionFactory, $context);
162 162
 
163
-        $this->assertSame('string ...$myParameter My Description', (string)$fixture);
163
+        $this->assertSame('string ...$myParameter My Description', (string) $fixture);
164 164
         $this->assertSame('myParameter', $fixture->getVariableName());
165 165
         $this->assertInstanceOf(String_::class, $fixture->getType());
166 166
         $this->assertTrue($fixture->isVariadic());
Please login to merge, or discard this patch.
phpdocumentor/reflection-docblock/tests/unit/DocBlock/Tags/SeeTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     {
104 104
         $fixture = new See(new Fqsen('\DateTime'), new Description('Description'));
105 105
 
106
-        $this->assertSame('\DateTime Description', (string)$fixture);
106
+        $this->assertSame('\DateTime Description', (string) $fixture);
107 107
     }
108 108
 
109 109
     /**
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 
131 131
         $fixture = See::create('DateTime My Description', $resolver, $descriptionFactory, $context);
132 132
 
133
-        $this->assertSame('\DateTime My Description', (string)$fixture);
133
+        $this->assertSame('\DateTime My Description', (string) $fixture);
134 134
         $this->assertSame($fqsen, $fixture->getReference());
135 135
         $this->assertSame($description, $fixture->getDescription());
136 136
     }
Please login to merge, or discard this patch.
phpdocumentor/reflection-docblock/tests/unit/DocBlock/Tags/SinceTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     {
102 102
         $fixture = new Since('1.0', new Description('Description'));
103 103
 
104
-        $this->assertSame('1.0 Description', (string)$fixture);
104
+        $this->assertSame('1.0 Description', (string) $fixture);
105 105
     }
106 106
 
107 107
     /**
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 
124 124
         $fixture = Since::create('1.0 My Description', $descriptionFactory, $context);
125 125
 
126
-        $this->assertSame('1.0 My Description', (string)$fixture);
126
+        $this->assertSame('1.0 My Description', (string) $fixture);
127 127
         $this->assertSame($version, $fixture->getVersion());
128 128
         $this->assertSame($description, $fixture->getDescription());
129 129
     }
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 
143 143
         $fixture = Since::create('', $descriptionFactory, new Context(''));
144 144
 
145
-        $this->assertSame('', (string)$fixture);
145
+        $this->assertSame('', (string) $fixture);
146 146
         $this->assertSame(null, $fixture->getVersion());
147 147
         $this->assertSame(null, $fixture->getDescription());
148 148
     }
Please login to merge, or discard this patch.
phpdocumentor/reflection-docblock/tests/unit/DocBlock/Tags/VarTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     {
122 122
         $fixture = new Var_('myVariable', new String_(), new Description('Description'));
123 123
 
124
-        $this->assertSame('string $myVariable Description', (string)$fixture);
124
+        $this->assertSame('string $myVariable Description', (string) $fixture);
125 125
     }
126 126
 
127 127
     /**
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 
143 143
         $fixture = Var_::create('string $myVariable My Description', $typeResolver, $descriptionFactory, $context);
144 144
 
145
-        $this->assertSame('string $myVariable My Description', (string)$fixture);
145
+        $this->assertSame('string $myVariable My Description', (string) $fixture);
146 146
         $this->assertSame('myVariable', $fixture->getVariableName());
147 147
         $this->assertInstanceOf(String_::class, $fixture->getType());
148 148
         $this->assertSame($description, $fixture->getDescription());
Please login to merge, or discard this patch.
reflection-docblock/tests/unit/DocBlock/Tags/DeprecatedTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     {
102 102
         $fixture = new Deprecated('1.0', new Description('Description'));
103 103
 
104
-        $this->assertSame('1.0 Description', (string)$fixture);
104
+        $this->assertSame('1.0 Description', (string) $fixture);
105 105
     }
106 106
 
107 107
     /**
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 
124 124
         $fixture = Deprecated::create('1.0 My Description', $descriptionFactory, $context);
125 125
 
126
-        $this->assertSame('1.0 My Description', (string)$fixture);
126
+        $this->assertSame('1.0 My Description', (string) $fixture);
127 127
         $this->assertSame($version, $fixture->getVersion());
128 128
         $this->assertSame($description, $fixture->getDescription());
129 129
     }
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 
143 143
         $fixture = Deprecated::create('', $descriptionFactory, new Context(''));
144 144
 
145
-        $this->assertSame('', (string)$fixture);
145
+        $this->assertSame('', (string) $fixture);
146 146
         $this->assertSame(null, $fixture->getVersion());
147 147
         $this->assertSame(null, $fixture->getDescription());
148 148
     }
Please login to merge, or discard this patch.
phpdocumentor/reflection-docblock/tests/unit/DocBlock/Tags/GenericTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     {
90 90
         $fixture = new Generic('generic', new Description('Description'));
91 91
 
92
-        $this->assertSame('Description', (string)$fixture);
92
+        $this->assertSame('Description', (string) $fixture);
93 93
     }
94 94
 
95 95
     /**
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 
112 112
         $fixture = Generic::create('My Description', 'generic', $descriptionFactory, $context);
113 113
 
114
-        $this->assertSame('My Description', (string)$fixture);
114
+        $this->assertSame('My Description', (string) $fixture);
115 115
         $this->assertSame($generics, $fixture->getName());
116 116
         $this->assertSame($description, $fixture->getDescription());
117 117
     }
Please login to merge, or discard this patch.
phpdocumentor/reflection-docblock/tests/unit/DocBlock/Tags/ReturnTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     {
104 104
         $fixture = new Return_(new String_(), new Description('Description'));
105 105
 
106
-        $this->assertSame('string Description', (string)$fixture);
106
+        $this->assertSame('string Description', (string) $fixture);
107 107
     }
108 108
 
109 109
     /**
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 
128 128
         $fixture = Return_::create('string My Description', $resolver, $descriptionFactory, $context);
129 129
 
130
-        $this->assertSame('string My Description', (string)$fixture);
130
+        $this->assertSame('string My Description', (string) $fixture);
131 131
         $this->assertEquals($type, $fixture->getType());
132 132
         $this->assertSame($description, $fixture->getDescription());
133 133
     }
Please login to merge, or discard this patch.
phpdocumentor/reflection-docblock/tests/unit/DocBlock/Tags/ThrowsTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     {
104 104
         $fixture = new Throws(new String_(), new Description('Description'));
105 105
 
106
-        $this->assertSame('string Description', (string)$fixture);
106
+        $this->assertSame('string Description', (string) $fixture);
107 107
     }
108 108
 
109 109
     /**
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 
128 128
         $fixture = Throws::create('string My Description', $resolver, $descriptionFactory, $context);
129 129
 
130
-        $this->assertSame('string My Description', (string)$fixture);
130
+        $this->assertSame('string My Description', (string) $fixture);
131 131
         $this->assertEquals($type, $fixture->getType());
132 132
         $this->assertSame($description, $fixture->getDescription());
133 133
     }
Please login to merge, or discard this patch.