This commit is contained in:
Romain Neutron
2014-01-14 12:04:38 +01:00
parent 0778c5852b
commit d7f7e1c92c
111 changed files with 112 additions and 173 deletions

View File

@@ -12,7 +12,6 @@
namespace Alchemy\Phrasea\Authentication\Phrasea; namespace Alchemy\Phrasea\Authentication\Phrasea;
use Alchemy\Phrasea\Application; use Alchemy\Phrasea\Application;
use Alchemy\Phrasea\Authentication\Phrasea\FailureManager;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
class FailureHandledNativeAuthentication implements PasswordAuthenticationInterface class FailureHandledNativeAuthentication implements PasswordAuthenticationInterface

View File

@@ -23,11 +23,11 @@ class Factory
/** /**
* Build a file package Attribute * Build a file package Attribute
* *
* @param Application $app Application context * @param Application $app Application context
* @param string $name The name of the attribute, one of the * @param string $name The name of the attribute, one of the
* AttributeInterface::NAME_* constants * AttributeInterface::NAME_* constants
* @param string $serialized The serialized value of the attribute * @param string $serialized The serialized value of the attribute
* (AttributeInterface::asString result) * (AttributeInterface::asString result)
* @return AttributeInterface The attribute * @return AttributeInterface The attribute
* @throws \InvalidArgumentException * @throws \InvalidArgumentException
*/ */

View File

