Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit f612bbb

Browse files
author
Geert Eltink
authored
Merge pull request #6 from webimpress/improvement/import-internals
Import internal PHP functions
2 parents 572924f + 1b54949 commit f612bbb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/BasicAccess.php

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
use Zend\Expressive\Authentication\UserInterface;
1515
use Zend\Expressive\Authentication\UserRepositoryInterface;
1616

17+
use function base64_decode;
18+
use function explode;
19+
use function preg_match;
20+
use function sprintf;
21+
1722
class BasicAccess implements AuthenticationInterface
1823
{
1924
/**

test/BasicAccessTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
use PHPUnit\Framework\TestCase;
1212
use Prophecy\Argument;
1313
use Prophecy\Prophecy\ObjectProphecy;
14-
use Psr\Http\Message\ServerRequestInterface;
1514
use Psr\Http\Message\ResponseInterface;
15+
use Psr\Http\Message\ServerRequestInterface;
1616
use Zend\Expressive\Authentication\AuthenticationInterface;
1717
use Zend\Expressive\Authentication\Basic\BasicAccess;
1818
use Zend\Expressive\Authentication\UserInterface;

0 commit comments

Comments
 (0)