Completed
Pull Request — master (#141)
by Bhanu
37:51 queued 34s
created
phpspec/phpspec/spec/PhpSpec/Formatter/Presenter/StringPresenterSpec.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 PhpSpec\Formatter\Presenter\Differ\Differ;
7
-use PhpSpec\Wrapper\Subject;
8 7
 
9 8
 class StringPresenterSpec extends ObjectBehavior
10 9
 {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
     function it_presents_closure_as_type()
55 55
     {
56
-        $this->presentValue(function () {})->shouldReturn('[closure]');
56
+        $this->presentValue(function() {})->shouldReturn('[closure]');
57 57
     }
58 58
 
59 59
     function it_presents_exception_as_class_with_constructor()
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
     function it_presents_static_magic_method_as_string()
93 93
     {
94
-        $className = __NAMESPACE__ . '\\WithStaticMagicCall';
94
+        $className = __NAMESPACE__.'\\WithStaticMagicCall';
95 95
         $this->presentValue(array($className, 'undefinedMethod'))
96 96
             ->shouldReturn(sprintf('%s::undefinedMethod()', $className));
97 97
     }
Please login to merge, or discard this patch.
phpspec/phpspec/spec/PhpSpec/Formatter/Presenter/TaggingPresenterSpec.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\Formatter\Presenter\Presenter;
6 6
 use PhpSpec\ObjectBehavior;
7
-use Prophecy\Argument;
8 7
 
9 8
 class TaggingPresenterSpec extends ObjectBehavior
10 9
 {
Please login to merge, or discard this patch.
phpspec/spec/PhpSpec/Formatter/Presenter/Value/ArrayTypePresenterSpec.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\Formatter\Presenter\Value;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class ArrayTypePresenterSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
spec/PhpSpec/Formatter/Presenter/Value/BaseExceptionTypePresenterSpec.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\Formatter\Presenter\Value;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class BaseExceptionTypePresenterSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
phpspec/spec/PhpSpec/Formatter/Presenter/Value/BooleanTypePresenterSpec.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\Formatter\Presenter\Value;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class BooleanTypePresenterSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
spec/PhpSpec/Formatter/Presenter/Value/CallableTypePresenterSpec.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\Formatter\Presenter\Presenter;
6 6
 use PhpSpec\ObjectBehavior;
7
-use Prophecy\Argument;
8 7
 
9 8
 class CallableTypePresenterSpec extends ObjectBehavior
10 9
 {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,12 +20,12 @@  discard block
 block discarded – undo
20 20
 
21 21
     function it_should_support_callable_values()
22 22
     {
23
-        $this->supports(function () {})->shouldReturn(true);
23
+        $this->supports(function() {})->shouldReturn(true);
24 24
     }
25 25
 
26 26
     function it_should_present_a_closure()
27 27
     {
28
-        $this->present(function () {})->shouldReturn('[closure]');
28
+        $this->present(function() {})->shouldReturn('[closure]');
29 29
     }
30 30
 
31 31
     function it_should_present_function_callable_as_string()
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 
65 65
     function it_should_present_a_static_magic_method_as_string()
66 66
     {
67
-        $className = __NAMESPACE__ . '\\WithStaticMagicCall';
67
+        $className = __NAMESPACE__.'\\WithStaticMagicCall';
68 68
         $this->present(array($className, 'undefinedMethod'))
69 69
             ->shouldReturn(sprintf('%s::undefinedMethod()', $className));
70 70
     }
Please login to merge, or discard this patch.
phpspec/spec/PhpSpec/Formatter/Presenter/Value/NullTypePresenterSpec.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\Formatter\Presenter\Value;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class NullTypePresenterSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
phpspec/spec/PhpSpec/Formatter/Presenter/Value/ObjectTypePresenterSpec.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\Formatter\Presenter\Value;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class ObjectTypePresenterSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
spec/PhpSpec/Formatter/Presenter/Value/QuotingStringTypePresenterSpec.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\Formatter\Presenter\Value;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class QuotingStringTypePresenterSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.