@@ -57,8 +57,8 @@ class File
* @param MediaInterface $media The media * @param MediaInterface $media The media
* @param \collection $collection The destination collection * @param \collection $collection The destination collection
* @param string $originalName The original name of the file * @param string $originalName The original name of the file
* (if not provided, original name is * (if not provided, original name is
* extracted from the pathfile) * extracted from the pathfile)
*/ */
public function __construct(Application $app, MediaInterface $media, \collection $collection, $originalName = null) public function __construct(Application $app, MediaInterface $media, \collection $collection, $originalName = null)
{ {
@@ -272,11 +272,11 @@ class File
/** /**
* Build the File package object * Build the File package object
* *
* @param string $pathfile The path to the file * @param string $pathfile The path to the file
* @param \collection $collection The destination collection * @param \collection $collection The destination collection
* @param Application $app An application * @param Application $app An application
* @param string $originalName An optionnal original name (if * @param string $originalName An optionnal original name (if
* different from the $pathfile filename) * different from the $pathfile filename)
* @throws \InvalidArgumentException * @throws \InvalidArgumentException
* *
* @return File * @return File

View File

@@ -105,14 +105,14 @@ class Manager
/** /**
* Add a file to Phraseanet after having checked it * Add a file to Phraseanet after having checked it
* *
* @param LazaretSession $session The current Lazaret Session * @param LazaretSession $session The current Lazaret Session
* @param File $file A File package object * @param File $file A File package object
* @param type $callable A callback to execute after process * @param type $callable A callback to execute after process
* (arguments are $element (LazaretFile or \record_adapter), * (arguments are $element (LazaretFile or \record_adapter),
* $visa (Visa) * $visa (Visa)
* and $code (self::RECORD_CREATED or self::LAZARET_CREATED)) * and $code (self::RECORD_CREATED or self::LAZARET_CREATED))
* @param type $forceBehavior Force a behavior, one of the self::FORCE_* constant * @param type $forceBehavior Force a behavior, one of the self::FORCE_* constant
* @return int One of the self::RECORD_CREATED or self::LAZARET_CREATED constants * @return int One of the self::RECORD_CREATED or self::LAZARET_CREATED constants
*/ */
public function process(LazaretSession $session, File $file, $callable = null, $forceBehavior = null) public function process(LazaretSession $session, File $file, $callable = null, $forceBehavior = null)
{ {

View File

@@ -11,13 +11,6 @@
namespace Alchemy\Phrasea\Cache; 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; use Alchemy\Phrasea\Exception\RuntimeException;
class Factory class Factory

View File

@@ -13,8 +13,6 @@ namespace Alchemy\Phrasea\Cache;
use Alchemy\Phrasea\Exception\RuntimeException; use Alchemy\Phrasea\Exception\RuntimeException;
use Alchemy\Phrasea\Core\Configuration\Compiler; use Alchemy\Phrasea\Core\Configuration\Compiler;
use Alchemy\Phrasea\Cache\Cache;
use Alchemy\Phrasea\Cache\Factory;
use Monolog\Logger; use Monolog\Logger;
class Manager class Manager

View File

@@ -11,7 +11,6 @@
namespace Alchemy\Phrasea\Command; namespace Alchemy\Phrasea\Command;
use Alchemy\Phrasea\Command\Command;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;

View File

@@ -11,7 +11,6 @@
namespace Alchemy\Phrasea\Command; namespace Alchemy\Phrasea\Command;
use Alchemy\Phrasea\Command\Command;
use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException; use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;

View File

@@ -11,7 +11,6 @@
namespace Alchemy\Phrasea\Command; namespace Alchemy\Phrasea\Command;
use Alchemy\Phrasea\Command\Command;
use Alchemy\Phrasea\Core\Event\CollectionCreateEvent; use Alchemy\Phrasea\Core\Event\CollectionCreateEvent;
use Alchemy\Phrasea\Core\PhraseaEvents; use Alchemy\Phrasea\Core\PhraseaEvents;
use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputArgument;

View File

@@ -20,7 +20,6 @@ use JMS\TranslationBundle\Annotation\Ignore;
use Doctrine\Common\Annotations\DocParser; use Doctrine\Common\Annotations\DocParser;
use JMS\TranslationBundle\Model\MessageCatalogue; use JMS\TranslationBundle\Model\MessageCatalogue;
use JMS\TranslationBundle\Translation\Extractor\FileVisitorInterface; use JMS\TranslationBundle\Translation\Extractor\FileVisitorInterface;
use JMS\TranslationBundle\Logger\LoggerAwareInterface;
use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\HttpKernel\Log\LoggerInterface;
class HelpMessageExtractor implements FileVisitorInterface, \PHPParser_NodeVisitor class HelpMessageExtractor implements FileVisitorInterface, \PHPParser_NodeVisitor
@@ -41,7 +40,6 @@ class HelpMessageExtractor implements FileVisitorInterface, \PHPParser_NodeVisit
$this->traverser->addVisitor($this); $this->traverser->addVisitor($this);
} }
public function enterNode(\PHPParser_Node $node) public function enterNode(\PHPParser_Node $node)
{ {
if ($node instanceof \PHPParser_Node_Stmt_Class) { if ($node instanceof \PHPParser_Node_Stmt_Class) {
@@ -92,9 +90,9 @@ class HelpMessageExtractor implements FileVisitorInterface, \PHPParser_NodeVisit
foreach ($this->docParser->parse($docComment, 'file '.$this->file.' near line '.$item->value->getLine()) as $annot) { foreach ($this->docParser->parse($docComment, 'file '.$this->file.' near line '.$item->value->getLine()) as $annot) {
if ($annot instanceof Ignore) { if ($annot instanceof Ignore) {
$ignore = true; $ignore = true;
} else if ($annot instanceof Desc) { } elseif ($annot instanceof Desc) {
$desc = $annot->text; $desc = $annot->text;
} else if ($annot instanceof Meaning) { } elseif ($annot instanceof Meaning) {
$meaning = $annot->text; $meaning = $annot->text;
} }
} }

View File

@@ -11,7 +11,6 @@
namespace Alchemy\Phrasea\Command; namespace Alchemy\Phrasea\Command;
use Alchemy\Phrasea\Command\Command;
use Alchemy\Phrasea\Border\File; use Alchemy\Phrasea\Border\File;
use Alchemy\Phrasea\Border\Manager; use Alchemy\Phrasea\Border\Manager;
use Alchemy\Phrasea\Model\Entities\LazaretFile; use Alchemy\Phrasea\Model\Entities\LazaretFile;

View File

@@ -11,7 +11,6 @@
namespace Alchemy\Phrasea\Command; namespace Alchemy\Phrasea\Command;
use Alchemy\Phrasea\Command\Command;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;

View File

@@ -11,7 +11,6 @@
namespace Alchemy\Phrasea\Command; namespace Alchemy\Phrasea\Command;
use Alchemy\Phrasea\Command\Command;
use Alchemy\Phrasea\Command\Upgrade\Step31; use Alchemy\Phrasea\Command\Upgrade\Step31;
use Alchemy\Phrasea\Command\Upgrade\Step35; use Alchemy\Phrasea\Command\Upgrade\Step35;
use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputOption;

View File

@@ -27,11 +27,11 @@ class Configuration implements ConfigurationInterface
private $autoReload; private $autoReload;
/** /**
* @param Yaml $yaml The Yaml Parser * @param Yaml $yaml The Yaml Parser
* @param Compiler $compiler The PHP Compiler * @param Compiler $compiler The PHP Compiler
* @param $config The path to the yaml configuration path * @param string $config The path to the yaml configuration path
* @param $compiled The path to the compiled configuration path * @param string $compiled The path to the compiled configuration path
* @param $autoReload Whether to recompile configuration on any change (slow, useful in debug) * @param Boolean $autoReload Whether to recompile configuration on any change (slow, useful in debug)
*/ */
public function __construct(Yaml $yaml, Compiler $compiler, $config, $compiled, $autoReload) public function __construct(Yaml $yaml, Compiler $compiler, $config, $compiled, $autoReload)
{ {

View File

@@ -11,7 +11,6 @@
namespace Alchemy\Phrasea\Core\Configuration; namespace Alchemy\Phrasea\Core\Configuration;
use Alchemy\Phrasea\Core\Configuration\PropertyAccess;
use Alchemy\Phrasea\Model\Entities\User; use Alchemy\Phrasea\Model\Entities\User;
class DisplaySettingService class DisplaySettingService

View File

@@ -14,7 +14,6 @@ namespace Alchemy\Phrasea\Core\Provider;
use Alchemy\Phrasea\Core\Configuration\SessionHandlerFactory; use Alchemy\Phrasea\Core\Configuration\SessionHandlerFactory;
use Silex\Application; use Silex\Application;
use Silex\ServiceProviderInterface; use Silex\ServiceProviderInterface;
use Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeSessionHandler;
class SessionHandlerServiceProvider implements ServiceProviderInterface class SessionHandlerServiceProvider implements ServiceProviderInterface
{ {

View File

@@ -15,7 +15,6 @@ use Alchemy\Phrasea\Application;
use Silex\Application as SilexApplication; use Silex\Application as SilexApplication;
use Silex\ServiceProviderInterface; use Silex\ServiceProviderInterface;
use Alchemy\Phrasea\Media\SubdefGenerator; use Alchemy\Phrasea\Media\SubdefGenerator;
use Alchemy\Phrasea\Media\SubdefGeneratorMock;
class SubdefServiceProvider implements ServiceProviderInterface class SubdefServiceProvider implements ServiceProviderInterface
{ {

View File

@@ -11,7 +11,6 @@
namespace Alchemy\Phrasea\Feed; namespace Alchemy\Phrasea\Feed;
use Alchemy\Phrasea\Feed\Aggregate;
use Alchemy\Phrasea\Model\Entities\Feed; use Alchemy\Phrasea\Model\Entities\Feed;
/** /**

View File

@@ -14,7 +14,6 @@ namespace Alchemy\Phrasea\Feed\Link;
use Alchemy\Phrasea\Exception\InvalidArgumentException; use Alchemy\Phrasea\Exception\InvalidArgumentException;
use Alchemy\Phrasea\Feed\Aggregate; use Alchemy\Phrasea\Feed\Aggregate;
use Alchemy\Phrasea\Feed\FeedInterface; use Alchemy\Phrasea\Feed\FeedInterface;
use Alchemy\Phrasea\Feed\Link\FeedLink;
use Alchemy\Phrasea\Model\Entities\AggregateToken; use Alchemy\Phrasea\Model\Entities\AggregateToken;
use Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityManager;
use Symfony\Component\Routing\Generator\UrlGenerator; use Symfony\Component\Routing\Generator\UrlGenerator;

View File

@@ -13,9 +13,7 @@ namespace Alchemy\Phrasea\Form\Configuration;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\FormEvents;
use Symfony\Component\OptionsResolver\OptionsResolverInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Symfony\Component\Routing\Generator\UrlGenerator;
use Symfony\Component\Translation\TranslatorInterface; use Symfony\Component\Translation\TranslatorInterface;
class MainConfigurationFormType extends AbstractType class MainConfigurationFormType extends AbstractType

View File

@@ -11,7 +11,6 @@
namespace Alchemy\Phrasea\Http; namespace Alchemy\Phrasea\Http;
use Alchemy\Phrasea\Http\DeliverDataInterface;
use Alchemy\Phrasea\Application; use Alchemy\Phrasea\Application;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\BinaryFileResponse; use Symfony\Component\HttpFoundation\BinaryFileResponse;

View File

@@ -106,7 +106,7 @@ class SubdefGenerator
/** /**
* Get the extension from MediaAlchemyst specs * Get the extension from MediaAlchemyst specs
* *
* @param SpecificationInterface $spec * @param SpecificationInterface $spec
* *
* @return string * @return string
*/ */
@@ -138,7 +138,7 @@ class SubdefGenerator
/** /**
* Get the extension from audiocodec * Get the extension from audiocodec
* *
* @param string $audioCodec * @param string $audioCodec
* *
* @return string * @return string
*/ */
@@ -164,7 +164,7 @@ class SubdefGenerator
/** /**
* Get the extension from videocodec * Get the extension from videocodec
* *
* @param string $videoCodec * @param string $videoCodec
* *
* @return string * @return string
*/ */
@@ -187,5 +187,3 @@ class SubdefGenerator
return $extension; return $extension;
} }
} }

View File

@@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Model\Entities;
use Alchemy\Phrasea\Application; use Alchemy\Phrasea\Application;
use Doctrine\ORM\Mapping as ORM; 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"})}) * @ORM\Table(name="OrderElements", uniqueConstraints={@ORM\UniqueConstraint(name="unique_ordercle", columns={"base_id","record_id","order_id"})})

View File

@@ -12,7 +12,6 @@
namespace Alchemy\Phrasea\Model\Entities; namespace Alchemy\Phrasea\Model\Entities;
use Alchemy\Phrasea\Application; use Alchemy\Phrasea\Application;
use Alchemy\Phrasea\Model\Entities\ValidationParticipant;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo; use Gedmo\Mapping\Annotation as Gedmo;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;

View File

@@ -11,7 +11,6 @@
namespace Alchemy\Phrasea\Notification; namespace Alchemy\Phrasea\Notification;
use Alchemy\Phrasea\Notification\EmitterInterface;
use Alchemy\Phrasea\Notification\Mail\MailInterface; use Alchemy\Phrasea\Notification\Mail\MailInterface;
use Alchemy\Phrasea\Exception\LogicException; use Alchemy\Phrasea\Exception\LogicException;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;

View File

@@ -11,8 +11,6 @@
namespace Alchemy\Phrasea\Plugin\Schema; 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\PluginValidationException;
use Alchemy\Phrasea\Plugin\Exception\JsonValidationException; use Alchemy\Phrasea\Plugin\Exception\JsonValidationException;

View File

@@ -12,8 +12,6 @@
namespace Alchemy\Phrasea\SearchEngine; namespace Alchemy\Phrasea\SearchEngine;
use Alchemy\Phrasea\Application; use Alchemy\Phrasea\Application;
use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
use Alchemy\Phrasea\SearchEngine\SearchEngineResult;
use Alchemy\Phrasea\Exception\RuntimeException; use Alchemy\Phrasea\Exception\RuntimeException;
use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\ArrayCollection;
@@ -164,9 +162,9 @@ interface SearchEngineInterface
/** /**
* *
* @param string $query * @param string $query
* @param integer $offset * @param integer $offset
* @param integer $perPage * @param integer $perPage
* @param SearchEngineOptions $options * @param SearchEngineOptions $options
* *
* @return SearchEngineResult * @return SearchEngineResult

View File

@@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Setup;
use Alchemy\Phrasea\Application; use Alchemy\Phrasea\Application;
use Doctrine\ORM\Tools\SchemaTool; use Doctrine\ORM\Tools\SchemaTool;
use Symfony\Component\HttpFoundation\Request;
class Installer class Installer
{ {

View File

@@ -11,8 +11,6 @@
namespace Alchemy\Phrasea\TaskManager; namespace Alchemy\Phrasea\TaskManager;
use Alchemy\Phrasea\TaskManager\Notifier;
use Alchemy\Phrasea\TaskManager\TaskManagerStatus;
use Alchemy\Phrasea\Model\Entities\Task; use Alchemy\Phrasea\Model\Entities\Task;
class LiveInformation class LiveInformation

View File

@@ -32,8 +32,8 @@ class RedisSessionHandler implements \SessionHandlerInterface
/** /**
* Constructor * Constructor
* *
* @param \Redis $redis The redis instance * @param \Redis $redis The redis instance
* @param array $options An associative array of Memcached options * @param array $options An associative array of Memcached options
* *
* @throws \InvalidArgumentException When unsupported options are passed * @throws \InvalidArgumentException When unsupported options are passed
*/ */

View File

@@ -32,9 +32,9 @@ abstract class Bridge_Api_Abstract
protected $translator; protected $translator;
/** /**
* @param UrlGenerator $generator * @param UrlGenerator $generator
* @param PropertyAccess $conf * @param PropertyAccess $conf
* @param TranslatorInterface $translator * @param TranslatorInterface $translator
* *
* @param Bridge_Api_Auth_Interface $auth * @param Bridge_Api_Auth_Interface $auth
*/ */

View File

@@ -16,7 +16,7 @@ class ZipArchiveImproved extends ZipArchive
protected $_newAddedFilesSize = 100; protected $_newAddedFilesSize = 100;
/** /**
* returns the name of the archive file. * Returns the name of the archive file.
* *
* @return string * @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. * without reopenning the stream to file.
* *
* @return int * @return int
@@ -59,7 +59,8 @@ class ZipArchiveImproved extends ZipArchive
* *
* @param string $fileName * @param string $fileName
* @param int $flags * @param int $flags
* return mixed *
* @return mixed
*/ */
public function open($fileName, $flags = null) public function open($fileName, $flags = null)
{ {

View File

@@ -767,12 +767,12 @@ class module_report
/** /**
* @desc Set your own configuration for each column displayed in the html table * @desc Set your own configuration for each column displayed in the html table
* @param array $tab contain your conf's variables * @param array $tab contain your conf's variables
* array( 'field' => * array( 'field' =>
* array('title of the colum', '1 = order ON / 0 = order OFF', * array('title of the colum', '1 = order ON / 0 = order OFF',
* '1 = bound ON / 0 = bound OFF') * '1 = bound ON / 0 = bound OFF')
* @example $tab = array('user' => array('user list', 1, 0), * @example $tab = array('user' => array('user list', 1, 0),
* 'id' => array(user id, 0, 0)); etc .. * 'id' => array(user id, 0, 0)); etc ..
* @return void * @return void
*/ */
protected function setConfigColumn($tab) protected function setConfigColumn($tab)

View File

@@ -93,7 +93,6 @@ class module_report_connexion extends module_report
* @desc build the result from the specified sql * @desc build the result from the specified sql
* @param array $champ all the field from the request displayed in a array * @param array $champ all the field from the request displayed in a array
* @param string $sql the request from buildreq * @param string $sql the request from buildreq
* @return $this->result
*/ */
protected function buildResult(Application $app, $rs) protected function buildResult(Application $app, $rs)
{ {

View File

@@ -58,7 +58,7 @@ class module_report_dashboard_feed implements module_report_dashboard_componentI
private $app; 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 * un nouveau objet dashboard_feed
* *
* @param Application $app * @param Application $app

View File

@@ -96,7 +96,6 @@ class module_report_download extends module_report
* @desc build the result from the specified sql * @desc build the result from the specified sql
* @param array $champ all the field from the request displayed in a array * @param array $champ all the field from the request displayed in a array
* @param string $sql the request from buildreq * @param string $sql the request from buildreq
* @return $this->result
*/ */
protected function buildResult(Application $app, $rs) protected function buildResult(Application $app, $rs)
{ {

View File

@@ -16,7 +16,6 @@ use Alchemy\Phrasea\Metadata\Tag\TfBasename;
use Alchemy\Phrasea\SearchEngine\SearchEngineInterface; use Alchemy\Phrasea\SearchEngine\SearchEngineInterface;
use Alchemy\Phrasea\SearchEngine\SearchEngineOptions; use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
use Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityManager;
use MediaAlchemyst\Specification\SpecificationInterface;
use MediaVorus\Media\MediaInterface; use MediaVorus\Media\MediaInterface;
use MediaAlchemyst\Alchemyst; use MediaAlchemyst\Alchemyst;
use MediaVorus\MediaVorus; 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> * @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 * @return string
*/ */
@@ -457,7 +456,7 @@ class record_adapter implements record_Interface, cache_cacheableInterface
} }
/** /**
* return duration in seconds * Returns duration in seconds
* *
* @return int * @return int
*/ */

View File

@@ -136,7 +136,7 @@ class uuid
* @param stiring $uuid1 * @param stiring $uuid1
* @param string $uuid2 * @param string $uuid2
* @return int * @return int
* -1 uuid1<uuid2 0 uuid1==uuid2 +1 uuid1>uuid2 * -1 uuid1<uuid2 0 uuid1==uuid2 +1 uuid1>uuid2
*/ */
public static function compare($uuid1, $uuid2) public static function compare($uuid1, $uuid2)
{ {

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Application;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
class ApiJSONPApplication extends ApiTestCase class ApiJSONPTest extends ApiTestCase
{ {
protected function evaluateResponseBadRequest(Response $response) protected function evaluateResponseBadRequest(Response $response)
{ {

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Application; namespace Alchemy\Tests\Phrasea\Application;
class ApiJsonApplication extends ApiTestCase class ApiJsonTest extends ApiTestCase
{ {
protected function getParameters(array $parameters = []) protected function getParameters(array $parameters = [])
{ {

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Application;
use Symfony\Component\Yaml\Yaml; use Symfony\Component\Yaml\Yaml;
class ApiYamlApplication extends ApiTestCase class ApiYamlTest extends ApiTestCase
{ {
protected function getParameters(array $parameters = []) protected function getParameters(array $parameters = [])
{ {

View File

@@ -9,7 +9,7 @@ use Alchemy\Phrasea\Authentication\Context;
* Test oauthv2 flow based on ietf authv2 spec * Test oauthv2 flow based on ietf authv2 spec
* @link http://tools.ietf.org/html/draft-ietf-oauth-v2-18 * @link http://tools.ietf.org/html/draft-ietf-oauth-v2-18
*/ */
class oauthv2_application_test extends \PhraseanetAuthenticatedWebTestCase class OAuth2Test extends \PhraseanetAuthenticatedWebTestCase
{ {
/** /**
* *

View File

@@ -2,7 +2,6 @@
namespace Alchemy\Phrasea\Authentication\PersistentCookie; namespace Alchemy\Phrasea\Authentication\PersistentCookie;
use Alchemy\Phrasea\Authentication\PersistentCookie\Manager;
use Alchemy\Phrasea\Model\Entities\Session; use Alchemy\Phrasea\Model\Entities\Session;
class ManagerTest extends \PhraseanetTestCase class ManagerTest extends \PhraseanetTestCase

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Cache;
use \Alchemy\Phrasea\Cache\RedisCache; use \Alchemy\Phrasea\Cache\RedisCache;
class RedisTest extends \PhraseanetTestCase class RedisCacheTest extends \PhraseanetTestCase
{ {
public function testBasics() public function testBasics()

View File

@@ -2,8 +2,6 @@
namespace Alchemy\Phrasea\Command\Compile; namespace Alchemy\Phrasea\Command\Compile;
use Alchemy\Phrasea\Command\Compile\Configuration;
class ConfigurationTest extends \PhraseanetTestCase class ConfigurationTest extends \PhraseanetTestCase
{ {
public function testExecute() public function testExecute()

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Command\Task;
use Alchemy\Phrasea\Command\Task\SchedulerPauseTasks; use Alchemy\Phrasea\Command\Task\SchedulerPauseTasks;
class SchedulerPauseTasksTest extends \PhraseanetTestCase class SchedulerPauseTest extends \PhraseanetTestCase
{ {
public function testRunWithoutProblems() public function testRunWithoutProblems()
{ {

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Command\Task;
use Alchemy\Phrasea\Command\Task\SchedulerResumeTasks; use Alchemy\Phrasea\Command\Task\SchedulerResumeTasks;
class SchedulerResumeTasksTest extends \PhraseanetTestCase class SchedulerResumeTest extends \PhraseanetTestCase
{ {
public function testRunWithoutProblems() public function testRunWithoutProblems()
{ {

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
use PHPExiftool\Driver\Tag\IPTC\ObjectName; use PHPExiftool\Driver\Tag\IPTC\ObjectName;
use Alchemy\Phrasea\Vocabulary\Controller as VocabularyController; use Alchemy\Phrasea\Vocabulary\Controller as VocabularyController;
class ControllerFieldsTest extends \PhraseanetAuthenticatedWebTestCase class FieldsTest extends \PhraseanetAuthenticatedWebTestCase
{ {
public function testRoot() public function testRoot()
{ {

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Controller\Admin; namespace Alchemy\Tests\Phrasea\Controller\Admin;
class Module_Admin_Route_PublicationTest extends \PhraseanetAuthenticatedWebTestCase class PublicationTest extends \PhraseanetAuthenticatedWebTestCase
{ {
public static $account = null; public static $account = null;
public static $api = null; public static $api = null;

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
use Alchemy\Phrasea\Media\Subdef\Image; use Alchemy\Phrasea\Media\Subdef\Image;
class ControllerSubdefsTest extends \PhraseanetAuthenticatedWebTestCase class SubdefsTest extends \PhraseanetAuthenticatedWebTestCase
{ {
protected $client; protected $client;

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Controller\Admin; namespace Alchemy\Tests\Phrasea\Controller\Admin;
class ControllerUsersTest extends \PhraseanetAuthenticatedWebTestCase class UsersTest extends \PhraseanetAuthenticatedWebTestCase
{ {
protected $client; protected $client;
protected $usersParameters; protected $usersParameters;

View File

@@ -6,7 +6,7 @@ use Alchemy\Phrasea\Application;
use Alchemy\Phrasea\Model\Entities\Basket; use Alchemy\Phrasea\Model\Entities\Basket;
use Alchemy\Phrasea\Model\Entities\BasketElement; use Alchemy\Phrasea\Model\Entities\BasketElement;
class ControllerBasketTest extends \PhraseanetAuthenticatedWebTestCase class BasketTest extends \PhraseanetAuthenticatedWebTestCase
{ {
protected $client; protected $client;

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
require_once __DIR__ . '/../../../../../classes/Bridge/Bridge_datas.inc'; require_once __DIR__ . '/../../../../../classes/Bridge/Bridge_datas.inc';
class BridgeApplication extends \PhraseanetAuthenticatedWebTestCase class BridgeTest extends \PhraseanetAuthenticatedWebTestCase
{ {
public static $account = null; public static $account = null;
public static $api = null; public static $api = null;

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Controller\Prod; namespace Alchemy\Tests\Phrasea\Controller\Prod;
class ControllerEditTest extends \PhraseanetAuthenticatedWebTestCase class EditTest extends \PhraseanetAuthenticatedWebTestCase
{ {
protected $client; protected $client;

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Controller\Prod; namespace Alchemy\Tests\Phrasea\Controller\Prod;
class ControllerLanguageTest extends \PhraseanetWebTestCase class LanguageTest extends \PhraseanetWebTestCase
{ {
protected $client; protected $client;

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Controller\Prod; namespace Alchemy\Tests\Phrasea\Controller\Prod;
class ControllerMoveCollectionTest extends \PhraseanetAuthenticatedWebTestCase class MoveCollectionTest extends \PhraseanetAuthenticatedWebTestCase
{ {
protected $client; protected $client;

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Controller\Prod; namespace Alchemy\Tests\Phrasea\Controller\Prod;
class ControllerPrinterTest extends \PhraseanetAuthenticatedWebTestCase class PrinterTest extends \PhraseanetAuthenticatedWebTestCase
{ {
protected $client; protected $client;

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Controller\Prod; namespace Alchemy\Tests\Phrasea\Controller\Prod;
class ControllerPushTest extends \PhraseanetAuthenticatedWebTestCase class PushTest extends \PhraseanetAuthenticatedWebTestCase
{ {
protected $client; protected $client;

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Controller\Prod; namespace Alchemy\Tests\Phrasea\Controller\Prod;
class ControllerRootTest extends \PhraseanetAuthenticatedWebTestCase class RootTest extends \PhraseanetAuthenticatedWebTestCase
{ {
/** /**
* Default route test * Default route test

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
use Symfony\Component\HttpKernel\Client; use Symfony\Component\HttpKernel\Client;
class ControllerStoryTest extends \PhraseanetAuthenticatedWebTestCase class StoryTest extends \PhraseanetAuthenticatedWebTestCase
{ {
public function testRootPost() public function testRootPost()
{ {

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
use Symfony\Component\HttpFoundation\File\UploadedFile; use Symfony\Component\HttpFoundation\File\UploadedFile;
class ControllerToolsTest extends \PhraseanetAuthenticatedWebTestCase class ToolsTest extends \PhraseanetAuthenticatedWebTestCase
{ {
protected $client; protected $client;
protected $tmpFile; protected $tmpFile;

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
use Alchemy\Phrasea\SearchEngine\SearchEngineOptions; use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
class ControllerTooltipTest extends \PhraseanetAuthenticatedWebTestCase class TooltipTest extends \PhraseanetAuthenticatedWebTestCase
{ {
protected $client; protected $client;

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Controller\Prod; namespace Alchemy\Tests\Phrasea\Controller\Prod;
class ControllerUsrListsTest extends \PhraseanetAuthenticatedWebTestCase class UsrListsTest extends \PhraseanetAuthenticatedWebTestCase
{ {
protected $client; protected $client;

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Controller\Prod; namespace Alchemy\Tests\Phrasea\Controller\Prod;
class ControllerWorkZoneTest extends \PhraseanetAuthenticatedWebTestCase class WorkZoneTest extends \PhraseanetAuthenticatedWebTestCase
{ {
protected $client; protected $client;

View File

@@ -10,7 +10,7 @@ use Alchemy\Phrasea\Model\Entities\FeedEntry;
use Alchemy\Phrasea\Model\Entities\FeedItem; use Alchemy\Phrasea\Model\Entities\FeedItem;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
class RssFeedTest extends \PhraseanetWebTestCase class RSSFeedTest extends \PhraseanetWebTestCase
{ {
public function testPublicFeedAggregated() public function testPublicFeedAggregated()
{ {

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Controller\Utils; namespace Alchemy\Tests\Phrasea\Controller\Utils;
class ControllerConnectionTestTest extends \PhraseanetWebTestCase class ConnectionTestTest extends \PhraseanetWebTestCase
{ {
/** /**
* Default route test * Default route test

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Controller\Utils; namespace Alchemy\Tests\Phrasea\Controller\Utils;
class ControllerPathFileTestTest extends \PhraseanetWebTestCase class PathFileTestTest extends \PhraseanetWebTestCase
{ {
/** /**
* Default route test * Default route test

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\CLIProvider;
/** /**
* @covers Alchemy\Phrasea\Core\CLIProvider\ComposerSetupServiceProvider * @covers Alchemy\Phrasea\Core\CLIProvider\ComposerSetupServiceProvider
*/ */
class ComposerSetupServiceProvidertest extends ServiceProviderTestCase class ComposerSetupServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\CLIProvider;
/** /**
* @covers Alchemy\Phrasea\Core\CLIProvider\LessBuilderServiceProvider * @covers Alchemy\Phrasea\Core\CLIProvider\LessBuilderServiceProvider
*/ */
class LessBuilderServiceProvidertest extends ServiceProviderTestCase class LessBuilderServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -8,7 +8,7 @@ use Symfony\Component\Process\ExecutableFinder;
/** /**
* @covers Alchemy\Phrasea\Core\CLIProvider\PluginServiceProvider * @covers Alchemy\Phrasea\Core\CLIProvider\PluginServiceProvider
*/ */
class PluginServiceProvidertest extends ServiceProviderTestCase class PluginServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Core\CLIProvider; namespace Alchemy\Tests\Phrasea\Core\CLIProvider;
class SignalHandlerServiceProvidertest extends ServiceProviderTestCase class SignalHandlerServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\CLIProvider;
/** /**
* @covers Alchemy\Phrasea\Core\CLIProvider\TaskManagerServiceProvider * @covers Alchemy\Phrasea\Core\CLIProvider\TaskManagerServiceProvider
*/ */
class TaskManagerServiceProvidertest extends ServiceProviderTestCase class TaskManagerServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\CLIProvider;
/** /**
* @covers Alchemy\Phrasea\Core\CLIProvider\TranslationExtractorServiceProvider * @covers Alchemy\Phrasea\Core\CLIProvider\TranslationExtractorServiceProvider
*/ */
class TranslationExtractorServiceProvidertest extends ServiceProviderTestCase class TranslationExtractorServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Core\Provider; namespace Alchemy\Tests\Phrasea\Core\Provider;
class ACLServiceProvidertest extends ServiceProviderTestCase class ACLServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -11,7 +11,7 @@ use Silex\Application;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\AuthenticationManagerServiceProvider * @covers Alchemy\Phrasea\Core\Provider\AuthenticationManagerServiceProvider
*/ */
class AuthenticationManagerServiceProvidertest extends ServiceProviderTestCase class AuthenticationManagerServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -10,7 +10,7 @@ use XPDF\XPDFServiceProvider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\BorderManagerServiceProvider * @covers Alchemy\Phrasea\Core\Provider\BorderManagerServiceProvider
*/ */
class BorderManagerServiceProvidertest extends ServiceProviderTestCase class BorderManagerServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\BrowserServiceProvider * @covers Alchemy\Phrasea\Core\Provider\BrowserServiceProvider
*/ */
class BrowserServiceProvidertest extends ServiceProviderTestCase class BrowserServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Core\Provider; namespace Alchemy\Tests\Phrasea\Core\Provider;
class CacheConnectionServiceProvidertest extends ServiceProviderTestCase class CacheConnectionServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\CacheServiceProvider * @covers Alchemy\Phrasea\Core\Provider\CacheServiceProvider
*/ */
class CacheServiceProvidertest extends ServiceProviderTestCase class CacheServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -9,7 +9,7 @@ use Symfony\Component\HttpKernel\Client;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\ConfigurationServiceProvider * @covers Alchemy\Phrasea\Core\Provider\ConfigurationServiceProvider
*/ */
class ConfigurationServiceProvidertest extends ServiceProviderTestCase class ConfigurationServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\ConfigurationTesterServiceProvider * @covers Alchemy\Phrasea\Core\Provider\ConfigurationTesterServiceProvider
*/ */
class ConfigurationTesterServiceProvidertest extends ServiceProviderTestCase class ConfigurationTesterServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Core\Provider; namespace Alchemy\Tests\Phrasea\Core\Provider;
class ConvertersServiceProvidertest extends ServiceProviderTestCase class ConvertersServiceProvider extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
use Alchemy\Phrasea\Core\Provider\FtpServiceProvider; use Alchemy\Phrasea\Core\Provider\FtpServiceProvider;
class FTPServiceProvidertest extends \PhraseanetTestCase class FTPServiceProviderTest extends \PhraseanetTestCase
{ {
public function testGetInstantiate() public function testGetInstantiate()
{ {

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\JMSServiceProviderServiceProvider * @covers Alchemy\Phrasea\Core\Provider\JMSServiceProviderServiceProvider
*/ */
class JMSServiceProviderServiceProvidertest extends ServiceProviderTestCase class JMSSerializerServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -9,7 +9,7 @@ use Alchemy\Phrasea\Core\Provider\LocaleServiceProvider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\LocaleServiceProvider * @covers Alchemy\Phrasea\Core\Provider\LocaleServiceProvider
*/ */
class LocaleServiceProvidertest extends \PhraseanetTestCase class LocaleServiceProviderTest extends \PhraseanetTestCase
{ {
public function testLocalesAvailable() public function testLocalesAvailable()
{ {

View File

@@ -2,7 +2,7 @@
namespace Alchemy\Tests\Phrasea\Core\Provider; namespace Alchemy\Tests\Phrasea\Core\Provider;
class ManipulatorServiceProvidertest extends ServiceProviderTestCase class ManipulatorServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -7,7 +7,7 @@ use Alchemy\Phrasea\Core\Provider\NotificationDelivererServiceProvider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\NotificationDelivererServiceProvider * @covers Alchemy\Phrasea\Core\Provider\NotificationDelivererServiceProvider
*/ */
class NotificationDelivererServiceProvidertest extends ServiceProviderTestCase class NotificationDelivererServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\ORMServiceProvider * @covers Alchemy\Phrasea\Core\Provider\ORMServiceProvider
*/ */
class ORMServiceProvidertest extends ServiceProviderTestCase class ORMServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\PhraseaVersionServiceProvider * @covers Alchemy\Phrasea\Core\Provider\PhraseaVersionServiceProvider
*/ */
class PhraseaVersionServiceProvidertest extends ServiceProviderTestCase class PhraseaVersionServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -7,7 +7,7 @@ use Alchemy\Phrasea\Core\Provider\RegistrationServiceProvider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\RegistrationServiceProvider * @covers Alchemy\Phrasea\Core\Provider\RegistrationServiceProvider
*/ */
class RegistrationServiceProvidertest extends \PhraseanetTestCase class RegistrationServiceProviderTest extends \PhraseanetTestCase
{ {
private $fields; private $fields;

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\SearchEngineServiceProvider * @covers Alchemy\Phrasea\Core\Provider\SearchEngineServiceProvider
*/ */
class SearchEngineServiceProvidertest extends ServiceProviderTestCase class SearchEngineServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -4,7 +4,6 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
use Alchemy\Phrasea\Core\Configuration\PropertyAccess; use Alchemy\Phrasea\Core\Configuration\PropertyAccess;
use Alchemy\Phrasea\Core\Provider\SessionHandlerServiceProvider; use Alchemy\Phrasea\Core\Provider\SessionHandlerServiceProvider;
use Alchemy\Tests\Tools\TranslatorMockTrait;
use Alchemy\Tests\Phrasea\MockArrayConf; use Alchemy\Tests\Phrasea\MockArrayConf;
use Silex\Application; use Silex\Application;
use Silex\Provider\SessionServiceProvider; use Silex\Provider\SessionServiceProvider;

View File

@@ -2,9 +2,6 @@
namespace Alchemy\Tests\Phrasea\Core\Provider; namespace Alchemy\Tests\Phrasea\Core\Provider;
use Alchemy\Phrasea\Core\Provider\TasksServiceProvider;
use Alchemy\Tests\Tools\TranslatorMockTrait;
class SubdefServiceProviderTest extends ServiceProviderTestCase class SubdefServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\TemporaryFilesystemServiceProvider * @covers Alchemy\Phrasea\Core\Provider\TemporaryFilesystemServiceProvider
*/ */
class TemporaryFilesystemServiceProvidertest extends ServiceProviderTestCase class TemporaryFilesystemServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\TokensServiceProvider * @covers Alchemy\Phrasea\Core\Provider\TokensServiceProvider
*/ */
class TokensServiceProvidertest extends ServiceProviderTestCase class TokensServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\TranslatorServiceProvider * @covers Alchemy\Phrasea\Core\Provider\TranslatorServiceProvider
*/ */
class TranslatorServiceProvidertest extends ServiceProviderTestCase class TranslationServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider;
/** /**
* @covers Alchemy\Phrasea\Core\Provider\UnicodeServiceProvider * @covers Alchemy\Phrasea\Core\Provider\UnicodeServiceProvider
*/ */
class UnicodeServiceProvidertest extends ServiceProviderTestCase class UnicodeServiceProviderTest extends ServiceProviderTestCase
{ {
public function provideServiceDescription() public function provideServiceDescription()
{ {

View File

@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Http\XSendFile;
use Alchemy\Phrasea\Http\XSendFile\NginxMode; use Alchemy\Phrasea\Http\XSendFile\NginxMode;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
class XSendFileModeNginxTest extends \PhraseanetTestCase class NginxModeTest extends \PhraseanetTestCase
{ {
public function testGetVirtualHost() public function testGetVirtualHost()
{ {

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Metadata\Tag;
use Alchemy\Phrasea\Metadata\Tag\TfEditdate; use Alchemy\Phrasea\Metadata\Tag\TfEditdate;
class TfEditdateTest extends \PhraseanetTestCase class TfEditDateTest extends \PhraseanetTestCase
{ {
/** /**

View File

@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Metadata\Tag;
use Alchemy\Phrasea\Metadata\Tag\TfMimetype; use Alchemy\Phrasea\Metadata\Tag\TfMimetype;
class TfMimetypeTest extends \PhraseanetTestCase class TfMimeTypeTest extends \PhraseanetTestCase
{ {
/** /**

Some files were not shown because too many files have changed in this diff Show More