Completed
Push — master ( fd88a6...8479c6 )
by Naveen
15:14 queued 06:42
created
tests/phpDocumentor/Reflection/DocBlock/Tag/SourceTagTest.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * phpDocumentor Source Tag Test
4
- * 
5
- * PHP version 5.3
6
- *
7
- * @author    Vasil Rangelov <[email protected]>
8
- * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
9
- * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
- * @link      http://phpdoc.org
11
- */
3
+     * phpDocumentor Source Tag Test
4
+     * 
5
+     * PHP version 5.3
6
+     *
7
+     * @author    Vasil Rangelov <[email protected]>
8
+     * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
9
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
+     * @link      http://phpdoc.org
11
+     */
12 12
 
13 13
 namespace phpDocumentor\Reflection\DocBlock\Tag;
14 14
 
Please login to merge, or discard this patch.
tests/phpDocumentor/Reflection/DocBlock/Tag/ThrowsTagTest.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * phpDocumentor Throws tag test.
4
- * 
5
- * PHP version 5.3
6
- *
7
- * @author    Mike van Riel <[email protected]>
8
- * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
9
- * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
- * @link      http://phpdoc.org
11
- */
3
+     * phpDocumentor Throws tag test.
4
+     * 
5
+     * PHP version 5.3
6
+     *
7
+     * @author    Mike van Riel <[email protected]>
8
+     * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
9
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
+     * @link      http://phpdoc.org
11
+     */
12 12
 
13 13
 namespace phpDocumentor\Reflection\DocBlock\Tag;
14 14
 
Please login to merge, or discard this patch.
tests/phpDocumentor/Reflection/DocBlock/Tag/UsesTagTest.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * phpDocumentor Uses Tag Test
4
- * 
5
- * PHP version 5.3
6
- *
7
- * @author    Daniel O'Connor <[email protected]>
8
- * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
9
- * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
- * @link      http://phpdoc.org
11
- */
3
+     * phpDocumentor Uses Tag Test
4
+     * 
5
+     * PHP version 5.3
6
+     *
7
+     * @author    Daniel O'Connor <[email protected]>
8
+     * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
9
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
+     * @link      http://phpdoc.org
11
+     */
12 12
 
13 13
 namespace phpDocumentor\Reflection\DocBlock\Tag;
14 14
 
Please login to merge, or discard this patch.
tests/phpDocumentor/Reflection/DocBlock/Tag/VersionTagTest.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * phpDocumentor Version Tag Test
4
- * 
5
- * PHP version 5.3
6
- *
7
- * @author    Vasil Rangelov <[email protected]>
8
- * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
9
- * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
- * @link      http://phpdoc.org
11
- */
3
+     * phpDocumentor Version Tag Test
4
+     * 
5
+     * PHP version 5.3
6
+     *
7
+     * @author    Vasil Rangelov <[email protected]>
8
+     * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
9
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
+     * @link      http://phpdoc.org
11
+     */
12 12
 
13 13
 namespace phpDocumentor\Reflection\DocBlock\Tag;
14 14
 
Please login to merge, or discard this patch.
reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/TagTest.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * phpDocumentor Var Tag Test
4
- * 
5
- * PHP version 5.3
6
- *
7
- * @author    Daniel O'Connor <[email protected]>
8
- * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
9
- * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
- * @link      http://phpdoc.org
11
- */
3
+     * phpDocumentor Var Tag Test
4
+     * 
5
+     * PHP version 5.3
6
+     *
7
+     * @author    Daniel O'Connor <[email protected]>
8
+     * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
9
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
+     * @link      http://phpdoc.org
11
+     */
12 12
 
13 13
 namespace phpDocumentor\Reflection\DocBlock;
14 14
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
             $this->markTestSkipped('"data" URIs for includes are required.');
208 208
         }
209 209
 
