mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
Fix CS
This commit is contained in:
@@ -11,9 +11,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Core\Event;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\Context;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\EventDispatcher\Event as SfEvent;
|
||||
|
||||
class CollectionCreateEvent extends SfEvent
|
||||
|
@@ -15,7 +15,6 @@ use Alchemy\Phrasea\Application;
|
||||
use Alchemy\Phrasea\Core\Event\CollectionCreateEvent;
|
||||
use Alchemy\Phrasea\Core\Event\PostAuthenticate;
|
||||
use Alchemy\Phrasea\Core\PhraseaEvents;
|
||||
use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
|
||||
class PhraseaEngineSubscriber implements EventSubscriberInterface
|
||||
|
@@ -11,8 +11,6 @@
|
||||
|
||||
namespace Entities;
|
||||
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
/**
|
||||
* AuthFailure
|
||||
*/
|
||||
|
@@ -11,8 +11,6 @@
|
||||
|
||||
namespace Entities;
|
||||
|
||||
use Alchemy\Phrasea\Application;
|
||||
|
||||
/**
|
||||
* LazaretAttribute
|
||||
*/
|
||||
|
@@ -11,8 +11,6 @@
|
||||
|
||||
namespace Entities;
|
||||
|
||||
use Alchemy\Phrasea\Application;
|
||||
|
||||
/**
|
||||
* LazaretCheck
|
||||
*/
|
||||
|
@@ -11,8 +11,6 @@
|
||||
|
||||
namespace Entities;
|
||||
|
||||
use Alchemy\Phrasea\Application;
|
||||
|
||||
/**
|
||||
* SessionModule
|
||||
*/
|
||||
|
@@ -11,8 +11,6 @@
|
||||
|
||||
namespace Entities;
|
||||
|
||||
use Alchemy\Phrasea\Application;
|
||||
|
||||
/**
|
||||
* ValidationData
|
||||
*/
|
||||
|
@@ -202,11 +202,9 @@ class module_console_checkExtension extends Command
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
// test disconnected mode if available
|
||||
// prepare the test before closing session
|
||||
if(function_exists("phrasea_public_query"))
|
||||
{
|
||||
if (function_exists("phrasea_public_query")) {
|
||||
// fill an array for each sbas to query
|
||||
$tbases = array();
|
||||
foreach ($phSession["bases"] as $phbase) {
|
||||
@@ -231,7 +229,6 @@ class module_console_checkExtension extends Command
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$output->writeln("\n-- phrasea_close_session --");
|
||||
|
||||
$rs = phrasea_close_session($sessid);
|
||||
@@ -244,11 +241,8 @@ class module_console_checkExtension extends Command
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// session is closed, test disconnected mode if available
|
||||
if(function_exists("phrasea_public_query"))
|
||||
{
|
||||
if (function_exists("phrasea_public_query")) {
|
||||
$output->writeln("\n-- phrasea_public_query(...0, 5,...) --");
|
||||
|
||||
$ret = phrasea_public_query(
|
||||
@@ -270,9 +264,7 @@ class module_console_checkExtension extends Command
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
foreach($ret['results'] as $result)
|
||||
{
|
||||
foreach ($ret['results'] as $result) {
|
||||
$sbid = $result["sbid"];
|
||||
$rid = $result["rid"];
|
||||
$q = $tbases["S".$sbid]["arrayq"]; // query tree
|
||||
|
@@ -22,8 +22,3 @@ Entities\StoryWZ:
|
||||
gedmo:
|
||||
timestampable:
|
||||
on: create
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -29,5 +29,3 @@ Entities\UsrList:
|
||||
targetEntity: UsrListEntry
|
||||
mappedBy: list
|
||||
cascade: ["ALL"]
|
||||
|
||||
|
||||
|
@@ -31,5 +31,3 @@ Entities\UsrListEntry:
|
||||
name: list_id
|
||||
referencedColumnName: id
|
||||
cascade: ["persist"]
|
||||
|
||||
|
||||
|
@@ -33,6 +33,3 @@ Entities\UsrListOwner:
|
||||
name: list_id
|
||||
referencedColumnName: id
|
||||
cascade: ["persist"]
|
||||
|
||||
|
||||
|
||||
|
@@ -35,7 +35,3 @@ Entities\ValidationSession:
|
||||
targetEntity: ValidationParticipant
|
||||
mappedBy: session
|
||||
cascade: ["ALL"]
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -6,6 +6,5 @@
|
||||
use Alchemy\Phrasea\CLI;
|
||||
|
||||
return call_user_func(function (CLI $cli) {
|
||||
|
||||
return $cli;
|
||||
}, $cli);
|
||||
|
@@ -6,6 +6,5 @@
|
||||
use Alchemy\Phrasea\Application;
|
||||
|
||||
return call_user_func(function (Application $app) {
|
||||
|
||||
return $app;
|
||||
}, $app);
|
||||
|
Reference in New Issue
Block a user