mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 06:23:18 +00:00
CS fixer
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
@@ -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
|
||||||
{
|
{
|
||||||
|
@@ -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();
|
||||||
|
@@ -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
|
||||||
*/
|
*/
|
||||||
|
@@ -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
|
||||||
{
|
{
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user