Commit 10f4a4af authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Migration vers laminas

parent e0072332
Pipeline #11060 passed with stage
in 47 seconds
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
namespace UnicaenTest; namespace UnicaenTest;
use Zend\Mvc\ModuleRouteListener; use Laminas\Mvc\ModuleRouteListener;
use Zend\Mvc\MvcEvent; use Laminas\Mvc\MvcEvent;
class Module class Module
{ {
...@@ -24,7 +24,7 @@ class Module ...@@ -24,7 +24,7 @@ class Module
public function getAutoloaderConfig() public function getAutoloaderConfig()
{ {
return [ return [
'Zend\Loader\StandardAutoloader' => [ 'Laminas\Loader\StandardAutoloader' => [
'namespaces' => [ 'namespaces' => [
__NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__, __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
], ],
......
...@@ -8,11 +8,12 @@ ...@@ -8,11 +8,12 @@
} }
], ],
"require": { "require": {
"php": "7.3.*", "php": "7.3.*",
"zendframework/zend-test": "^3.0", "laminas/laminas-test": "^3.0",
"phpunit/phpunit": "^5.6", "phpunit/phpunit": "^5.6",
"phpspec/prophecy": "^1.6", "phpspec/prophecy": "^1.6",
"doctrine/orm": "^2.6" "doctrine/orm": "^2.6",
"laminas/laminas-dependency-plugin": "^2.1"
}, },
"autoload": { "autoload": {
"psr-0": { "psr-0": {
......
This diff is collapsed.
...@@ -6,8 +6,8 @@ use Doctrine\ORM\EntityManager; ...@@ -6,8 +6,8 @@ use Doctrine\ORM\EntityManager;
use Prophecy\Argument; use Prophecy\Argument;
use Prophecy\Prophecy\ObjectProphecy; use Prophecy\Prophecy\ObjectProphecy;
use Prophecy\Prophet; use Prophecy\Prophet;
use Zend\ServiceManager\ServiceManager; use Laminas\ServiceManager\ServiceManager;
use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase; use Laminas\Test\PHPUnit\Controller\AbstractHttpControllerTestCase;
/** /**
* Class AbstractControllerTest * Class AbstractControllerTest
......
...@@ -4,7 +4,7 @@ namespace UnicaenTest\Entity\Db; ...@@ -4,7 +4,7 @@ namespace UnicaenTest\Entity\Db;
use Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityManager;
use SplStack; use SplStack;
use Zend\Stdlib\ArrayUtils; use Laminas\Stdlib\ArrayUtils;
/** /**
* Description of EntityProvider * Description of EntityProvider
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment