Completed
Pull Request — master (#141)
by Bhanu
37:51 queued 34s
created
vendor/phpspec/phpspec/spec/PhpSpec/Formatter/ProgressFormatterSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use PhpSpec\Formatter\Presenter\PresenterInterface;
8 8
 use PhpSpec\Listener\StatisticsCollector;
9 9
 use PhpSpec\ObjectBehavior;
10
-use Prophecy\Argument;
11 10
 
12 11
 class ProgressFormatterSpec extends ObjectBehavior
13 12
 {
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Formatter/TapFormatterSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use PhpSpec\Formatter\Presenter\PresenterInterface;
12 12
 use PhpSpec\Listener\StatisticsCollector;
13 13
 use PhpSpec\ObjectBehavior;
14
-use Prophecy\Argument;
15 14
 
16 15
 class TapFormatterSpec extends ObjectBehavior
17 16
 {
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Listener/ClassNotFoundListenerSpec.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,14 +4,11 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use Prophecy\Argument;
7
-
8 7
 use PhpSpec\Console\IO;
9 8
 use PhpSpec\Locator\ResourceManager;
10 9
 use PhpSpec\CodeGenerator\GeneratorManager;
11 10
 use PhpSpec\Event\ExampleEvent;
12 11
 use PhpSpec\Event\SuiteEvent;
13
-use PhpSpec\Exception\Fracture\ClassNotFoundException as PhpSpecClassException;
14
-
15 12
 use Prophecy\Exception\Doubler\ClassNotFoundException as ProphecyClassException;
16 13
 
17 14
 class ClassNotFoundListenerSpec extends ObjectBehavior
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 class ClassNotFoundListenerSpec extends ObjectBehavior
18 18
 {
19 19
     function let(IO $io, ResourceManager $resourceManager, GeneratorManager $generatorManager,
20
-                 SuiteEvent $suiteEvent, ExampleEvent $exampleEvent)
20
+                    SuiteEvent $suiteEvent, ExampleEvent $exampleEvent)
21 21
     {
22 22
         $io->writeln(Argument::any())->willReturn();
23 23
         $io->askConfirmation(Argument::any())->willReturn();
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Listener/CurrentExampleListenerSpec.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use PhpSpec\Event\SuiteEvent;
7 7
 use PhpSpec\Message\CurrentExampleTracker;
8 8
 use PhpSpec\ObjectBehavior;
9
-use Prophecy\Argument;
10 9
 
11 10
 class CurrentExampleListenerSpec extends ObjectBehavior
12 11
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     {
50 50
         $fatalError = '3';
51 51
         $currentExample = new CurrentExampleTracker();
52
-        $currentExample->setCurrentExample("Exited with code: " . $fatalError);
52
+        $currentExample->setCurrentExample("Exited with code: ".$fatalError);
53 53
         $example->getResult()->willReturn($fatalError);
54 54
         $this->afterSuiteEvent($example);
55 55
         $example->getResult()->shouldHaveBeenCalled();
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Listener/MethodNotFoundListenerSpec.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\Console\IO;
9 8
 use PhpSpec\Locator\ResourceManager;
10 9
 use PhpSpec\CodeGenerator\GeneratorManager;
Please login to merge, or discard this patch.
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -105,6 +105,10 @@
 block discarded – undo
105 105
         $this->afterSuite($suiteEvent);
106 106
     }
107 107
 
108
+    /**
109
+     * @param NameCheckerInterface $nameChecker
110
+     * @param string $method
111
+     */
108 112
     private function callAfterExample($exampleEvent, $nameChecker, $method, $isNameValid = true)
109 113
     {
110 114
         $exception = new MethodNotFoundException('Error', new \stdClass(), $method);
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Listener/RerunListenerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use PhpSpec\ObjectBehavior;
7 7
 use PhpSpec\Process\Prerequisites\SuitePrerequisitesInterface;
8 8
 use PhpSpec\Process\ReRunner;
9
-use Prophecy\Argument;
10 9
 
11 10
 class RerunListenerSpec extends ObjectBehavior
12 11
 {
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Listener/StatisticsCollectorSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use PhpSpec\Loader\Node\SpecificationNode;
9 9
 use PhpSpec\Loader\Suite;
10 10
 use PhpSpec\ObjectBehavior;
11
-use Prophecy\Argument;
12 11
 
13 12
 class StatisticsCollectorSpec extends ObjectBehavior
14 13
 {
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Listener/StopOnFailureListenerSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace spec\PhpSpec\Listener;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7
-
8 6
 use PhpSpec\Event\ExampleEvent;
9 7
 use PhpSpec\Console\IO;
10 8
 
Please login to merge, or discard this patch.
vendor/phpspec/phpspec/spec/PhpSpec/Loader/Node/ExampleNodeSpec.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,10 +3,7 @@
 block discarded – undo
3 3
 namespace spec\PhpSpec\Loader\Node;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7
-
8 6
 use PhpSpec\Loader\Node\SpecificationNode;
9
-
10 7
 use ReflectionFunctionAbstract;
11 8
 
12 9
 class ExampleNodeSpec extends ObjectBehavior
Please login to merge, or discard this patch.