Skip to content

Commit

Permalink
fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
steinkel committed Feb 25, 2022
1 parent eba9ffb commit e744161
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/Routing/Middleware/CachedRoutingMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ protected function buildRouteCollection(): RouteCollection

return $this->prepareRouteCollection();
}
}
}
2 changes: 1 addition & 1 deletion tests/App/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ public function handle(ServerRequestInterface $request): ResponseInterface
{
return new Response();
}
}
}
2 changes: 1 addition & 1 deletion tests/App/TestRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ public function handle(ServerRequestInterface $request): ResponseInterface
{
return new Response();
}
}
}
2 changes: 1 addition & 1 deletion tests/App/UnserializableMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
{
return $request;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@
namespace CakeDC\CachedRouting\Test\TestCase\Routing\Middleware;

use Cake\Cache\Cache;
use Cake\Core\Configure;
use Cake\Http\Response;
use Cake\Http\ServerRequestFactory;
use Cake\Routing\Exception\FailedRouteCacheException;
use Cake\Routing\RouteBuilder;
use Cake\Routing\RouteCollection;
use Cake\Routing\Router;
use Cake\TestSuite\TestCase;
use CakeDC\CachedRouting\Routing\Middleware\CachedRoutingMiddleware;
use CakeDC\CachedRouting\Test\App\Application;
Expand Down Expand Up @@ -79,4 +76,4 @@ public function testFailedRouteCache(): void
$this->expectExceptionMessage('Unable to cache route collection.');
$middleware->process($request, new TestRequestHandler());
}
}
}
4 changes: 0 additions & 4 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/

use Cake\Core\Configure;
use Cake\Mailer\Email;
use Cake\Utility\Security;

$findRoot = function () {
$root = dirname(__DIR__);
if (is_dir($root . '/vendor/cakephp/cakephp')) {
Expand Down

0 comments on commit e744161

Please sign in to comment.