From 924a2e5efaae4bb281206d4b71c54f4f14277449 Mon Sep 17 00:00:00 2001 From: Matt Kilgore Date: Mon, 6 Jan 2020 16:29:34 -0500 Subject: [PATCH] Change Zend namespace to Laminas (#1963) Also ensure backwards compatibility for extensions that use the Zend framework but don't explicitly require it. --- php-packages/testing/tests/integration/TestCase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php-packages/testing/tests/integration/TestCase.php b/php-packages/testing/tests/integration/TestCase.php index 6c26a6245..c6928812e 100644 --- a/php-packages/testing/tests/integration/TestCase.php +++ b/php-packages/testing/tests/integration/TestCase.php @@ -12,10 +12,10 @@ namespace Flarum\Tests\integration; use Dflydev\FigCookies\SetCookie; use Flarum\Foundation\InstalledSite; use Illuminate\Database\ConnectionInterface; +use Laminas\Diactoros\CallbackStream; +use Laminas\Diactoros\ServerRequest; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; -use Zend\Diactoros\CallbackStream; -use Zend\Diactoros\ServerRequest; abstract class TestCase extends \PHPUnit\Framework\TestCase {