mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
Fix CS
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
namespace Alchemy\Phrasea\Authentication\Phrasea;
|
||||
|
||||
use Alchemy\Phrasea\Application;
|
||||
use Alchemy\Phrasea\Authentication\Phrasea\FailureManager;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
class FailureHandledNativeAuthentication implements PasswordAuthenticationInterface
|
||||
|
@@ -11,13 +11,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Cache;
|
||||
|
||||
use Alchemy\Phrasea\Cache\ApcCache;
|
||||
use Alchemy\Phrasea\Cache\ArrayCache;
|
||||
use Alchemy\Phrasea\Cache\Cache;
|
||||
use Alchemy\Phrasea\Cache\MemcacheCache;
|
||||
use Alchemy\Phrasea\Cache\RedisCache;
|
||||
use Alchemy\Phrasea\Cache\WinCacheCache;
|
||||
use Alchemy\Phrasea\Cache\XcacheCache;
|
||||
use Alchemy\Phrasea\Exception\RuntimeException;
|
||||
|
||||
class Factory
|
||||
|
@@ -13,8 +13,6 @@ namespace Alchemy\Phrasea\Cache;
|
||||
|
||||
use Alchemy\Phrasea\Exception\RuntimeException;
|
||||
use Alchemy\Phrasea\Core\Configuration\Compiler;
|
||||
use Alchemy\Phrasea\Cache\Cache;
|
||||
use Alchemy\Phrasea\Cache\Factory;
|
||||
use Monolog\Logger;
|
||||
|
||||
class Manager
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Command;
|
||||
|
||||
use Alchemy\Phrasea\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Command;
|
||||
|
||||
use Alchemy\Phrasea\Command\Command;
|
||||
use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Command;
|
||||
|
||||
use Alchemy\Phrasea\Command\Command;
|
||||
use Alchemy\Phrasea\Core\Event\CollectionCreateEvent;
|
||||
use Alchemy\Phrasea\Core\PhraseaEvents;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
|
@@ -20,7 +20,6 @@ use JMS\TranslationBundle\Annotation\Ignore;
|
||||
use Doctrine\Common\Annotations\DocParser;
|
||||
use JMS\TranslationBundle\Model\MessageCatalogue;
|
||||
use JMS\TranslationBundle\Translation\Extractor\FileVisitorInterface;
|
||||
use JMS\TranslationBundle\Logger\LoggerAwareInterface;
|
||||
use Symfony\Component\HttpKernel\Log\LoggerInterface;
|
||||
|
||||
class HelpMessageExtractor implements FileVisitorInterface, \PHPParser_NodeVisitor
|
||||
@@ -41,7 +40,6 @@ class HelpMessageExtractor implements FileVisitorInterface, \PHPParser_NodeVisit
|
||||
$this->traverser->addVisitor($this);
|
||||
}
|
||||
|
||||
|
||||
public function enterNode(\PHPParser_Node $node)
|
||||
{
|
||||
if ($node instanceof \PHPParser_Node_Stmt_Class) {
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Command;
|
||||
|
||||
use Alchemy\Phrasea\Command\Command;
|
||||
use Alchemy\Phrasea\Border\File;
|
||||
use Alchemy\Phrasea\Border\Manager;
|
||||
use Alchemy\Phrasea\Model\Entities\LazaretFile;
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Command;
|
||||
|
||||
use Alchemy\Phrasea\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Command;
|
||||
|
||||
use Alchemy\Phrasea\Command\Command;
|
||||
use Alchemy\Phrasea\Command\Upgrade\Step31;
|
||||
use Alchemy\Phrasea\Command\Upgrade\Step35;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
|
@@ -29,9 +29,9 @@ class Configuration implements ConfigurationInterface
|
||||
/**
|
||||
* @param Yaml $yaml The Yaml Parser
|
||||
* @param Compiler $compiler The PHP Compiler
|
||||
* @param $config The path to the yaml configuration path
|
||||
* @param $compiled The path to the compiled configuration path
|
||||
* @param $autoReload Whether to recompile configuration on any change (slow, useful in debug)
|
||||
* @param string $config The path to the yaml configuration path
|
||||
* @param string $compiled The path to the compiled configuration path
|
||||
* @param Boolean $autoReload Whether to recompile configuration on any change (slow, useful in debug)
|
||||
*/
|
||||
public function __construct(Yaml $yaml, Compiler $compiler, $config, $compiled, $autoReload)
|
||||
{
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Core\Configuration;
|
||||
|
||||
use Alchemy\Phrasea\Core\Configuration\PropertyAccess;
|
||||
use Alchemy\Phrasea\Model\Entities\User;
|
||||
|
||||
class DisplaySettingService
|
||||
|
@@ -14,7 +14,6 @@ namespace Alchemy\Phrasea\Core\Provider;
|
||||
use Alchemy\Phrasea\Core\Configuration\SessionHandlerFactory;
|
||||
use Silex\Application;
|
||||
use Silex\ServiceProviderInterface;
|
||||
use Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeSessionHandler;
|
||||
|
||||
class SessionHandlerServiceProvider implements ServiceProviderInterface
|
||||
{
|
||||
|
@@ -15,7 +15,6 @@ use Alchemy\Phrasea\Application;
|
||||
use Silex\Application as SilexApplication;
|
||||
use Silex\ServiceProviderInterface;
|
||||
use Alchemy\Phrasea\Media\SubdefGenerator;
|
||||
use Alchemy\Phrasea\Media\SubdefGeneratorMock;
|
||||
|
||||
class SubdefServiceProvider implements ServiceProviderInterface
|
||||
{
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Feed;
|
||||
|
||||
use Alchemy\Phrasea\Feed\Aggregate;
|
||||
use Alchemy\Phrasea\Model\Entities\Feed;
|
||||
|
||||
/**
|
||||
|
@@ -14,7 +14,6 @@ namespace Alchemy\Phrasea\Feed\Link;
|
||||
use Alchemy\Phrasea\Exception\InvalidArgumentException;
|
||||
use Alchemy\Phrasea\Feed\Aggregate;
|
||||
use Alchemy\Phrasea\Feed\FeedInterface;
|
||||
use Alchemy\Phrasea\Feed\Link\FeedLink;
|
||||
use Alchemy\Phrasea\Model\Entities\AggregateToken;
|
||||
use Doctrine\ORM\EntityManager;
|
||||
use Symfony\Component\Routing\Generator\UrlGenerator;
|
||||
|
@@ -13,9 +13,7 @@ namespace Alchemy\Phrasea\Form\Configuration;
|
||||
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\Form\FormEvents;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
||||
use Symfony\Component\Routing\Generator\UrlGenerator;
|
||||
use Symfony\Component\Translation\TranslatorInterface;
|
||||
|
||||
class MainConfigurationFormType extends AbstractType
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Http;
|
||||
|
||||
use Alchemy\Phrasea\Http\DeliverDataInterface;
|
||||
use Alchemy\Phrasea\Application;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\HttpFoundation\BinaryFileResponse;
|
||||
|
@@ -187,5 +187,3 @@ class SubdefGenerator
|
||||
return $extension;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Model\Entities;
|
||||
|
||||
use Alchemy\Phrasea\Application;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Alchemy\Phrasea\Model\Entities\Order;
|
||||
|
||||
/**
|
||||
* @ORM\Table(name="OrderElements", uniqueConstraints={@ORM\UniqueConstraint(name="unique_ordercle", columns={"base_id","record_id","order_id"})})
|
||||
|
@@ -12,7 +12,6 @@
|
||||
namespace Alchemy\Phrasea\Model\Entities;
|
||||
|
||||
use Alchemy\Phrasea\Application;
|
||||
use Alchemy\Phrasea\Model\Entities\ValidationParticipant;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Gedmo\Mapping\Annotation as Gedmo;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
@@ -11,7 +11,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Notification;
|
||||
|
||||
use Alchemy\Phrasea\Notification\EmitterInterface;
|
||||
use Alchemy\Phrasea\Notification\Mail\MailInterface;
|
||||
use Alchemy\Phrasea\Exception\LogicException;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
|
@@ -11,8 +11,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Plugin\Schema;
|
||||
|
||||
use Alchemy\Phrasea\Plugin\Schema\ManifestValidator;
|
||||
use Alchemy\Phrasea\Plugin\Schema\Manifest;
|
||||
use Alchemy\Phrasea\Plugin\Exception\PluginValidationException;
|
||||
use Alchemy\Phrasea\Plugin\Exception\JsonValidationException;
|
||||
|
||||
|
@@ -12,8 +12,6 @@
|
||||
namespace Alchemy\Phrasea\SearchEngine;
|
||||
|
||||
use Alchemy\Phrasea\Application;
|
||||
use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
|
||||
use Alchemy\Phrasea\SearchEngine\SearchEngineResult;
|
||||
use Alchemy\Phrasea\Exception\RuntimeException;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
|
@@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Setup;
|
||||
|
||||
use Alchemy\Phrasea\Application;
|
||||
use Doctrine\ORM\Tools\SchemaTool;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
class Installer
|
||||
{
|
||||
|
@@ -11,8 +11,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\TaskManager;
|
||||
|
||||
use Alchemy\Phrasea\TaskManager\Notifier;
|
||||
use Alchemy\Phrasea\TaskManager\TaskManagerStatus;
|
||||
use Alchemy\Phrasea\Model\Entities\Task;
|
||||
|
||||
class LiveInformation
|
||||
|
@@ -16,7 +16,7 @@ class ZipArchiveImproved extends ZipArchive
|
||||
protected $_newAddedFilesSize = 100;
|
||||
|
||||
/**
|
||||
* returns the name of the archive file.
|
||||
* Returns the name of the archive file.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@@ -26,7 +26,7 @@ class ZipArchiveImproved extends ZipArchive
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the number of files that are going to be added to ZIP
|
||||
* Returns the number of files that are going to be added to ZIP
|
||||
* without reopenning the stream to file.
|
||||
*
|
||||
* @return int
|
||||
@@ -59,7 +59,8 @@ class ZipArchiveImproved extends ZipArchive
|
||||
*
|
||||
* @param string $fileName
|
||||
* @param int $flags
|
||||
* return mixed
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function open($fileName, $flags = null)
|
||||
{
|
||||
|
@@ -93,7 +93,6 @@ class module_report_connexion extends module_report
|
||||
* @desc build the result from the specified sql
|
||||
* @param array $champ all the field from the request displayed in a array
|
||||
* @param string $sql the request from buildreq
|
||||
* @return $this->result
|
||||
*/
|
||||
protected function buildResult(Application $app, $rs)
|
||||
{
|
||||
|
@@ -58,7 +58,7 @@ class module_report_dashboard_feed implements module_report_dashboard_componentI
|
||||
private $app;
|
||||
|
||||
/**
|
||||
* return l'objet stockee dans le cache si i l existe sinon instancie
|
||||
* Returns l'objet stockee dans le cache si i l existe sinon instancie
|
||||
* un nouveau objet dashboard_feed
|
||||
*
|
||||
* @param Application $app
|
||||
|
@@ -96,7 +96,6 @@ class module_report_download extends module_report
|
||||
* @desc build the result from the specified sql
|
||||
* @param array $champ all the field from the request displayed in a array
|
||||
* @param string $sql the request from buildreq
|
||||
* @return $this->result
|
||||
*/
|
||||
protected function buildResult(Application $app, $rs)
|
||||
{
|
||||
|
@@ -16,7 +16,6 @@ use Alchemy\Phrasea\Metadata\Tag\TfBasename;
|
||||
use Alchemy\Phrasea\SearchEngine\SearchEngineInterface;
|
||||
use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
|
||||
use Doctrine\ORM\EntityManager;
|
||||
use MediaAlchemyst\Specification\SpecificationInterface;
|
||||
use MediaVorus\Media\MediaInterface;
|
||||
use MediaAlchemyst\Alchemyst;
|
||||
use MediaVorus\MediaVorus;
|
||||
@@ -345,7 +344,7 @@ class record_adapter implements record_Interface, cache_cacheableInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* return recor_id of the record
|
||||
* Returns record_id of the record
|
||||
*
|
||||
* @return <int>
|
||||
*/
|
||||
@@ -437,7 +436,7 @@ class record_adapter implements record_Interface, cache_cacheableInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* return the type of the document
|
||||
* Returns the type of the document
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@@ -457,7 +456,7 @@ class record_adapter implements record_Interface, cache_cacheableInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* return duration in seconds
|
||||
* Returns duration in seconds
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Application;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
class ApiJSONPApplication extends ApiTestCase
|
||||
class ApiJSONPTest extends ApiTestCase
|
||||
{
|
||||
protected function evaluateResponseBadRequest(Response $response)
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Application;
|
||||
|
||||
class ApiJsonApplication extends ApiTestCase
|
||||
class ApiJsonTest extends ApiTestCase
|
||||
{
|
||||
protected function getParameters(array $parameters = [])
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Application;
|
||||
|
||||
use Symfony\Component\Yaml\Yaml;
|
||||
|
||||
class ApiYamlApplication extends ApiTestCase
|
||||
class ApiYamlTest extends ApiTestCase
|
||||
{
|
||||
protected function getParameters(array $parameters = [])
|
||||
{
|
||||
|
@@ -9,7 +9,7 @@ use Alchemy\Phrasea\Authentication\Context;
|
||||
* Test oauthv2 flow based on ietf authv2 spec
|
||||
* @link http://tools.ietf.org/html/draft-ietf-oauth-v2-18
|
||||
*/
|
||||
class oauthv2_application_test extends \PhraseanetAuthenticatedWebTestCase
|
||||
class OAuth2Test extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
/**
|
||||
*
|
||||
|
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Authentication\PersistentCookie;
|
||||
|
||||
use Alchemy\Phrasea\Authentication\PersistentCookie\Manager;
|
||||
use Alchemy\Phrasea\Model\Entities\Session;
|
||||
|
||||
class ManagerTest extends \PhraseanetTestCase
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Cache;
|
||||
|
||||
use \Alchemy\Phrasea\Cache\RedisCache;
|
||||
|
||||
class RedisTest extends \PhraseanetTestCase
|
||||
class RedisCacheTest extends \PhraseanetTestCase
|
||||
{
|
||||
|
||||
public function testBasics()
|
||||
|
@@ -2,8 +2,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Command\Compile;
|
||||
|
||||
use Alchemy\Phrasea\Command\Compile\Configuration;
|
||||
|
||||
class ConfigurationTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testExecute()
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Command\Task;
|
||||
|
||||
use Alchemy\Phrasea\Command\Task\SchedulerPauseTasks;
|
||||
|
||||
class SchedulerPauseTasksTest extends \PhraseanetTestCase
|
||||
class SchedulerPauseTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testRunWithoutProblems()
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Command\Task;
|
||||
|
||||
use Alchemy\Phrasea\Command\Task\SchedulerResumeTasks;
|
||||
|
||||
class SchedulerResumeTasksTest extends \PhraseanetTestCase
|
||||
class SchedulerResumeTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testRunWithoutProblems()
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
use PHPExiftool\Driver\Tag\IPTC\ObjectName;
|
||||
use Alchemy\Phrasea\Vocabulary\Controller as VocabularyController;
|
||||
|
||||
class ControllerFieldsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class FieldsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public function testRoot()
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
class Module_Admin_Route_PublicationTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class PublicationTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public static $account = null;
|
||||
public static $api = null;
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
use Alchemy\Phrasea\Media\Subdef\Image;
|
||||
|
||||
class ControllerSubdefsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class SubdefsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
class ControllerUsersTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class UsersTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
protected $usersParameters;
|
||||
|
@@ -6,7 +6,7 @@ use Alchemy\Phrasea\Application;
|
||||
use Alchemy\Phrasea\Model\Entities\Basket;
|
||||
use Alchemy\Phrasea\Model\Entities\BasketElement;
|
||||
|
||||
class ControllerBasketTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class BasketTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
require_once __DIR__ . '/../../../../../classes/Bridge/Bridge_datas.inc';
|
||||
|
||||
class BridgeApplication extends \PhraseanetAuthenticatedWebTestCase
|
||||
class BridgeTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public static $account = null;
|
||||
public static $api = null;
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerEditTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class EditTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerLanguageTest extends \PhraseanetWebTestCase
|
||||
class LanguageTest extends \PhraseanetWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerMoveCollectionTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class MoveCollectionTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerPrinterTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class PrinterTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerPushTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class PushTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerRootTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class RootTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
/**
|
||||
* Default route test
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
use Symfony\Component\HttpKernel\Client;
|
||||
|
||||
class ControllerStoryTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class StoryTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public function testRootPost()
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
use Symfony\Component\HttpFoundation\File\UploadedFile;
|
||||
|
||||
class ControllerToolsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class ToolsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
protected $tmpFile;
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
|
||||
|
||||
class ControllerTooltipTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class TooltipTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerUsrListsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class UsrListsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerWorkZoneTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
class WorkZoneTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
|
||||
protected $client;
|
||||
|
@@ -10,7 +10,7 @@ use Alchemy\Phrasea\Model\Entities\FeedEntry;
|
||||
use Alchemy\Phrasea\Model\Entities\FeedItem;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
class RssFeedTest extends \PhraseanetWebTestCase
|
||||
class RSSFeedTest extends \PhraseanetWebTestCase
|
||||
{
|
||||
public function testPublicFeedAggregated()
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Utils;
|
||||
|
||||
class ControllerConnectionTestTest extends \PhraseanetWebTestCase
|
||||
class ConnectionTestTest extends \PhraseanetWebTestCase
|
||||
{
|
||||
/**
|
||||
* Default route test
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Utils;
|
||||
|
||||
class ControllerPathFileTestTest extends \PhraseanetWebTestCase
|
||||
class PathFileTestTest extends \PhraseanetWebTestCase
|
||||
{
|
||||
/**
|
||||
* Default route test
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\CLIProvider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\CLIProvider\ComposerSetupServiceProvider
|
||||
*/
|
||||
class ComposerSetupServiceProvidertest extends ServiceProviderTestCase
|
||||
class ComposerSetupServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\CLIProvider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\CLIProvider\LessBuilderServiceProvider
|
||||
*/
|
||||
class LessBuilderServiceProvidertest extends ServiceProviderTestCase
|
||||
class LessBuilderServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -8,7 +8,7 @@ use Symfony\Component\Process\ExecutableFinder;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\CLIProvider\PluginServiceProvider
|
||||
*/
|
||||
class PluginServiceProvidertest extends ServiceProviderTestCase
|
||||
class PluginServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Core\CLIProvider;
|
||||
|
||||
class SignalHandlerServiceProvidertest extends ServiceProviderTestCase
|
||||
class SignalHandlerServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\CLIProvider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\CLIProvider\TaskManagerServiceProvider
|
||||
*/
|
||||
class TaskManagerServiceProvidertest extends ServiceProviderTestCase
|
||||
class TaskManagerServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\CLIProvider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\CLIProvider\TranslationExtractorServiceProvider
|
||||
*/
|
||||
class TranslationExtractorServiceProvidertest extends ServiceProviderTestCase
|
||||
class TranslationExtractorServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
|
||||
class ACLServiceProvidertest extends ServiceProviderTestCase
|
||||
class ACLServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -11,7 +11,7 @@ use Silex\Application;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\AuthenticationManagerServiceProvider
|
||||
*/
|
||||
class AuthenticationManagerServiceProvidertest extends ServiceProviderTestCase
|
||||
class AuthenticationManagerServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -10,7 +10,7 @@ use XPDF\XPDFServiceProvider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\BorderManagerServiceProvider
|
||||
*/
|
||||
class BorderManagerServiceProvidertest extends ServiceProviderTestCase
|
||||
class BorderManagerServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\BrowserServiceProvider
|
||||
*/
|
||||
class BrowserServiceProvidertest extends ServiceProviderTestCase
|
||||
class BrowserServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
|
||||
class CacheConnectionServiceProvidertest extends ServiceProviderTestCase
|
||||
class CacheConnectionServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\CacheServiceProvider
|
||||
*/
|
||||
class CacheServiceProvidertest extends ServiceProviderTestCase
|
||||
class CacheServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -9,7 +9,7 @@ use Symfony\Component\HttpKernel\Client;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\ConfigurationServiceProvider
|
||||
*/
|
||||
class ConfigurationServiceProvidertest extends ServiceProviderTestCase
|
||||
class ConfigurationServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\ConfigurationTesterServiceProvider
|
||||
*/
|
||||
class ConfigurationTesterServiceProvidertest extends ServiceProviderTestCase
|
||||
class ConfigurationTesterServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
|
||||
class ConvertersServiceProvidertest extends ServiceProviderTestCase
|
||||
class ConvertersServiceProvider extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
|
||||
use Alchemy\Phrasea\Core\Provider\FtpServiceProvider;
|
||||
|
||||
class FTPServiceProvidertest extends \PhraseanetTestCase
|
||||
class FTPServiceProviderTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testGetInstantiate()
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\JMSServiceProviderServiceProvider
|
||||
*/
|
||||
class JMSServiceProviderServiceProvidertest extends ServiceProviderTestCase
|
||||
class JMSSerializerServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -9,7 +9,7 @@ use Alchemy\Phrasea\Core\Provider\LocaleServiceProvider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\LocaleServiceProvider
|
||||
*/
|
||||
class LocaleServiceProvidertest extends \PhraseanetTestCase
|
||||
class LocaleServiceProviderTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testLocalesAvailable()
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
|
||||
class ManipulatorServiceProvidertest extends ServiceProviderTestCase
|
||||
class ManipulatorServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@ use Alchemy\Phrasea\Core\Provider\NotificationDelivererServiceProvider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\NotificationDelivererServiceProvider
|
||||
*/
|
||||
class NotificationDelivererServiceProvidertest extends ServiceProviderTestCase
|
||||
class NotificationDelivererServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\ORMServiceProvider
|
||||
*/
|
||||
class ORMServiceProvidertest extends ServiceProviderTestCase
|
||||
class ORMServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\PhraseaVersionServiceProvider
|
||||
*/
|
||||
class PhraseaVersionServiceProvidertest extends ServiceProviderTestCase
|
||||
class PhraseaVersionServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -7,7 +7,7 @@ use Alchemy\Phrasea\Core\Provider\RegistrationServiceProvider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\RegistrationServiceProvider
|
||||
*/
|
||||
class RegistrationServiceProvidertest extends \PhraseanetTestCase
|
||||
class RegistrationServiceProviderTest extends \PhraseanetTestCase
|
||||
{
|
||||
private $fields;
|
||||
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\SearchEngineServiceProvider
|
||||
*/
|
||||
class SearchEngineServiceProvidertest extends ServiceProviderTestCase
|
||||
class SearchEngineServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -4,7 +4,6 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
|
||||
use Alchemy\Phrasea\Core\Configuration\PropertyAccess;
|
||||
use Alchemy\Phrasea\Core\Provider\SessionHandlerServiceProvider;
|
||||
use Alchemy\Tests\Tools\TranslatorMockTrait;
|
||||
use Alchemy\Tests\Phrasea\MockArrayConf;
|
||||
use Silex\Application;
|
||||
use Silex\Provider\SessionServiceProvider;
|
||||
|
@@ -2,9 +2,6 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
|
||||
use Alchemy\Phrasea\Core\Provider\TasksServiceProvider;
|
||||
use Alchemy\Tests\Tools\TranslatorMockTrait;
|
||||
|
||||
class SubdefServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\TemporaryFilesystemServiceProvider
|
||||
*/
|
||||
class TemporaryFilesystemServiceProvidertest extends ServiceProviderTestCase
|
||||
class TemporaryFilesystemServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\TokensServiceProvider
|
||||
*/
|
||||
class TokensServiceProvidertest extends ServiceProviderTestCase
|
||||
class TokensServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\TranslatorServiceProvider
|
||||
*/
|
||||
class TranslatorServiceProvidertest extends ServiceProviderTestCase
|
||||
class TranslationServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Core\Provider\UnicodeServiceProvider
|
||||
*/
|
||||
class UnicodeServiceProvidertest extends ServiceProviderTestCase
|
||||
class UnicodeServiceProviderTest extends ServiceProviderTestCase
|
||||
{
|
||||
public function provideServiceDescription()
|
||||
{
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Http\XSendFile;
|
||||
use Alchemy\Phrasea\Http\XSendFile\NginxMode;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
class XSendFileModeNginxTest extends \PhraseanetTestCase
|
||||
class NginxModeTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testGetVirtualHost()
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Metadata\Tag;
|
||||
|
||||
use Alchemy\Phrasea\Metadata\Tag\TfEditdate;
|
||||
|
||||
class TfEditdateTest extends \PhraseanetTestCase
|
||||
class TfEditDateTest extends \PhraseanetTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Metadata\Tag;
|
||||
|
||||
use Alchemy\Phrasea\Metadata\Tag\TfMimetype;
|
||||
|
||||
class TfMimetypeTest extends \PhraseanetTestCase
|
||||
class TfMimeTypeTest extends \PhraseanetTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
|
@@ -2,8 +2,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Model\Converter;
|
||||
|
||||
use Alchemy\Phrasea\Model\Converter\BasketConverter;
|
||||
|
||||
class BasketConverterTest extends \PhraseanetTestCase
|
||||
{
|
||||
public function testConvert()
|
||||
|
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Model\Converter;
|
||||
|
||||
use Alchemy\Phrasea\Model\Converter\TaskConverter;
|
||||
use Alchemy\Phrasea\Model\Entities\Task;
|
||||
|
||||
class TaskConverterTest extends \PhraseanetTestCase
|
||||
|
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace Alchemy\Phrasea\Plugin\Management;
|
||||
|
||||
use Alchemy\Phrasea\Plugin\Management\ComposerInstaller;
|
||||
use Alchemy\Phrasea\Utilities\ComposerSetup;
|
||||
use Guzzle\Http\Client as Guzzle;
|
||||
use Symfony\Component\Process\ExecutableFinder;
|
||||
|
@@ -4,7 +4,6 @@ namespace Alchemy\Tests\Phrasea\SearchEngine;
|
||||
|
||||
use Alchemy\Phrasea\SearchEngine\Phrasea\PhraseaEngine;
|
||||
use Alchemy\Phrasea\SearchEngine\Phrasea\ConfigurationPanel;
|
||||
use Alchemy\Tests\Phrasea\SearchEngine\ConfigurationPanelAbstractTest;
|
||||
|
||||
class PhraseaConfigurationPanelTest extends ConfigurationPanelAbstractTest
|
||||
{
|
||||
|
@@ -3,7 +3,6 @@
|
||||
namespace Alchemy\Tests\Phrasea\SearchEngine;
|
||||
|
||||
use Alchemy\Phrasea\SearchEngine\Phrasea\PhraseaEngine;
|
||||
use Alchemy\Tests\Phrasea\SearchEngine\SearchEngineAbstractTest;
|
||||
use Symfony\Component\Process\Process;
|
||||
|
||||
/**
|
||||
|
@@ -4,7 +4,6 @@ namespace Alchemy\Tests\Phrasea\SearchEngine;
|
||||
|
||||
use Alchemy\Phrasea\SearchEngine\SphinxSearch\SphinxSearchEngine;
|
||||
use Alchemy\Phrasea\SearchEngine\SphinxSearch\ConfigurationPanel;
|
||||
use Alchemy\Tests\Phrasea\SearchEngine\ConfigurationPanelAbstractTest;
|
||||
|
||||
class SphinxSearchConfigurationPanelTest extends ConfigurationPanelAbstractTest
|
||||
{
|
||||
|
@@ -3,8 +3,6 @@
|
||||
namespace Alchemy\Tests\Phrasea\SearchEngine;
|
||||
|
||||
use Alchemy\Phrasea\SearchEngine\SphinxSearch\SphinxSearchEngine;
|
||||
use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
|
||||
use Alchemy\Tests\Phrasea\SearchEngine\SearchEngineAbstractTest;
|
||||
use Symfony\Component\Process\ExecutableFinder;
|
||||
use Symfony\Component\Process\Process;
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user