Completed
Pull Request — master (#141)
by Bhanu
37:51 queued 34s
created
vendor/phpspec/phpspec/spec/PhpSpec/Matcher/CallbackMatcherSpec.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use Prophecy\Argument;
7
-
8 7
 use PhpSpec\Formatter\Presenter\PresenterInterface;
9 8
 
10 9
 class CallbackMatcherSpec extends ObjectBehavior
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
         $presenter->presentValue(Argument::any())->willReturn('val');
15 15
         $presenter->presentString(Argument::any())->willReturnArgument();
16 16
 
17
-        $this->beConstructedWith('custom', function () {}, $presenter);
17
+        $this->beConstructedWith('custom', function() {}, $presenter);
18 18
     }
19 19
 
20 20
     function it_is_a_matcher()
@@ -34,14 +34,14 @@  discard block
 block discarded – undo
34 34
 
35 35
     function it_matches_if_callback_returns_true($presenter)
36 36
     {
37
-        $this->beConstructedWith('custom', function () { return true; }, $presenter);
37
+        $this->beConstructedWith('custom', function() { return true; }, $presenter);
38 38
 
39 39
         $this->shouldNotThrow()->duringPositiveMatch('custom', array(), array());
40 40
     }
41 41
 
42 42
     function it_does_not_match_if_callback_returns_false($presenter)
43 43
     {
44
-        $this->beConstructedWith('custom', function () { return false; }, $presenter);
44
+        $this->beConstructedWith('custom', function() { return false; }, $presenter);
45 45
 
46 46
         $this->shouldThrow()->duringPositiveMatch('custom', array(), array());
47 47
     }
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Matcher/ComparisonMatcherSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use Prophecy\Argument;
7
-
8 7
 use PhpSpec\Formatter\Presenter\PresenterInterface;
9 8
 use PhpSpec\Exception\Example\FailureException;
10 9
 
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Matcher/ObjectStateMatcherSpec.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use Prophecy\Argument;
7
-
8 7
 use PhpSpec\Formatter\Presenter\PresenterInterface;
9 8
 
10 9
 class ObjectStateMatcherSpec extends ObjectBehavior
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
 
87 87
     function it_does_not_match_if_subject_is_callable()
88 88
     {
89
-        $subject = function () {};
89
+        $subject = function() {};
90 90
 
91 91
         $this->supports('beCallable', $subject, array())->shouldReturn(false);
92 92
     }
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Matcher/StringEndMatcherSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use Prophecy\Argument;
7
-
8 7
 use PhpSpec\Formatter\Presenter\PresenterInterface;
9 8
 
10 9
 class StringEndMatcherSpec extends ObjectBehavior
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Matcher/StringRegexMatcherSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use Prophecy\Argument;
7
-
8 7
 use PhpSpec\Formatter\Presenter\PresenterInterface;
9 8
 
10 9
 class StringRegexMatcherSpec extends ObjectBehavior
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Matcher/StringStartMatcherSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use Prophecy\Argument;
7
-
8 7
 use PhpSpec\Formatter\Presenter\PresenterInterface;
9 8
 
10 9
 class StringStartMatcherSpec extends ObjectBehavior
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Matcher/TypeMatcherSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use Prophecy\Argument;
7
-
8 7
 use PhpSpec\Formatter\Presenter\PresenterInterface;
9 8
 use PhpSpec\Exception\Example\FailureException;
10
-
11 9
 use ArrayObject;
12 10
 
13 11
 class TypeMatcherSpec extends ObjectBehavior
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Message/CurrentExampleTrackerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\Message\CurrentExampleTracker;
6 6
 use PhpSpec\ObjectBehavior;
7
-use Prophecy\Argument;
8 7
 
9 8
 class CurrentExampleTrackerSpec extends ObjectBehavior
10 9
 {
Please login to merge, or discard this patch.
phpspec/phpspec/spec/PhpSpec/Process/Context/JsonExecutionContextSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\PhpSpec\Process\Context;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class JsonExecutionContextSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.