210
-        include 'data:text/plain;base64,'. base64_encode(
210
+        include 'data:text/plain;base64,' . base64_encode(
211 211
             <<<DOCBLOCK_EXTENSION
212 212
 <?php
213 213
 class MyReflectionDocBlock extends \phpDocumentor\Reflection\DocBlock {
Please login to merge, or discard this patch.
tests/phpDocumentor/Reflection/DocBlock/Type/CollectionTest.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * phpDocumentor Collection Test
4
- * 
5
- * PHP version 5.3
6
- *
7
- * @author    Mike van Riel <[email protected]>
8
- * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
9
- * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
- * @link      http://phpdoc.org
11
- */
3
+     * phpDocumentor Collection Test
4
+     * 
5
+     * PHP version 5.3
6
+     *
7
+     * @author    Mike van Riel <[email protected]>
8
+     * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
9
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
+     * @link      http://phpdoc.org
11
+     */
12 12
 
13 13
 namespace phpDocumentor\Reflection\DocBlock\Type;
14 14
 
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -152,30 +152,30 @@
 block discarded – undo
152 152
             array('int', array('int')),
153 153
             array('int ', array('int')),
154 154
             array('string', array('string')),
155
-            array('DocBlock', array($namespace.'DocBlock')),
156
-            array('DocBlock[]', array($namespace.'DocBlock[]')),
157
-            array(' DocBlock ', array($namespace.'DocBlock')),
155
+            array('DocBlock', array($namespace . 'DocBlock')),
156
+            array('DocBlock[]', array($namespace . 'DocBlock[]')),
157
+            array(' DocBlock ', array($namespace . 'DocBlock')),
158 158
             array('\My\Space\DocBlock', array('\My\Space\DocBlock')),
159 159
             array('Alias\DocBlock', array('\My\Space\Aliasing\DocBlock')),
160 160
             array(
161 161
                 'DocBlock|Tag',
162
-                array($namespace .'DocBlock', $namespace .'Tag')
162
+                array($namespace . 'DocBlock', $namespace . 'Tag')
163 163
             ),
164 164
             array(
165 165
                 'DocBlock|null',
166
-                array($namespace.'DocBlock', 'null')
166
+                array($namespace . 'DocBlock', 'null')
167 167
             ),
168 168
             array(
169 169
                 '\My\Space\DocBlock|Tag',
170
-                array('\My\Space\DocBlock', $namespace.'Tag')
170
+                array('\My\Space\DocBlock', $namespace . 'Tag')
171 171
             ),
172 172
             array(
173 173
                 'DocBlock[]|null',
174
-                array($namespace.'DocBlock[]', 'null')
174
+                array($namespace . 'DocBlock[]', 'null')
175 175
             ),
176 176
             array(
177 177
                 'DocBlock[]|int[]',
178
-                array($namespace.'DocBlock[]', 'int[]')
178
+                array($namespace . 'DocBlock[]', 'int[]')
179 179
             ),
180 180
         );
181 181
     }
Please login to merge, or discard this patch.
reflection-docblock/tests/phpDocumentor/Reflection/DocBlockTest.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * phpDocumentor DocBlock Test
4
- *
5
- * PHP Version 5.3
6
- *
7
- * @author    Mike van Riel <[email protected]>
8
- * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
9
- * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
- * @link      http://phpdoc.org
11
- */
3
+     * phpDocumentor DocBlock Test
4
+     *
5
+     * PHP Version 5.3
6
+     *
7
+     * @author    Mike van Riel <[email protected]>
8
+     * @copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
9
+     * @license   http://www.opensource.org/licenses/mit-license.php MIT
10
+     * @link      http://phpdoc.org
11
+     */
12 12
 
13 13
 namespace phpDocumentor\Reflection;
14 14
 
@@ -309,9 +309,9 @@  discard block
 block discarded – undo
309 309
 DOCBLOCK;
310 310
         $object = new DocBlock($fixture);
311 311
         $this->assertCount(1, $tags = $object->getTags());
312
-	    /** @var ReturnTag $tag */
313
-	    $tag = reset($tags);
314
-	    $this->assertEquals("Content on\n    multiple lines.\n\n    One more, after the break.", $tag->getDescription());
312
+        /** @var ReturnTag $tag */
313
+        $tag = reset($tags);
314
+        $this->assertEquals("Content on\n    multiple lines.\n\n    One more, after the break.", $tag->getDescription());
315 315
     }
316 316
 
317 317
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
             $this->markTestSkipped('"data" URIs for includes are required.');
208 208
         }
209 209
 
210
-        include 'data:text/plain;base64,'. base64_encode(
210
+        include 'data:text/plain;base64,' . base64_encode(
211 211
             <<<DOCBLOCK_EXTENSION
212 212
 <?php
213 213
 class MyReflectionDocBlock extends \phpDocumentor\Reflection\DocBlock {
Please login to merge, or discard this patch.
phpspec/prophecy/spec/Prophecy/Argument/Token/ArrayCountTokenSpec.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
     function it_scores_6_if_argument_array_has_proper_count()
25 25
     {
26
-        $this->scoreArgument(array(1,2))->shouldReturn(6);
26
+        $this->scoreArgument(array(1, 2))->shouldReturn(6);
27 27
     }
28 28
 
29 29
     /**
Please login to merge, or discard this patch.
phpspec/prophecy/spec/Prophecy/Argument/Token/ArrayEntryTokenSpec.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     function it_scores_traversable_object_half_of_combined_scores_from_key_and_value_tokens($key, $value, $object)
76 76
     {
77
-        $object->current()->will(function () use ($object) {
77
+        $object->current()->will(function() use ($object) {
78 78
             $object->valid()->willReturn(false);
79 79
 
80 80
             return 'value';
@@ -96,8 +96,8 @@  discard block
 block discarded – undo
96 96
     function it_throws_exception_during_scoring_of_array_accessible_object_if_key_is_not_ExactValueToken($key, $value, $object)
97 97
     {
98 98
         $key->__toString()->willReturn('any_token');
99
-        $this->beConstructedWith($key,$value);
100
-        $errorMessage = 'You can only use exact value tokens to match key of ArrayAccess object'.PHP_EOL.
99
+        $this->beConstructedWith($key, $value);
100
+        $errorMessage = 'You can only use exact value tokens to match key of ArrayAccess object' . PHP_EOL .
101 101
                         'But you used `any_token`.';
102 102
         $this->shouldThrow(new InvalidArgumentException($errorMessage))->duringScoreArgument($object);
103 103
     }
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     function it_accepts_any_key_token_type_to_score_object_that_is_both_traversable_and_array_accessible($key, $value, $object)
126 126
     {
127 127
         $this->beConstructedWith($key, $value);
128
-        $object->current()->will(function () use ($object) {
128
+        $object->current()->will(function() use ($object) {
129 129
             $object->valid()->willReturn(false);
130 130
 
131 131
             return 'value';
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     function it_does_not_score_traversable_object_if_key_and_value_tokens_do_not_score_same_entry($key, $value, $object)
178 178
     {
179 179
         $object->current()->willReturn('foo');
180
-        $object->current()->will(function () use ($object) {
180
+        $object->current()->will(function() use ($object) {
181 181
             $object->valid()->willReturn(false);
182 182
 
183 183
             return 'bar';
Please login to merge, or discard this patch.