Completed
Push — master ( 99ae6a...7de388 )
by Filipe
13:18
created
spec/Http/RouterMiddlewareSpec.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,12 +5,11 @@
 block discarded – undo
5 5
 use Aura\Router\Matcher;
6 6
 use Aura\Router\Route;
7 7
 use Aura\Router\RouterContainer;
8
+use PhpSpec\ObjectBehavior;
8 9
 use Psr\Http\Message\ResponseInterface;
9 10
 use Psr\Http\Message\ServerRequestInterface;
10 11
 use Slick\Http\Server\MiddlewareInterface;
11 12
 use Slick\WebStack\Http\RouterMiddleware;
12
-use PhpSpec\ObjectBehavior;
13
-use Prophecy\Argument;
14 13
 
15 14
 class RouterMiddlewareSpec extends ObjectBehavior
16 15
 {
Please login to merge, or discard this patch.
spec/Http/UrlRewriter/UriSpec.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace spec\Slick\WebStack\Http\UrlRewriter;
4 4
 
5
+use PhpSpec\ObjectBehavior;
5 6
 use Psr\Http\Message\UriInterface;
6 7
 use Slick\WebStack\Http\UrlRewriter\Uri;
7
-use PhpSpec\ObjectBehavior;
8
-use Prophecy\Argument;
9 8
 
10 9
 class UriSpec extends ObjectBehavior
11 10
 {
Please login to merge, or discard this patch.
spec/Http/UrlRewriterMiddlewareSpec.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,15 +2,14 @@
 block discarded – undo
2 2
 
3 3
 namespace spec\Slick\WebStack\Http;
4 4
 
5
+use PhpSpec\ObjectBehavior;
6
+use Prophecy\Argument;
5 7
 use Psr\Http\Message\ResponseInterface;
6 8
 use Psr\Http\Message\ServerRequestInterface;
7 9
 use Psr\Http\Message\UriInterface;
8 10
 use Slick\Http\Server\MiddlewareInterface;
9
-use Slick\Http\Server\Request;
10 11
 use Slick\Http\Uri;
11 12
 use Slick\WebStack\Http\UrlRewriterMiddleware;
12
-use PhpSpec\ObjectBehavior;
13
-use Prophecy\Argument;
14 13
 
15 14
 class UrlRewriterMiddlewareSpec extends ObjectBehavior
16 15
 {
Please login to merge, or discard this patch.
spec/Service/UriGenerator/Transformer/BasePathTransformerSpec.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     /**
92 92
      * Prepares the request collaborator
93 93
      *
94
-     * @param ServerRequestInterface|Collaborator $request
94
+     * @param ServerRequestInterface $request
95 95
      */
96 96
     private function prepareRequest(ServerRequestInterface $request)
97 97
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,12 +3,12 @@
 block discarded – undo
3 3
 namespace spec\Slick\WebStack\Service\UriGenerator\Transformer;
4 4
 
5 5
 use PhpSpec\Exception\Example\FailureException;
6
+use PhpSpec\ObjectBehavior;
6 7
 use PhpSpec\Wrapper\Collaborator;
7 8
 use Psr\Http\Message\ServerRequestInterface;
8 9
 use Psr\Http\Message\UriInterface;
9 10
 use Slick\WebStack\Service\UriGenerator\LocationTransformerInterface;
10 11
 use Slick\WebStack\Service\UriGenerator\Transformer\BasePathTransformer;
11
-use PhpSpec\ObjectBehavior;
12 12
 
13 13
 /**
14 14
  * BasePathTransformerSpec
Please login to merge, or discard this patch.
spec/Service/UriGenerator/Transformer/FullUrlTransformerSpec.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,10 @@
 block discarded – undo
3 3
 namespace spec\Slick\WebStack\Service\UriGenerator\Transformer;
4 4
 
5 5
 use PhpSpec\Exception\Example\FailureException;
6
+use PhpSpec\ObjectBehavior;
6 7
 use Psr\Http\Message\UriInterface;
7 8
 use Slick\WebStack\Service\UriGenerator\LocationTransformerInterface;
8 9
 use Slick\WebStack\Service\UriGenerator\Transformer\FullUrlTransformer;
9
-use PhpSpec\ObjectBehavior;
10
-use Prophecy\Argument;
11 10
 
12 11
 class FullUrlTransformerSpec extends ObjectBehavior
13 12
 {
Please login to merge, or discard this patch.
spec/Service/UriGenerator/Transformer/RouterPathTransformerSpec.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,9 +109,9 @@
 block discarded – undo
109 109
     /**
110 110
      * Prepares the test
111 111
      *
112
-     * @param ServerRequestInterface|Collaborator $request
113
-     * @param RouterContainer|Collaborator $router
114
-     * @param Generator|Collaborator $generator
112
+     * @param ServerRequestInterface $request
113
+     * @param RouterContainer $router
114
+     * @param Generator $generator
115 115
      */
116 116
     private function prepareTest(
117 117
         ServerRequestInterface $request,
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
6 6
 use Aura\Router\Generator;
7 7
 use Aura\Router\RouterContainer;
8 8
 use PhpSpec\Exception\Example\FailureException;
9
+use PhpSpec\ObjectBehavior;
9 10
 use PhpSpec\Wrapper\Collaborator;
10 11
 use Prophecy\Argument;
11 12
 use Psr\Http\Message\ServerRequestInterface;
12 13
 use Psr\Http\Message\UriInterface;
13 14
 use Slick\WebStack\Service\UriGenerator\LocationTransformerInterface;
14 15
 use Slick\WebStack\Service\UriGenerator\Transformer\RouterPathTransformer;
15
-use PhpSpec\ObjectBehavior;
16 16
 
17 17
 /**
18 18
  * RouterPathTransformerSpec
Please login to merge, or discard this patch.
src/Console/Command/Task/AskForNamespace.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
     /**
106 106
      * Get the selected namespace entity
107 107
      *
108
-     * @param $selected
108
+     * @param string $selected
109 109
      * @return mixed|null|AskForNamespace\NameSpaceEntry
110 110
      */
111 111
     private function getNamespace($selected)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
 
10 10
 namespace Slick\WebStack\Console\Command\Task;
11 11
 
12
-use Slick\WebStack\Console\Command\Task\AskForNamespace\ComposerReader;
13 12
 use Slick\WebStack\Console\Command\TaskInterface;
13
+use Slick\WebStack\Console\Command\Task\AskForNamespace\ComposerReader;
14 14
 use Symfony\Component\Console\Command\Command;
15 15
 use Symfony\Component\Console\Helper\QuestionHelper;
16 16
 use Symfony\Component\Console\Input\InputInterface;
Please login to merge, or discard this patch.
spec/Controller/ContextSpec.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,13 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace spec\Slick\WebStack\Controller;
4 4
 
5
+use PhpSpec\ObjectBehavior;
5 6
 use Psr\Http\Message\ResponseInterface;
6 7
 use Psr\Http\Message\ServerRequestInterface;
7 8
 use Slick\Di\ContainerInjectionInterface;
8 9
 use Slick\Http\Uri;
9 10
 use Slick\WebStack\Controller\Context;
10
-use PhpSpec\ObjectBehavior;
11
-use Prophecy\Argument;
12 11
 use Slick\WebStack\Controller\ControllerContextInterface;
13 12
 use Slick\WebStack\Service\UriGeneratorInterface;
14 13
 
Please login to merge, or discard this patch.
src/Service/FlashMessages.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 
10 10
 namespace Slick\WebStack\Service;
11 11
 
12
-use Slick\Filter\StaticFilter;
13 12
 use Slick\Http\SessionDriverInterface;
14 13
 
15 14
 /**
Please login to merge, or discard this patch.