Update composer.json

Remove unstable dependencies as possible
Bump to doctrine 2.3
This commit is contained in:
Romain Neutron
2013-01-31 12:29:12 +01:00
parent 17a58030fb
commit 3553b1e071
7 changed files with 324 additions and 286 deletions

View File

@@ -1,67 +1,65 @@
{
"name": "phraseanet/phraseanet",
"description": "Phraseanet",
"name" : "phraseanet/phraseanet",
"description" : "Phraseanet",
"license" : "GPL-3.0",
"config": {
"bin-dir": "bin/"
"bin-dir" : "bin/"
},
"require": {
"php": ">=5.3.3",
"alchemy/oauth2php": "master",
"alchemy/phlickr": "master",
"dailymotion/sdk": "*",
"data-uri/data-uri": "dev-master",
"doctrine/orm": "2.2.2",
"gedmo/doctrine-extensions": "2.2.*",
"grom/silex-service-provider": "dev-master",
"mediavorus/mediavorus": "0.2.x-dev",
"media-alchemyst/media-alchemyst": "0.2.x-dev",
"monolog/monolog": "1.0.*",
"neutron/silex-badfaith-provider": "dev-master",
"php" : ">=5.3.3",
"alchemy/oauth2php" : "dev-master",
"alchemy/phlickr" : "dev-master",
"badfaith/badfaith" : "dev-master",
"dailymotion/sdk" : "dev-master",
"data-uri/data-uri" : "dev-master",
"doctrine/orm" : "~2.3.0",
"gedmo/doctrine-extensions" : "~2.3.0",
"grom/silex-service-provider" : "dev-master",
"knplabs/knp-snappy" : "dev-master",
"mediavorus/mediavorus" : "~0.3.0",
"media-alchemyst/media-alchemyst" : "~0.2.0",
"monolog/monolog" : "~1.3.0",
"neutron/silex-badfaith-provider" : "dev-master",
"neutron/silex-filesystem-provider": "dev-master",
"neutron/sphinxsearch-api": ">=2.0.6",
"php-xpdf/php-xpdf": "dev-master",
"phpexiftool/phpexiftool": "dev-master",
"silex/silex": "1.0.*",
"swiftmailer/swiftmailer": "4.1.*",
"symfony/symfony": ">=2.1",
"tecnick.com/tcpdf": "dev-master",
"twig/twig": ">=1.9",
"twig/extensions": "master",
"zend/gdata": ">1.11"
"neutron/sphinxsearch-api" : "~2.0.6",
"php-xpdf/php-xpdf" : "~0.1.1",
"phpexiftool/phpexiftool" : "~0.1.0",
"phpexiftool/exiftool" : "dev-master",
"silex/silex" : "1.0.x-dev@dev",
"swiftmailer/swiftmailer" : "~4.3.0",
"symfony/symfony" : "~2.1.7",
"tecnick.com/tcpdf" : "dev-master",
"twig/twig" : "~1.12",
"twig/extensions" : "1.0.x-dev@dev",
"zend/gdata" : "~1.12.1"
},
"minimum-stability": "dev",
"require-dev": {
"doctrine/data-fixtures": "dev-master",
"fabpot/php-cs-fixer": "dev-master"
"doctrine/data-fixtures" : "dev-master"
},
"repositories": [
{
"type": "git",
"url": "https://github.com/winmillwill/BadFaith"
"type" : "git",
"url" : "https://github.com/winmillwill/BadFaith"
},
{
"type": "git",
"url": "https://github.com/alchemy-fr/oauth2-php"
"type" : "git",
"url" : "https://github.com/alchemy-fr/oauth2-php"
},
{
"type": "git",
"url": "https://github.com/alchemy-fr/Phlickr"
},
{
"type": "git",
"url": "https://github.com/alchemy-fr/PHPMailer_v5.1"
"type" : "git",
"url" : "https://github.com/alchemy-fr/Phlickr"
}
],
"autoload": {
"psr-0": {
"": "lib/classes",
"Alchemy": "lib",
"Doctrine": "lib",
"Entities": "lib/Doctrine",
"Types": "lib/Doctrine",
"Repositories": "lib/Doctrine",
"Proxies": "lib/Doctrine",
"PhraseaFixture": "lib/conf.d"
"" : "lib/classes",
"Alchemy" : "lib",
"Doctrine" : "lib",
"Entities" : "lib/Doctrine",
"Types" : "lib/Doctrine",
"Repositories" : "lib/Doctrine",
"Proxies" : "lib/Doctrine",
"PhraseaFixture" : "lib/conf.d"
}
},
"include-path": ["vendor/zend/gdata/library"]

503
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -228,7 +228,7 @@ class Basket extends \Entities\Basket implements \Doctrine\ORM\Proxy\Proxy
if ($original === null) {
throw new \Doctrine\ORM\EntityNotFoundException();
}
foreach ($class->reflFields AS $field => $reflProperty) {
foreach ($class->reflFields as $field => $reflProperty) {
$reflProperty->setValue($this, $reflProperty->getValue($original));
}
unset($this->_entityPersister, $this->_identifier);

View File

@@ -126,7 +126,7 @@ class LazaretSession extends \Entities\LazaretSession implements \Doctrine\ORM\P
if ($original === null) {
throw new \Doctrine\ORM\EntityNotFoundException();
}
foreach ($class->reflFields AS $field => $reflProperty) {
foreach ($class->reflFields as $field => $reflProperty) {
$reflProperty->setValue($this, $reflProperty->getValue($original));
}
unset($this->_entityPersister, $this->_identifier);

View File

@@ -144,7 +144,7 @@ class UsrList extends \Entities\UsrList implements \Doctrine\ORM\Proxy\Proxy
if ($original === null) {
throw new \Doctrine\ORM\EntityNotFoundException();
}
foreach ($class->reflFields AS $field => $reflProperty) {
foreach ($class->reflFields as $field => $reflProperty) {
$reflProperty->setValue($this, $reflProperty->getValue($original));
}
unset($this->_entityPersister, $this->_identifier);

View File

@@ -138,7 +138,7 @@ class UsrListOwner extends \Entities\UsrListOwner implements \Doctrine\ORM\Proxy
if ($original === null) {
throw new \Doctrine\ORM\EntityNotFoundException();
}
foreach ($class->reflFields AS $field => $reflProperty) {
foreach ($class->reflFields as $field => $reflProperty) {
$reflProperty->setValue($this, $reflProperty->getValue($original));
}
unset($this->_entityPersister, $this->_identifier);

View File

@@ -500,15 +500,6 @@ abstract class PhraseanetPHPUnitAbstract extends WebTestCase
$loader->addFixture($validationSession);
$this->insertFixtureInDatabase($loader);
//add current user as participant
$validationParticipant = new PhraseaFixture\ValidationParticipant\LoadParticipantWithSession();
$validationParticipant->setSession($validationSession->validationSession);
$validationParticipant->setUser($currentUser);
$loader = new Loader();
$loader->addFixture($validationParticipant);
$this->insertFixtureInDatabase($loader);
} catch (\Exception $e) {
$this->fail('Fail load one WorkingZone : ' . $e->getMessage());
}