mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 22:43:19 +00:00
Use composer vendors
This commit is contained in:
@@ -26,9 +26,6 @@ class DoctrineTestSQLite
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
|
||||
require_once __DIR__ . '/../../../../vendor/doctrine2-orm/lib/vendor/doctrine-common/lib/Doctrine/Common/ClassLoader.php';
|
||||
|
||||
static::loadClasses();
|
||||
|
||||
$config = new \Doctrine\ORM\Configuration();
|
||||
@@ -93,19 +90,19 @@ class DoctrineTestSQLite
|
||||
|
||||
$classLoader = new \Doctrine\Common\ClassLoader(
|
||||
'Doctrine\ORM'
|
||||
, realpath(__DIR__ . '/../../../../vendor/doctrine2-orm/lib')
|
||||
, realpath(__DIR__ . '/../../../../../vendor/doctrine/orm/lib')
|
||||
);
|
||||
$classLoader->register();
|
||||
|
||||
$classLoader = new \Doctrine\Common\ClassLoader(
|
||||
'Doctrine\DBAL'
|
||||
, realpath(__DIR__ . '/../../../../vendor/doctrine2-orm/lib/vendor/doctrine-dbal/lib')
|
||||
, realpath(__DIR__ . '/../../../../../vendor/doctrine/orm/lib/vendor/doctrine-dbal/lib')
|
||||
);
|
||||
$classLoader->register();
|
||||
|
||||
$classLoader = new \Doctrine\Common\ClassLoader(
|
||||
'Doctrine\Common'
|
||||
, realpath(__DIR__ . '/../../../../vendor/doctrine2-orm/lib/vendor/doctrine-common/lib')
|
||||
, realpath(__DIR__ . '/../../../../../vendor/doctrine/orm/lib/vendor/doctrine-common/lib')
|
||||
);
|
||||
$classLoader->register();
|
||||
|
||||
@@ -130,7 +127,7 @@ class DoctrineTestSQLite
|
||||
|
||||
$classLoader = new \Doctrine\Common\ClassLoader(
|
||||
'Symfony'
|
||||
, realpath(__DIR__ . '/../../../../vendor/doctrine2-orm/lib/vendor')
|
||||
, realpath(__DIR__ . '/../../../../../vendor/doctrine/orm/lib/vendor')
|
||||
);
|
||||
|
||||
$classLoader->register();
|
||||
@@ -144,7 +141,7 @@ class DoctrineTestSQLite
|
||||
|
||||
$classLoader = new \Doctrine\Common\ClassLoader(
|
||||
'Gedmo'
|
||||
, __DIR__ . "/../../../../vendor/doctrine2-gedmo/lib"
|
||||
, __DIR__ . "/../../../../vendor/gedmo/doctrine-extensions/lib"
|
||||
);
|
||||
$classLoader->register();
|
||||
|
||||
|
Reference in New Issue
Block a user