Commit 4a8a638c authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Migration vers laminas

parent 9a2dea97
Loading
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -2,12 +2,12 @@

namespace UnicaenDbImport;

use Zend\Config\Factory as ConfigFactory;
use Zend\Console\Adapter\AdapterInterface;
use Zend\ModuleManager\Feature\ConsoleUsageProviderInterface;
use Zend\Mvc\Application;
use Zend\Mvc\MvcEvent;
use Zend\Stdlib\Glob;
use Laminas\Config\Factory as ConfigFactory;
use Laminas\Console\Adapter\AdapterInterface;
use Laminas\ModuleManager\Feature\ConsoleUsageProviderInterface;
use Laminas\Mvc\Application;
use Laminas\Mvc\MvcEvent;
use Laminas\Stdlib\Glob;

class Module implements ConsoleUsageProviderInterface
{
@@ -28,7 +28,7 @@ class Module implements ConsoleUsageProviderInterface
    public function getAutoloaderConfig()
    {
        return [
            'Zend\Loader\StandardAutoloader' => [
            'Laminas\Loader\StandardAutoloader' => [
                'namespaces' => [
                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
                ],
+17 −16
Original line number Diff line number Diff line
@@ -15,7 +15,8 @@
        "doctrine/dbal": "^2.9",
        "beberlei/assert": "^2.7",
        "ramsey/uuid": "^3.6",
        "guzzlehttp/guzzle": "^6.3"
        "guzzlehttp/guzzle": "^6.3",
        "laminas/laminas-dependency-plugin": "^2.1"
    },
    "require-dev": {
        "unicaen/test": "^3.0",

composer.lock

deleted100644 → 0
+0 −6290

File deleted.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -5,6 +5,6 @@ if (! file_exists(__DIR__ . '/vendor/autoload.php')) {
}
require_once __DIR__ . '/vendor/autoload.php';

if (! class_exists('Zend\Loader\AutoloaderFactory')) {
if (! class_exists('Laminas\Loader\AutoloaderFactory')) {
    throw new RuntimeException('Unable to load ZF2. Run `php composer.phar install` or define a ZF2_PATH environment variable.');
}
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ namespace UnicaenDbImport\CodeGenerator;

use Interop\Container\ContainerInterface;
use UnicaenDbImport\Config\Config;
use Zend\ServiceManager\Factory\AbstractFactoryInterface;
use Laminas\ServiceManager\Factory\AbstractFactoryInterface;

class HelperAbstractFactory implements AbstractFactoryInterface
{
Loading