@@ -4,7 +4,6 @@ |
||
| 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 |
@@ -14,7 +14,7 @@ discard block |
||
| 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 |
||
| 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 | } |
@@ -4,7 +4,6 @@ |
||
| 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 | |
@@ -4,7 +4,6 @@ |
||
| 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 |
@@ -86,7 +86,7 @@ |
||
| 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 | } |
@@ -4,7 +4,6 @@ |
||
| 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 |
@@ -4,7 +4,6 @@ |
||
| 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 |
@@ -4,7 +4,6 @@ |
||
| 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 |
@@ -4,10 +4,8 @@ |
||
| 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 |
@@ -4,7 +4,6 @@ |
||
| 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 | { |
@@ -3,7 +3,6 @@ |
||
| 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 | { |