@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace spec\Prophecy\Comparator; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 7 | 6 | |
| 8 | 7 | class ClosureComparatorSpec extends ObjectBehavior |
| 9 | 8 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace spec\Prophecy\Comparator; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 7 | 6 | |
| 8 | 7 | class FactorySpec extends ObjectBehavior |
| 9 | 8 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace spec\Prophecy\Doubler\ClassPatch; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 7 | 6 | |
| 8 | 7 | class HhvmExceptionPatchSpec extends ObjectBehavior |
| 9 | 8 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace spec\Prophecy\Doubler\ClassPatch; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 7 | 6 | use Prophecy\Doubler\Generator\Node\MethodNode; |
| 8 | 7 | |
| 9 | 8 | class KeywordPatchSpec extends ObjectBehavior |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace spec\Prophecy\Doubler\ClassPatch; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 7 | 6 | use Prophecy\Doubler\Generator\Node\MethodNode; |
| 8 | 7 | |
| 9 | 8 | class MagicCallPatchSpec extends ObjectBehavior |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace spec\Prophecy\Doubler\ClassPatch; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 7 | 6 | |
| 8 | 7 | class ReflectionClassNewInstancePatchSpec extends ObjectBehavior |
| 9 | 8 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace spec\Prophecy\Doubler; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 7 | 6 | |
| 8 | 7 | class DoublerSpec extends ObjectBehavior |
| 9 | 8 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | 6 | use I\Simply; |
| 7 | - |
|
| 8 | 7 | use ReflectionClass; |
| 9 | 8 | use ReflectionMethod; |
| 10 | 9 | use ReflectionParameter; |
@@ -388,7 +388,7 @@ discard block |
||
| 388 | 388 | $class->getName()->willReturn('Custom\ClassName'); |
| 389 | 389 | |
| 390 | 390 | $this->shouldThrow('Prophecy\Exception\Doubler\ClassMirrorException') |
| 391 | - ->duringReflect($class, array()); |
|
| 391 | + ->duringReflect($class, array()); |
|
| 392 | 392 | } |
| 393 | 393 | |
| 394 | 394 | /** |
@@ -419,7 +419,7 @@ discard block |
||
| 419 | 419 | $interface->getName()->willReturn('Custom\ClassName'); |
| 420 | 420 | |
| 421 | 421 | $this->shouldThrow('Prophecy\Exception\InvalidArgumentException') |
| 422 | - ->duringReflect($interface, array()); |
|
| 422 | + ->duringReflect($interface, array()); |
|
| 423 | 423 | } |
| 424 | 424 | |
| 425 | 425 | /** |
@@ -562,13 +562,13 @@ discard block |
||
| 562 | 562 | $class->isInterface()->willReturn(false); |
| 563 | 563 | |
| 564 | 564 | $this->shouldThrow('InvalidArgumentException') |
| 565 | - ->duringReflect(null, array($class)); |
|
| 565 | + ->duringReflect(null, array($class)); |
|
| 566 | 566 | } |
| 567 | 567 | |
| 568 | 568 | function it_throws_an_exception_if_not_reflection_provided_as_interface() |
| 569 | 569 | { |
| 570 | 570 | $this->shouldThrow('InvalidArgumentException') |
| 571 | - ->duringReflect(null, array(null)); |
|
| 571 | + ->duringReflect(null, array(null)); |
|
| 572 | 572 | } |
| 573 | 573 | |
| 574 | 574 | function it_doesnt_fail_to_typehint_nonexistent_FQCN() |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace spec\Prophecy\Prediction; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | - |
|
| 7 | 6 | use RuntimeException; |
| 8 | 7 | |
| 9 | 8 | class CallbackPredictionSpec extends ObjectBehavior |