Skip to content

Commit

Permalink
Fix deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Feb 9, 2024
1 parent 0ae85da commit 17291d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/TestCase/Middleware/GlideMiddlewareTest.php
Expand Up @@ -9,17 +9,23 @@
use Cake\Core\Configure;
use Cake\Event\EventManager;
use Cake\Http\Response;
use Cake\Http\ServerRequest;
use Cake\Http\ServerRequestFactory;
use Cake\TestSuite\TestCase;
use Cake\Utility\Security;
use Laminas\Diactoros\Stream;
use League\Flysystem\UnableToRetrieveMetadata;
use League\Glide\ServerFactory;
use League\Glide\Signatures\Signature;
use Psr\Http\Server\RequestHandlerInterface;
use TestApp\Http\TestRequestHandler;

class GlideMiddlewareTest extends TestCase
{
protected array $config;
protected ServerRequest $request;
protected RequestHandlerInterface $handler;

public function setUp(): void
{
$this->config = [
Expand Down
4 changes: 4 additions & 0 deletions tests/TestCase/View/Helper/GlideHelperTest.php
Expand Up @@ -12,6 +12,10 @@

class GlideHelperTest extends TestCase
{
protected ServerRequest $request;
protected View $view;
protected GlideHelper $helper;

public function setUp(): void
{
$this->request = new ServerRequest();
Expand Down

0 comments on commit 17291d8

Please sign in to comment.