Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/ZendRbac.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
use Zend\Permissions\Rbac\AssertionInterface;
use Zend\Permissions\Rbac\Rbac;

use function sprintf;

class ZendRbac implements AuthorizationInterface
{
/**
Expand Down
2 changes: 2 additions & 0 deletions src/ZendRbacFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
use Zend\Permissions\Rbac\Exception\ExceptionInterface as RbacExceptionInterface;
use Zend\Permissions\Rbac\Rbac;

use function sprintf;

class ZendRbacFactory
{
/**
Expand Down
5 changes: 5 additions & 0 deletions test/ConfigProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
use Zend\Expressive\Authorization\Rbac\ZendRbac;
use Zend\ServiceManager\ServiceManager;

use function array_merge_recursive;
use function file_get_contents;
use function json_decode;
use function sprintf;

class ConfigProviderTest extends TestCase
{
/** @var ConfigProvider */
Expand Down
2 changes: 1 addition & 1 deletion test/ZendRbacFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
use Psr\Container\ContainerInterface;
use Zend\Expressive\Authorization\Exception;
use Zend\Expressive\Authorization\Rbac\ZendRbac;
use Zend\Expressive\Authorization\Rbac\ZendRbacFactory;
use Zend\Expressive\Authorization\Rbac\ZendRbacAssertionInterface;
use Zend\Expressive\Authorization\Rbac\ZendRbacFactory;

class ZendRbacFactoryTest extends TestCase
{
Expand Down