This commit is contained in:
Nicolas Le Goff
2014-02-14 16:40:27 +01:00
parent 7ac2358edd
commit efd69c6de8
7 changed files with 5 additions and 10 deletions

View File

@@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Notification;
use Alchemy\Phrasea\Exception\InvalidArgumentException; use Alchemy\Phrasea\Exception\InvalidArgumentException;
use Alchemy\Phrasea\Model\Entities\User; use Alchemy\Phrasea\Model\Entities\User;
use Symfony\Component\Translation\TranslatorInterface;
class Emitter implements EmitterInterface class Emitter implements EmitterInterface
{ {

View File

@@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Notification;
use Alchemy\Phrasea\Exception\InvalidArgumentException; use Alchemy\Phrasea\Exception\InvalidArgumentException;
use Alchemy\Phrasea\Model\Entities\User; use Alchemy\Phrasea\Model\Entities\User;
use Symfony\Component\Translation\TranslatorInterface;
class Receiver implements ReceiverInterface class Receiver implements ReceiverInterface
{ {

View File

@@ -578,7 +578,7 @@ class Upgrade39 implements PreSchemaUpgradeInterface
// executes SQLS // executes SQLS
$connection->beginTransaction(); $connection->beginTransaction();
try { try {
foreach(array_merge($sqlPreUpdate, $sqlUpdate, $sqlPostUpdate) as $sql) { foreach (array_merge($sqlPreUpdate, $sqlUpdate, $sqlPostUpdate) as $sql) {
$connection->executeQuery($sql); $connection->executeQuery($sql);
} }
$connection->commit(); $connection->commit();

View File

@@ -12,7 +12,6 @@
namespace Alchemy\Phrasea\Vocabulary\ControlProvider; namespace Alchemy\Phrasea\Vocabulary\ControlProvider;
use Alchemy\Phrasea\Model\Entities\User; use Alchemy\Phrasea\Model\Entities\User;
use Symfony\Component\Translation\TranslatorInterface;
interface ControlProviderInterface interface ControlProviderInterface
{ {
@@ -50,9 +49,9 @@ interface ControlProviderInterface
/** /**
* Find matching Term in the vocabulary repository * Find matching Term in the vocabulary repository
* *
* @param string $query A scalar quaery * @param string $query A scalar quaery
* @param User $for_user The user doing the query * @param User $for_user The user doing the query
* @param \databox $on_databox The databox where vocabulary should be requested * @param \databox $on_databox The databox where vocabulary should be requested
* *
* @return Doctrine\Common\Collections\ArrayCollection * @return Doctrine\Common\Collections\ArrayCollection
*/ */

View File

@@ -15,7 +15,6 @@ use Alchemy\Phrasea\Application;
use Alchemy\Phrasea\Model\Entities\User; use Alchemy\Phrasea\Model\Entities\User;
use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\ArrayCollection;
use Alchemy\Phrasea\Vocabulary\Term; use Alchemy\Phrasea\Vocabulary\Term;
use Symfony\Component\Translation\TranslatorInterface;
class UserProvider implements ControlProviderInterface class UserProvider implements ControlProviderInterface
{ {

View File

@@ -9,7 +9,6 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
use Alchemy\Phrasea\Application;
use Alchemy\Phrasea\Model\Entities\User; use Alchemy\Phrasea\Model\Entities\User;
use Alchemy\Phrasea\SearchEngine\SearchEngineInterface; use Alchemy\Phrasea\SearchEngine\SearchEngineInterface;
use Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityManager;