Skip to content

Commit

Permalink
drop container-interop/container-interop
Browse files Browse the repository at this point in the history
  • Loading branch information
driehle committed Nov 18, 2022
1 parent add6cf4 commit c72eedf
Show file tree
Hide file tree
Showing 18 changed files with 17 additions and 18 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"homepage": "http://www.doctrine-project.org/",
"require": {
"php": "^7.4 || ~8.0.0 || ~8.1.0",
"container-interop/container-interop": "^1.2.0",
"doctrine/annotations": "^1.13.2",
"doctrine/cache": "^1.12.1",
"doctrine/collections": "^1.6.8",
Expand Down
2 changes: 1 addition & 1 deletion docs/en/authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ factories as in the example below:
<?php
namespace Application\Factory\Controller;
use Interop\Container\ContainerInterface;
use Psr\Container\ContainerInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
class ApplicationControllerFactory implements FactoryInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Service/AbstractFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace DoctrineModule\Service;

use Interop\Container\ContainerInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Laminas\Stdlib\AbstractOptions;
use Psr\Container\ContainerInterface;
use RuntimeException;

use function sprintf;
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Authentication/AdapterFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use DoctrineModule\Authentication\Adapter\ObjectRepository;
use DoctrineModule\Options\Authentication;
use DoctrineModule\Service\AbstractFactory;
use Interop\Container\ContainerInterface;
use Psr\Container\ContainerInterface;
use RuntimeException;

use function get_class;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

use BadMethodCallException;
use DoctrineModule\Service\AbstractFactory;
use Interop\Container\ContainerInterface;
use Laminas\Authentication\AuthenticationService;
use Psr\Container\ContainerInterface;

/**
* Factory to create authentication service object.
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Authentication/StorageFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use DoctrineModule\Authentication\Storage\ObjectRepository;
use DoctrineModule\Options\Authentication;
use DoctrineModule\Service\AbstractFactory;
use Interop\Container\ContainerInterface;
use Psr\Container\ContainerInterface;
use RuntimeException;

use function get_class;
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CacheFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Doctrine\Common\Cache\CacheProvider;
use DoctrineModule\Cache\LaminasStorageCache;
use DoctrineModule\Options\Cache as CacheOptions;
use Interop\Container\ContainerInterface;
use Psr\Container\ContainerInterface;
use RuntimeException;

use function get_class;
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CliFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace DoctrineModule\Service;

use Interop\Container\ContainerInterface;
use Laminas\EventManager\EventManagerInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Psr\Container\ContainerInterface;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Helper\HelperSet;

Expand Down
2 changes: 1 addition & 1 deletion src/Service/DriverFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
use Doctrine\Persistence\Mapping\Driver\MappingDriver;
use Doctrine\Persistence\Mapping\Driver\MappingDriverChain;
use DoctrineModule\Options\Driver;
use Interop\Container\ContainerInterface;
use InvalidArgumentException;
use Psr\Container\ContainerInterface;
use RuntimeException;

use function class_exists;
Expand Down
2 changes: 1 addition & 1 deletion src/Service/EventManagerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use Doctrine\Common\EventManager;
use Doctrine\Common\EventSubscriber;
use DoctrineModule\Options\EventManager as EventManagerOptions;
use Interop\Container\ContainerInterface;
use InvalidArgumentException;
use Psr\Container\ContainerInterface;
use RuntimeException;

use function class_exists;
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceFactory/AbstractDoctrineServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace DoctrineModule\ServiceFactory;

use Interop\Container\ContainerInterface;
use Laminas\ServiceManager\Exception\ServiceNotFoundException;
use Laminas\ServiceManager\Factory\AbstractFactoryInterface;
use Psr\Container\ContainerInterface;

use function preg_match;

Expand Down
2 changes: 1 addition & 1 deletion src/Validator/Service/AbstractValidatorFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
use Doctrine\Persistence\ObjectManager;
use Doctrine\Persistence\ObjectRepository;
use DoctrineModule\Validator\Service\Exception\ServiceCreationException;
use Interop\Container\ContainerInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Laminas\Stdlib\ArrayUtils;
use Psr\Container\ContainerInterface;

use function class_exists;
use function is_string;
Expand Down
2 changes: 1 addition & 1 deletion src/Validator/Service/NoObjectExistsFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace DoctrineModule\Validator\Service;

use DoctrineModule\Validator\NoObjectExists;
use Interop\Container\ContainerInterface;
use Psr\Container\ContainerInterface;

final class NoObjectExistsFactory extends AbstractValidatorFactory
{
Expand Down
2 changes: 1 addition & 1 deletion src/Validator/Service/ObjectExistsFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace DoctrineModule\Validator\Service;

use DoctrineModule\Validator\ObjectExists;
use Interop\Container\ContainerInterface;
use Psr\Container\ContainerInterface;

final class ObjectExistsFactory extends AbstractValidatorFactory
{
Expand Down
2 changes: 1 addition & 1 deletion src/Validator/Service/UniqueObjectFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace DoctrineModule\Validator\Service;

use DoctrineModule\Validator\UniqueObject;
use Interop\Container\ContainerInterface;
use Psr\Container\ContainerInterface;

final class UniqueObjectFactory extends AbstractValidatorFactory
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Validator/Service/NoObjectExistsFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
use DoctrineModule\Validator\Service\Exception\ServiceCreationException;
use DoctrineModule\Validator\Service\NoObjectExistsFactory;
use DoctrineModuleTest\Validator\TestAsset\DummyClass;
use Interop\Container\ContainerInterface;
use Laminas\ServiceManager\ServiceLocatorInterface;
use PHPUnit\Framework\TestCase;
use Prophecy\PhpUnit\ProphecyTrait;
use Psr\Container\ContainerInterface;

/**
* Generated by PHPUnit_SkeletonGenerator on 2017-09-04 at 11:12:27.
Expand Down
2 changes: 1 addition & 1 deletion tests/Validator/Service/ObjectExistsFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
use DoctrineModule\Validator\ObjectExists;
use DoctrineModule\Validator\Service\ObjectExistsFactory;
use DoctrineModuleTest\Validator\TestAsset\DummyClass;
use Interop\Container\ContainerInterface;
use PHPUnit\Framework\TestCase;
use Prophecy\PhpUnit\ProphecyTrait;
use Psr\Container\ContainerInterface;

/**
* Generated by PHPUnit_SkeletonGenerator on 2017-09-04 at 11:55:36.
Expand Down
2 changes: 1 addition & 1 deletion tests/Validator/Service/UniqueObjectFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
use DoctrineModule\Validator\Service\UniqueObjectFactory;
use DoctrineModule\Validator\UniqueObject;
use DoctrineModuleTest\Validator\TestAsset\DummyClass;
use Interop\Container\ContainerInterface;
use PHPUnit\Framework\TestCase;
use Prophecy\PhpUnit\ProphecyTrait;
use Psr\Container\ContainerInterface;

/**
* Generated by PHPUnit_SkeletonGenerator on 2017-09-04 at 11:57:37.
Expand Down

0 comments on commit c72eedf

Please sign in to comment.