@@ -4,7 +4,6 @@ |
||
| 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 | { |
@@ -53,7 +53,7 @@ discard block |
||
| 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 |
||
| 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 | } |
@@ -4,7 +4,6 @@ |
||
| 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 | { |
@@ -3,7 +3,6 @@ |
||
| 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 | { |
@@ -3,7 +3,6 @@ |
||
| 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 | { |
@@ -3,7 +3,6 @@ |
||
| 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 | { |
@@ -4,7 +4,6 @@ |
||
| 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 | { |
@@ -20,12 +20,12 @@ discard block |
||
| 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 |
||
| 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 | } |
@@ -3,7 +3,6 @@ |
||
| 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 | { |
@@ -3,7 +3,6 @@ |
||
| 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 | { |
@@ -3,7 +3,6 @@ |
||
| 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 | { |