Completed
Pull Request — master (#1)
by Harry
05:33 queued 02:35
created
tests/unit/Runner/ToAllTest.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
 namespace Graze\DataFlow\Test\Unit\Runner;
15 15
 
16 16
 use Graze\DataFlow\Flow;
17
+use Graze\DataFlow\FlowInterface;
17 18
 use Graze\DataFlow\Flow\FlowCollection;
18 19
 use Graze\DataFlow\Flow\Runner\ToAll;
19
-use Graze\DataFlow\FlowInterface;
20 20
 use Graze\DataFlow\Test\TestCase;
21 21
 use Graze\DataNode\NodeCollection;
22 22
 use Graze\DataNode\NodeInterface;
Please login to merge, or discard this patch.
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-flow
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-flow
12
- */
3
+     * This file is part of graze/data-flow
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-flow
12
+     */
13 13
 
14 14
 namespace Graze\DataFlow\Test\Unit\Runner;
15 15
 
@@ -43,11 +43,11 @@  discard block
 block discarded – undo
43 43
         $node3 = m::mock(NodeInterface::class);
44 44
 
45 45
         $flow1->shouldReceive('flow')
46
-              ->with($node1)
47
-              ->andReturn($node2);
46
+                ->with($node1)
47
+                ->andReturn($node2);
48 48
         $flow2->shouldReceive('flow')
49
-              ->with($node1)
50
-              ->andReturn($node3);
49
+                ->with($node1)
50
+                ->andReturn($node3);
51 51
 
52 52
         $output = $runner->flow($node1);
53 53
 
@@ -68,11 +68,11 @@  discard block
 block discarded – undo
68 68
         $node3 = m::mock(NodeInterface::class);
69 69
 
70 70
         $flow1->shouldReceive('flow')
71
-              ->with($node1)
72
-              ->andReturn($node2);
71
+                ->with($node1)
72
+                ->andReturn($node2);
73 73
         $flow2->shouldReceive('flow')
74
-              ->with($node1)
75
-              ->andReturn($node3);
74
+                ->with($node1)
75
+                ->andReturn($node3);
76 76
 
77 77
         $output = $runner->flow($node1);
78 78
 
@@ -93,11 +93,11 @@  discard block
 block discarded – undo
93 93
         $node3 = m::mock(NodeInterface::class);
94 94
 
95 95
         $flow1->shouldReceive('flow')
96
-              ->with($node1)
97
-              ->andReturn($node2);
96
+                ->with($node1)
97
+                ->andReturn($node2);
98 98
         $flow2->shouldReceive('flow')
99
-              ->with($node1)
100
-              ->andReturn($node3);
99
+                ->with($node1)
100
+                ->andReturn($node3);
101 101
 
102 102
         $output = call_user_func($runner, $node1);
103 103
 
Please login to merge, or discard this patch.
src/Flow.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-flow
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-flow
12
- */
3
+     * This file is part of graze/data-flow
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-flow
12
+     */
13 13
 
14 14
 namespace Graze\DataFlow;
15 15
 
Please login to merge, or discard this patch.
src/Flow/AbstractFlow.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-flow
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-flow
12
- */
3
+     * This file is part of graze/data-flow
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-flow
12
+     */
13 13
 
14 14
 namespace Graze\DataFlow;
15 15
 
Please login to merge, or discard this patch.
src/Flow/Callback.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-flow
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-flow
12
- */
3
+     * This file is part of graze/data-flow
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-flow
12
+     */
13 13
 
14 14
 namespace Graze\DataFlow;
15 15
 
Please login to merge, or discard this patch.
src/Flow/Collection/Each.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-flow
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-flow
12
- */
3
+     * This file is part of graze/data-flow
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-flow
12
+     */
13 13
 
14 14
 namespace Graze\DataFlow;
15 15
 
Please login to merge, or discard this patch.
src/Flow/Collection/Filter.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-flow
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-flow
12
- */
3
+     * This file is part of graze/data-flow
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-flow
12
+     */
13 13
 
14 14
 namespace Graze\DataFlow;
15 15
 
Please login to merge, or discard this patch.
src/Flow/Collection/First.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-flow
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-flow
12
- */
3
+     * This file is part of graze/data-flow
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-flow
12
+     */
13 13
 
14 14
 namespace Graze\DataFlow;
15 15
 
Please login to merge, or discard this patch.
src/Flow/Collection/Last.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-flow
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-flow
12
- */
3
+     * This file is part of graze/data-flow
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-flow
12
+     */
13 13
 
14 14
 namespace Graze\DataFlow;
15 15
 
Please login to merge, or discard this patch.
src/Flow/Collection/Map.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-flow
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-flow
12
- */
3
+     * This file is part of graze/data-flow
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-flow/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-flow
12
+     */
13 13
 
14 14
 namespace Graze\DataFlow;
15 15
 
Please login to merge, or discard this patch.