diff --git a/lib/Alchemy/Phrasea/Authentication/Phrasea/FailureHandledNativeAuthentication.php b/lib/Alchemy/Phrasea/Authentication/Phrasea/FailureHandledNativeAuthentication.php index c644cf906b..13ab13ae85 100644 --- a/lib/Alchemy/Phrasea/Authentication/Phrasea/FailureHandledNativeAuthentication.php +++ b/lib/Alchemy/Phrasea/Authentication/Phrasea/FailureHandledNativeAuthentication.php @@ -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 diff --git a/lib/Alchemy/Phrasea/Border/Attribute/Factory.php b/lib/Alchemy/Phrasea/Border/Attribute/Factory.php index 741c262281..8ff5853e30 100644 --- a/lib/Alchemy/Phrasea/Border/Attribute/Factory.php +++ b/lib/Alchemy/Phrasea/Border/Attribute/Factory.php @@ -23,11 +23,11 @@ class Factory /** * Build a file package Attribute * - * @param Application $app Application context - * @param string $name The name of the attribute, one of the - * AttributeInterface::NAME_* constants - * @param string $serialized The serialized value of the attribute - * (AttributeInterface::asString result) + * @param Application $app Application context + * @param string $name The name of the attribute, one of the + * AttributeInterface::NAME_* constants + * @param string $serialized The serialized value of the attribute + * (AttributeInterface::asString result) * @return AttributeInterface The attribute * @throws \InvalidArgumentException */ diff --git a/lib/Alchemy/Phrasea/Border/File.php b/lib/Alchemy/Phrasea/Border/File.php index cd712edf0c..60bbf3b517 100644 --- a/lib/Alchemy/Phrasea/Border/File.php +++ b/lib/Alchemy/Phrasea/Border/File.php @@ -57,8 +57,8 @@ class File * @param MediaInterface $media The media * @param \collection $collection The destination collection * @param string $originalName The original name of the file - * (if not provided, original name is - * extracted from the pathfile) + * (if not provided, original name is + * extracted from the pathfile) */ public function __construct(Application $app, MediaInterface $media, \collection $collection, $originalName = null) { @@ -272,11 +272,11 @@ class File /** * Build the File package object * - * @param string $pathfile The path to the file - * @param \collection $collection The destination collection - * @param Application $app An application - * @param string $originalName An optionnal original name (if - * different from the $pathfile filename) + * @param string $pathfile The path to the file + * @param \collection $collection The destination collection + * @param Application $app An application + * @param string $originalName An optionnal original name (if + * different from the $pathfile filename) * @throws \InvalidArgumentException * * @return File diff --git a/lib/Alchemy/Phrasea/Border/Manager.php b/lib/Alchemy/Phrasea/Border/Manager.php index 077b707155..f13ba8e560 100644 --- a/lib/Alchemy/Phrasea/Border/Manager.php +++ b/lib/Alchemy/Phrasea/Border/Manager.php @@ -105,14 +105,14 @@ class Manager /** * Add a file to Phraseanet after having checked it * - * @param LazaretSession $session The current Lazaret Session - * @param File $file A File package object - * @param type $callable A callback to execute after process - * (arguments are $element (LazaretFile or \record_adapter), - * $visa (Visa) - * and $code (self::RECORD_CREATED or self::LAZARET_CREATED)) - * @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 + * @param LazaretSession $session The current Lazaret Session + * @param File $file A File package object + * @param type $callable A callback to execute after process + * (arguments are $element (LazaretFile or \record_adapter), + * $visa (Visa) + * and $code (self::RECORD_CREATED or self::LAZARET_CREATED)) + * @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 */ public function process(LazaretSession $session, File $file, $callable = null, $forceBehavior = null) { diff --git a/lib/Alchemy/Phrasea/Cache/Factory.php b/lib/Alchemy/Phrasea/Cache/Factory.php index e0ca88f7c8..ccbf471d59 100644 --- a/lib/Alchemy/Phrasea/Cache/Factory.php +++ b/lib/Alchemy/Phrasea/Cache/Factory.php @@ -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 diff --git a/lib/Alchemy/Phrasea/Cache/Manager.php b/lib/Alchemy/Phrasea/Cache/Manager.php index 9b7235fda2..59f7a76dd3 100644 --- a/lib/Alchemy/Phrasea/Cache/Manager.php +++ b/lib/Alchemy/Phrasea/Cache/Manager.php @@ -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 diff --git a/lib/Alchemy/Phrasea/Command/AbstractCheckCommand.php b/lib/Alchemy/Phrasea/Command/AbstractCheckCommand.php index c7c529017d..7054b86fec 100644 --- a/lib/Alchemy/Phrasea/Command/AbstractCheckCommand.php +++ b/lib/Alchemy/Phrasea/Command/AbstractCheckCommand.php @@ -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; diff --git a/lib/Alchemy/Phrasea/Command/BuildMissingSubdefs.php b/lib/Alchemy/Phrasea/Command/BuildMissingSubdefs.php index f218624ab5..72ebfab158 100644 --- a/lib/Alchemy/Phrasea/Command/BuildMissingSubdefs.php +++ b/lib/Alchemy/Phrasea/Command/BuildMissingSubdefs.php @@ -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; diff --git a/lib/Alchemy/Phrasea/Command/CreateCollection.php b/lib/Alchemy/Phrasea/Command/CreateCollection.php index dfb7b1c156..2cfa3e35a8 100644 --- a/lib/Alchemy/Phrasea/Command/CreateCollection.php +++ b/lib/Alchemy/Phrasea/Command/CreateCollection.php @@ -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; diff --git a/lib/Alchemy/Phrasea/Command/Developer/Utils/HelpMessageExtractor.php b/lib/Alchemy/Phrasea/Command/Developer/Utils/HelpMessageExtractor.php index d5c2fe27ee..40e1f1003a 100644 --- a/lib/Alchemy/Phrasea/Command/Developer/Utils/HelpMessageExtractor.php +++ b/lib/Alchemy/Phrasea/Command/Developer/Utils/HelpMessageExtractor.php @@ -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) { @@ -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) { if ($annot instanceof Ignore) { $ignore = true; - } else if ($annot instanceof Desc) { + } elseif ($annot instanceof Desc) { $desc = $annot->text; - } else if ($annot instanceof Meaning) { + } elseif ($annot instanceof Meaning) { $meaning = $annot->text; } } diff --git a/lib/Alchemy/Phrasea/Command/RecordAdd.php b/lib/Alchemy/Phrasea/Command/RecordAdd.php index e412262cee..baaa01dabb 100644 --- a/lib/Alchemy/Phrasea/Command/RecordAdd.php +++ b/lib/Alchemy/Phrasea/Command/RecordAdd.php @@ -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; diff --git a/lib/Alchemy/Phrasea/Command/RescanTechnicalDatas.php b/lib/Alchemy/Phrasea/Command/RescanTechnicalDatas.php index 3b53899dac..6cfff7d3f1 100644 --- a/lib/Alchemy/Phrasea/Command/RescanTechnicalDatas.php +++ b/lib/Alchemy/Phrasea/Command/RescanTechnicalDatas.php @@ -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; diff --git a/lib/Alchemy/Phrasea/Command/UpgradeDBDatas.php b/lib/Alchemy/Phrasea/Command/UpgradeDBDatas.php index a877c0b887..8944acbb5a 100644 --- a/lib/Alchemy/Phrasea/Command/UpgradeDBDatas.php +++ b/lib/Alchemy/Phrasea/Command/UpgradeDBDatas.php @@ -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; diff --git a/lib/Alchemy/Phrasea/Core/Configuration/Configuration.php b/lib/Alchemy/Phrasea/Core/Configuration/Configuration.php index 9b6e4d4020..09fae32715 100644 --- a/lib/Alchemy/Phrasea/Core/Configuration/Configuration.php +++ b/lib/Alchemy/Phrasea/Core/Configuration/Configuration.php @@ -27,11 +27,11 @@ class Configuration implements ConfigurationInterface private $autoReload; /** - * @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 Yaml $yaml The Yaml Parser + * @param Compiler $compiler The PHP Compiler + * @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) { diff --git a/lib/Alchemy/Phrasea/Core/Configuration/DisplaySettingService.php b/lib/Alchemy/Phrasea/Core/Configuration/DisplaySettingService.php index b44b7b2e89..916f47da0e 100644 --- a/lib/Alchemy/Phrasea/Core/Configuration/DisplaySettingService.php +++ b/lib/Alchemy/Phrasea/Core/Configuration/DisplaySettingService.php @@ -11,7 +11,6 @@ namespace Alchemy\Phrasea\Core\Configuration; -use Alchemy\Phrasea\Core\Configuration\PropertyAccess; use Alchemy\Phrasea\Model\Entities\User; class DisplaySettingService diff --git a/lib/Alchemy/Phrasea/Core/Provider/SessionHandlerServiceProvider.php b/lib/Alchemy/Phrasea/Core/Provider/SessionHandlerServiceProvider.php index 4bec2de142..beb5c0ea0e 100644 --- a/lib/Alchemy/Phrasea/Core/Provider/SessionHandlerServiceProvider.php +++ b/lib/Alchemy/Phrasea/Core/Provider/SessionHandlerServiceProvider.php @@ -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 { diff --git a/lib/Alchemy/Phrasea/Core/Provider/SubdefServiceProvider.php b/lib/Alchemy/Phrasea/Core/Provider/SubdefServiceProvider.php index 8da98a3889..9e21691e89 100644 --- a/lib/Alchemy/Phrasea/Core/Provider/SubdefServiceProvider.php +++ b/lib/Alchemy/Phrasea/Core/Provider/SubdefServiceProvider.php @@ -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 { diff --git a/lib/Alchemy/Phrasea/Feed/AggregateToken.php b/lib/Alchemy/Phrasea/Feed/AggregateToken.php index 90ff959058..0b8104159a 100644 --- a/lib/Alchemy/Phrasea/Feed/AggregateToken.php +++ b/lib/Alchemy/Phrasea/Feed/AggregateToken.php @@ -11,7 +11,6 @@ namespace Alchemy\Phrasea\Feed; -use Alchemy\Phrasea\Feed\Aggregate; use Alchemy\Phrasea\Model\Entities\Feed; /** diff --git a/lib/Alchemy/Phrasea/Feed/Link/AggregateLinkGenerator.php b/lib/Alchemy/Phrasea/Feed/Link/AggregateLinkGenerator.php index dfd2ad825b..92e416a65e 100644 --- a/lib/Alchemy/Phrasea/Feed/Link/AggregateLinkGenerator.php +++ b/lib/Alchemy/Phrasea/Feed/Link/AggregateLinkGenerator.php @@ -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; diff --git a/lib/Alchemy/Phrasea/Form/Configuration/MainConfigurationFormType.php b/lib/Alchemy/Phrasea/Form/Configuration/MainConfigurationFormType.php index 1634c3b6f7..8f07117319 100644 --- a/lib/Alchemy/Phrasea/Form/Configuration/MainConfigurationFormType.php +++ b/lib/Alchemy/Phrasea/Form/Configuration/MainConfigurationFormType.php @@ -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 diff --git a/lib/Alchemy/Phrasea/Http/ServeFileResponseFactory.php b/lib/Alchemy/Phrasea/Http/ServeFileResponseFactory.php index 19937ac78c..476f09473b 100644 --- a/lib/Alchemy/Phrasea/Http/ServeFileResponseFactory.php +++ b/lib/Alchemy/Phrasea/Http/ServeFileResponseFactory.php @@ -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; diff --git a/lib/Alchemy/Phrasea/Media/SubdefGenerator.php b/lib/Alchemy/Phrasea/Media/SubdefGenerator.php index 4bf6140174..b8308bd431 100644 --- a/lib/Alchemy/Phrasea/Media/SubdefGenerator.php +++ b/lib/Alchemy/Phrasea/Media/SubdefGenerator.php @@ -106,7 +106,7 @@ class SubdefGenerator /** * Get the extension from MediaAlchemyst specs * - * @param SpecificationInterface $spec + * @param SpecificationInterface $spec * * @return string */ @@ -138,7 +138,7 @@ class SubdefGenerator /** * Get the extension from audiocodec * - * @param string $audioCodec + * @param string $audioCodec * * @return string */ @@ -164,7 +164,7 @@ class SubdefGenerator /** * Get the extension from videocodec * - * @param string $videoCodec + * @param string $videoCodec * * @return string */ @@ -187,5 +187,3 @@ class SubdefGenerator return $extension; } } - - diff --git a/lib/Alchemy/Phrasea/Model/Entities/OrderElement.php b/lib/Alchemy/Phrasea/Model/Entities/OrderElement.php index 160ffe98d4..462d62930a 100644 --- a/lib/Alchemy/Phrasea/Model/Entities/OrderElement.php +++ b/lib/Alchemy/Phrasea/Model/Entities/OrderElement.php @@ -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"})}) diff --git a/lib/Alchemy/Phrasea/Model/Entities/ValidationSession.php b/lib/Alchemy/Phrasea/Model/Entities/ValidationSession.php index b153ab98a5..fc40c4e460 100644 --- a/lib/Alchemy/Phrasea/Model/Entities/ValidationSession.php +++ b/lib/Alchemy/Phrasea/Model/Entities/ValidationSession.php @@ -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; diff --git a/lib/Alchemy/Phrasea/Notification/Deliverer.php b/lib/Alchemy/Phrasea/Notification/Deliverer.php index 8df211c17d..0a79e87138 100644 --- a/lib/Alchemy/Phrasea/Notification/Deliverer.php +++ b/lib/Alchemy/Phrasea/Notification/Deliverer.php @@ -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; diff --git a/lib/Alchemy/Phrasea/Plugin/Schema/PluginValidator.php b/lib/Alchemy/Phrasea/Plugin/Schema/PluginValidator.php index 637524a594..369d383e61 100644 --- a/lib/Alchemy/Phrasea/Plugin/Schema/PluginValidator.php +++ b/lib/Alchemy/Phrasea/Plugin/Schema/PluginValidator.php @@ -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; diff --git a/lib/Alchemy/Phrasea/SearchEngine/SearchEngineInterface.php b/lib/Alchemy/Phrasea/SearchEngine/SearchEngineInterface.php index 1e010b3702..9bc54eb023 100644 --- a/lib/Alchemy/Phrasea/SearchEngine/SearchEngineInterface.php +++ b/lib/Alchemy/Phrasea/SearchEngine/SearchEngineInterface.php @@ -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; @@ -164,9 +162,9 @@ interface SearchEngineInterface /** * - * @param string $query - * @param integer $offset - * @param integer $perPage + * @param string $query + * @param integer $offset + * @param integer $perPage * @param SearchEngineOptions $options * * @return SearchEngineResult diff --git a/lib/Alchemy/Phrasea/Setup/Installer.php b/lib/Alchemy/Phrasea/Setup/Installer.php index ba074af573..91f1ccbe59 100644 --- a/lib/Alchemy/Phrasea/Setup/Installer.php +++ b/lib/Alchemy/Phrasea/Setup/Installer.php @@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Setup; use Alchemy\Phrasea\Application; use Doctrine\ORM\Tools\SchemaTool; -use Symfony\Component\HttpFoundation\Request; class Installer { diff --git a/lib/Alchemy/Phrasea/TaskManager/LiveInformation.php b/lib/Alchemy/Phrasea/TaskManager/LiveInformation.php index 2ab34cfa69..119ac22fcb 100644 --- a/lib/Alchemy/Phrasea/TaskManager/LiveInformation.php +++ b/lib/Alchemy/Phrasea/TaskManager/LiveInformation.php @@ -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 diff --git a/lib/Alchemy/Phrasea/Utilities/RedisSessionHandler.php b/lib/Alchemy/Phrasea/Utilities/RedisSessionHandler.php index b8118da568..b729a74257 100644 --- a/lib/Alchemy/Phrasea/Utilities/RedisSessionHandler.php +++ b/lib/Alchemy/Phrasea/Utilities/RedisSessionHandler.php @@ -32,8 +32,8 @@ class RedisSessionHandler implements \SessionHandlerInterface /** * Constructor * - * @param \Redis $redis The redis instance - * @param array $options An associative array of Memcached options + * @param \Redis $redis The redis instance + * @param array $options An associative array of Memcached options * * @throws \InvalidArgumentException When unsupported options are passed */ diff --git a/lib/classes/Bridge/Api/Abstract.php b/lib/classes/Bridge/Api/Abstract.php index 5eb2d628df..8b0b1a00ba 100644 --- a/lib/classes/Bridge/Api/Abstract.php +++ b/lib/classes/Bridge/Api/Abstract.php @@ -32,9 +32,9 @@ abstract class Bridge_Api_Abstract protected $translator; /** - * @param UrlGenerator $generator - * @param PropertyAccess $conf - * @param TranslatorInterface $translator + * @param UrlGenerator $generator + * @param PropertyAccess $conf + * @param TranslatorInterface $translator * * @param Bridge_Api_Auth_Interface $auth */ diff --git a/lib/classes/ZipArchiveImproved.php b/lib/classes/ZipArchiveImproved.php index 09750a58ee..e52701bd2d 100644 --- a/lib/classes/ZipArchiveImproved.php +++ b/lib/classes/ZipArchiveImproved.php @@ -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) { diff --git a/lib/classes/module/report.php b/lib/classes/module/report.php index 54d59f651e..d609ad8a19 100644 --- a/lib/classes/module/report.php +++ b/lib/classes/module/report.php @@ -767,12 +767,12 @@ class module_report /** * @desc Set your own configuration for each column displayed in the html table - * @param array $tab contain your conf's variables - * array( 'field' => - * array('title of the colum', '1 = order ON / 0 = order OFF', - * '1 = bound ON / 0 = bound OFF') - * @example $tab = array('user' => array('user list', 1, 0), - * 'id' => array(user id, 0, 0)); etc .. + * @param array $tab contain your conf's variables + * array( 'field' => + * array('title of the colum', '1 = order ON / 0 = order OFF', + * '1 = bound ON / 0 = bound OFF') + * @example $tab = array('user' => array('user list', 1, 0), + * 'id' => array(user id, 0, 0)); etc .. * @return void */ protected function setConfigColumn($tab) diff --git a/lib/classes/module/report/connexion.php b/lib/classes/module/report/connexion.php index 10f2e9bcf6..0f820b28e1 100644 --- a/lib/classes/module/report/connexion.php +++ b/lib/classes/module/report/connexion.php @@ -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) { diff --git a/lib/classes/module/report/dashboard/feed.php b/lib/classes/module/report/dashboard/feed.php index 0ebcb2fdc8..606a92eb39 100644 --- a/lib/classes/module/report/dashboard/feed.php +++ b/lib/classes/module/report/dashboard/feed.php @@ -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 diff --git a/lib/classes/module/report/download.php b/lib/classes/module/report/download.php index 2bf343c99c..62f76ca364 100644 --- a/lib/classes/module/report/download.php +++ b/lib/classes/module/report/download.php @@ -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) { diff --git a/lib/classes/record/adapter.php b/lib/classes/record/adapter.php index 32aff6ed1d..15117df64e 100644 --- a/lib/classes/record/adapter.php +++ b/lib/classes/record/adapter.php @@ -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 */ @@ -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 */ diff --git a/lib/classes/uuid.php b/lib/classes/uuid.php index 0a6796c992..eaf383db5f 100644 --- a/lib/classes/uuid.php +++ b/lib/classes/uuid.php @@ -136,7 +136,7 @@ class uuid * @param stiring $uuid1 * @param string $uuid2 * @return int - * -1 uuid1uuid2 + * -1 uuid1uuid2 */ public static function compare($uuid1, $uuid2) { diff --git a/tests/Alchemy/Tests/Phrasea/Application/ApiJSONPTest.php b/tests/Alchemy/Tests/Phrasea/Application/ApiJSONPTest.php index 2e04a74608..e6e4d80ee4 100644 --- a/tests/Alchemy/Tests/Phrasea/Application/ApiJSONPTest.php +++ b/tests/Alchemy/Tests/Phrasea/Application/ApiJSONPTest.php @@ -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) { diff --git a/tests/Alchemy/Tests/Phrasea/Application/ApiJsonTest.php b/tests/Alchemy/Tests/Phrasea/Application/ApiJsonTest.php index 5d6058a38e..3cd3a6bc49 100644 --- a/tests/Alchemy/Tests/Phrasea/Application/ApiJsonTest.php +++ b/tests/Alchemy/Tests/Phrasea/Application/ApiJsonTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Application; -class ApiJsonApplication extends ApiTestCase +class ApiJsonTest extends ApiTestCase { protected function getParameters(array $parameters = []) { diff --git a/tests/Alchemy/Tests/Phrasea/Application/ApiYamlTest.php b/tests/Alchemy/Tests/Phrasea/Application/ApiYamlTest.php index 97e0e866d8..0ec269048f 100644 --- a/tests/Alchemy/Tests/Phrasea/Application/ApiYamlTest.php +++ b/tests/Alchemy/Tests/Phrasea/Application/ApiYamlTest.php @@ -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 = []) { diff --git a/tests/Alchemy/Tests/Phrasea/Application/OAuth2Test.php b/tests/Alchemy/Tests/Phrasea/Application/OAuth2Test.php index 14bd637c13..5cf4fcc71a 100644 --- a/tests/Alchemy/Tests/Phrasea/Application/OAuth2Test.php +++ b/tests/Alchemy/Tests/Phrasea/Application/OAuth2Test.php @@ -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 { /** * diff --git a/tests/Alchemy/Tests/Phrasea/Authentication/PersistentCookie/ManagerTest.php b/tests/Alchemy/Tests/Phrasea/Authentication/PersistentCookie/ManagerTest.php index 5b5dc57d78..703ec509ff 100644 --- a/tests/Alchemy/Tests/Phrasea/Authentication/PersistentCookie/ManagerTest.php +++ b/tests/Alchemy/Tests/Phrasea/Authentication/PersistentCookie/ManagerTest.php @@ -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 diff --git a/tests/Alchemy/Tests/Phrasea/Cache/RedisCacheTest.php b/tests/Alchemy/Tests/Phrasea/Cache/RedisCacheTest.php index ce5b5cb0ff..a3f125760d 100644 --- a/tests/Alchemy/Tests/Phrasea/Cache/RedisCacheTest.php +++ b/tests/Alchemy/Tests/Phrasea/Cache/RedisCacheTest.php @@ -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() diff --git a/tests/Alchemy/Tests/Phrasea/Command/Compile/ConfigurationTest.php b/tests/Alchemy/Tests/Phrasea/Command/Compile/ConfigurationTest.php index c223e808fc..c35f160360 100644 --- a/tests/Alchemy/Tests/Phrasea/Command/Compile/ConfigurationTest.php +++ b/tests/Alchemy/Tests/Phrasea/Command/Compile/ConfigurationTest.php @@ -2,8 +2,6 @@ namespace Alchemy\Phrasea\Command\Compile; -use Alchemy\Phrasea\Command\Compile\Configuration; - class ConfigurationTest extends \PhraseanetTestCase { public function testExecute() diff --git a/tests/Alchemy/Tests/Phrasea/Command/Task/SchedulerPauseTest.php b/tests/Alchemy/Tests/Phrasea/Command/Task/SchedulerPauseTest.php index 0ac2563484..ebab942faf 100644 --- a/tests/Alchemy/Tests/Phrasea/Command/Task/SchedulerPauseTest.php +++ b/tests/Alchemy/Tests/Phrasea/Command/Task/SchedulerPauseTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Command/Task/SchedulerResumeTest.php b/tests/Alchemy/Tests/Phrasea/Command/Task/SchedulerResumeTest.php index 843eb00e57..09d0007600 100644 --- a/tests/Alchemy/Tests/Phrasea/Command/Task/SchedulerResumeTest.php +++ b/tests/Alchemy/Tests/Phrasea/Command/Task/SchedulerResumeTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/FieldsTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/FieldsTest.php index 7b3698d43c..92d401a199 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/FieldsTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/FieldsTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/PublicationTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/PublicationTest.php index 0aa60f5fb8..b89fea6a4c 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/PublicationTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/PublicationTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/SubdefsTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/SubdefsTest.php index 7c5271728d..4ce5e0faea 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/SubdefsTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/SubdefsTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/UsersTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/UsersTest.php index 4710357ad5..470079b052 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/UsersTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/UsersTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin; -class ControllerUsersTest extends \PhraseanetAuthenticatedWebTestCase +class UsersTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; protected $usersParameters; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/BasketTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/BasketTest.php index 1df30ae6c6..dbd1d4eb3f 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/BasketTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/BasketTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/BridgeTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/BridgeTest.php index 0496002e88..6d9f005d75 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/BridgeTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/BridgeTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/EditTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/EditTest.php index 36b6f97eb1..8264c8e2e8 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/EditTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/EditTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerEditTest extends \PhraseanetAuthenticatedWebTestCase +class EditTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/LanguageTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/LanguageTest.php index 382b96915e..e19a044758 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/LanguageTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/LanguageTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerLanguageTest extends \PhraseanetWebTestCase +class LanguageTest extends \PhraseanetWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/MoveCollectionTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/MoveCollectionTest.php index cfe436c848..ada982354e 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/MoveCollectionTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/MoveCollectionTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerMoveCollectionTest extends \PhraseanetAuthenticatedWebTestCase +class MoveCollectionTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/PrinterTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/PrinterTest.php index ef4820a418..378264f4c2 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/PrinterTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/PrinterTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerPrinterTest extends \PhraseanetAuthenticatedWebTestCase +class PrinterTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/PushTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/PushTest.php index a711547803..166f247344 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/PushTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/PushTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerPushTest extends \PhraseanetAuthenticatedWebTestCase +class PushTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/RootTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/RootTest.php index bac84702a7..e48d454ec7 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/RootTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/RootTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerRootTest extends \PhraseanetAuthenticatedWebTestCase +class RootTest extends \PhraseanetAuthenticatedWebTestCase { /** * Default route test diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/StoryTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/StoryTest.php index 11ad4a2f35..f84d82f93a 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/StoryTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/StoryTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/ToolsTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/ToolsTest.php index 469ada0f00..892d8508a2 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/ToolsTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/ToolsTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/TooltipTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/TooltipTest.php index acbdfe4e08..09bbb115cb 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/TooltipTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/TooltipTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/UsrListsTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/UsrListsTest.php index 308593531e..ee171fe8f8 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/UsrListsTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/UsrListsTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerUsrListsTest extends \PhraseanetAuthenticatedWebTestCase +class UsrListsTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/WorkZoneTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/WorkZoneTest.php index e3d8370668..eed6325485 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/WorkZoneTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/WorkZoneTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerWorkZoneTest extends \PhraseanetAuthenticatedWebTestCase +class WorkZoneTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Root/RSSFeedTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Root/RSSFeedTest.php index 655ea096f0..8c69e4cdc8 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Root/RSSFeedTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Root/RSSFeedTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Utils/ConnectionTestTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Utils/ConnectionTestTest.php index 01c6b055d2..bb8c674e78 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Utils/ConnectionTestTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Utils/ConnectionTestTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Utils; -class ControllerConnectionTestTest extends \PhraseanetWebTestCase +class ConnectionTestTest extends \PhraseanetWebTestCase { /** * Default route test diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Utils/PathFileTestTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Utils/PathFileTestTest.php index 8578c57886..3f9b886ccf 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Utils/PathFileTestTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Utils/PathFileTestTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Utils; -class ControllerPathFileTestTest extends \PhraseanetWebTestCase +class PathFileTestTest extends \PhraseanetWebTestCase { /** * Default route test diff --git a/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/ComposerSetupServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/ComposerSetupServiceProviderTest.php index ae7294439f..b30bde4ae8 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/ComposerSetupServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/ComposerSetupServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/LessBuilderServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/LessBuilderServiceProviderTest.php index e9a82da51c..6a688aa9f5 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/LessBuilderServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/LessBuilderServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/PluginServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/PluginServiceProviderTest.php index 6212d2710a..13b585e1d2 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/PluginServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/PluginServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/SignalHandlerServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/SignalHandlerServiceProviderTest.php index ffc589d4ab..2e4a0cce27 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/SignalHandlerServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/SignalHandlerServiceProviderTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Core\CLIProvider; -class SignalHandlerServiceProvidertest extends ServiceProviderTestCase +class SignalHandlerServiceProviderTest extends ServiceProviderTestCase { public function provideServiceDescription() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/TaskManagerServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/TaskManagerServiceProviderTest.php index e32bca4831..b15720d56a 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/TaskManagerServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/TaskManagerServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/TranslationExtractorServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/TranslationExtractorServiceProviderTest.php index 2fb215b51e..9ec71a3d3e 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/TranslationExtractorServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/CLIProvider/TranslationExtractorServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/ACLServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/ACLServiceProviderTest.php index 8a5b90b476..3cef86cbde 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/ACLServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/ACLServiceProviderTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider; -class ACLServiceProvidertest extends ServiceProviderTestCase +class ACLServiceProviderTest extends ServiceProviderTestCase { public function provideServiceDescription() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/AuthenticationManagerServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/AuthenticationManagerServiceProviderTest.php index cac0ef08fe..63f468c694 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/AuthenticationManagerServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/AuthenticationManagerServiceProviderTest.php @@ -11,7 +11,7 @@ use Silex\Application; /** * @covers Alchemy\Phrasea\Core\Provider\AuthenticationManagerServiceProvider */ -class AuthenticationManagerServiceProvidertest extends ServiceProviderTestCase +class AuthenticationManagerServiceProviderTest extends ServiceProviderTestCase { public function provideServiceDescription() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/BorderManagerServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/BorderManagerServiceProviderTest.php index ff367e3b3d..63d0f92969 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/BorderManagerServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/BorderManagerServiceProviderTest.php @@ -10,7 +10,7 @@ use XPDF\XPDFServiceProvider; /** * @covers Alchemy\Phrasea\Core\Provider\BorderManagerServiceProvider */ -class BorderManagerServiceProvidertest extends ServiceProviderTestCase +class BorderManagerServiceProviderTest extends ServiceProviderTestCase { public function provideServiceDescription() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/BrowserServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/BrowserServiceProviderTest.php index 1494df0744..1c1703a487 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/BrowserServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/BrowserServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/CacheConnectionServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/CacheConnectionServiceProviderTest.php index 99dee02b17..301b876d48 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/CacheConnectionServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/CacheConnectionServiceProviderTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider; -class CacheConnectionServiceProvidertest extends ServiceProviderTestCase +class CacheConnectionServiceProviderTest extends ServiceProviderTestCase { public function provideServiceDescription() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/CacheServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/CacheServiceProviderTest.php index 39a4ac45c8..293cf59999 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/CacheServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/CacheServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/ConfigurationServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/ConfigurationServiceProviderTest.php index bf117ec8a0..354c8c19ae 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/ConfigurationServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/ConfigurationServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/ConfigurationTesterServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/ConfigurationTesterServiceProviderTest.php index 6dbe9041d4..f73681ed7d 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/ConfigurationTesterServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/ConfigurationTesterServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/ConvertersServiceProvider.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/ConvertersServiceProvider.php index f6e46e6832..f0e7c8cc30 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/ConvertersServiceProvider.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/ConvertersServiceProvider.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider; -class ConvertersServiceProvidertest extends ServiceProviderTestCase +class ConvertersServiceProvider extends ServiceProviderTestCase { public function provideServiceDescription() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/FTPServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/FTPServiceProviderTest.php index e9c51c5765..62f694a1a1 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/FTPServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/FTPServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/JMSSerializerServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/JMSSerializerServiceProviderTest.php index 3668482943..8b4006b183 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/JMSSerializerServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/JMSSerializerServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/LocaleServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/LocaleServiceProviderTest.php index 74dce4e100..8127b30dae 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/LocaleServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/LocaleServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/ManipulatorServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/ManipulatorServiceProviderTest.php index ae21d198e5..4f10dd94c5 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/ManipulatorServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/ManipulatorServiceProviderTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Core\Provider; -class ManipulatorServiceProvidertest extends ServiceProviderTestCase +class ManipulatorServiceProviderTest extends ServiceProviderTestCase { public function provideServiceDescription() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/NotificationDelivererServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/NotificationDelivererServiceProviderTest.php index b680b263b6..60e6b4c2bc 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/NotificationDelivererServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/NotificationDelivererServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/ORMServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/ORMServiceProviderTest.php index 05a267dc5b..ad0ddc0e4e 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/ORMServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/ORMServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/PhraseaVersionServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/PhraseaVersionServiceProviderTest.php index 064f7249ad..009d8b2a59 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/PhraseaVersionServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/PhraseaVersionServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/RegistrationServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/RegistrationServiceProviderTest.php index 302037d504..2a16a9fb6c 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/RegistrationServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/RegistrationServiceProviderTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/SearchEngineServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/SearchEngineServiceProviderTest.php index fd471b0370..7350d7f37e 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/SearchEngineServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/SearchEngineServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/SessionHandlerServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/SessionHandlerServiceProviderTest.php index 456d3727c8..686b97d5b3 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/SessionHandlerServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/SessionHandlerServiceProviderTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/SubdefServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/SubdefServiceProviderTest.php index 4f4829cd9f..2a580e511d 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/SubdefServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/SubdefServiceProviderTest.php @@ -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() diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/TemporaryFilesystemServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/TemporaryFilesystemServiceProviderTest.php index afc6d64e6e..1bddb8c591 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/TemporaryFilesystemServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/TemporaryFilesystemServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/TokensServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/TokensServiceProviderTest.php index 52f1e11376..b6d0ba7508 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/TokensServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/TokensServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/TranslationServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/TranslationServiceProviderTest.php index fe6d1f6d2a..a8b9c3e947 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/TranslationServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/TranslationServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Core/Provider/UnicodeServiceProviderTest.php b/tests/Alchemy/Tests/Phrasea/Core/Provider/UnicodeServiceProviderTest.php index 50c6fb437b..56f2c18625 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Provider/UnicodeServiceProviderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Provider/UnicodeServiceProviderTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Http/XSendFile/NginxModeTest.php b/tests/Alchemy/Tests/Phrasea/Http/XSendFile/NginxModeTest.php index 49de7f2a41..e6518bd3c8 100644 --- a/tests/Alchemy/Tests/Phrasea/Http/XSendFile/NginxModeTest.php +++ b/tests/Alchemy/Tests/Phrasea/Http/XSendFile/NginxModeTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Metadata/Tag/TfEditDateTest.php b/tests/Alchemy/Tests/Phrasea/Metadata/Tag/TfEditDateTest.php index a6a7cb6133..5581237343 100644 --- a/tests/Alchemy/Tests/Phrasea/Metadata/Tag/TfEditDateTest.php +++ b/tests/Alchemy/Tests/Phrasea/Metadata/Tag/TfEditDateTest.php @@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Metadata\Tag; use Alchemy\Phrasea\Metadata\Tag\TfEditdate; -class TfEditdateTest extends \PhraseanetTestCase +class TfEditDateTest extends \PhraseanetTestCase { /** diff --git a/tests/Alchemy/Tests/Phrasea/Metadata/Tag/TfMimeTypeTest.php b/tests/Alchemy/Tests/Phrasea/Metadata/Tag/TfMimeTypeTest.php index d1da2654ba..00ce62de34 100644 --- a/tests/Alchemy/Tests/Phrasea/Metadata/Tag/TfMimeTypeTest.php +++ b/tests/Alchemy/Tests/Phrasea/Metadata/Tag/TfMimeTypeTest.php @@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Metadata\Tag; use Alchemy\Phrasea\Metadata\Tag\TfMimetype; -class TfMimetypeTest extends \PhraseanetTestCase +class TfMimeTypeTest extends \PhraseanetTestCase { /** diff --git a/tests/Alchemy/Tests/Phrasea/Model/Converter/BasketConverterTest.php b/tests/Alchemy/Tests/Phrasea/Model/Converter/BasketConverterTest.php index 963e135fe1..47a22975b9 100644 --- a/tests/Alchemy/Tests/Phrasea/Model/Converter/BasketConverterTest.php +++ b/tests/Alchemy/Tests/Phrasea/Model/Converter/BasketConverterTest.php @@ -2,8 +2,6 @@ namespace Alchemy\Phrasea\Model\Converter; -use Alchemy\Phrasea\Model\Converter\BasketConverter; - class BasketConverterTest extends \PhraseanetTestCase { public function testConvert() diff --git a/tests/Alchemy/Tests/Phrasea/Model/Converter/TaskConverterTest.php b/tests/Alchemy/Tests/Phrasea/Model/Converter/TaskConverterTest.php index 425a688702..2b9a62f02c 100644 --- a/tests/Alchemy/Tests/Phrasea/Model/Converter/TaskConverterTest.php +++ b/tests/Alchemy/Tests/Phrasea/Model/Converter/TaskConverterTest.php @@ -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 diff --git a/tests/Alchemy/Tests/Phrasea/Plugin/Management/ComposerInstallerTest.php b/tests/Alchemy/Tests/Phrasea/Plugin/Management/ComposerInstallerTest.php index b921d33f19..340b44e6c0 100644 --- a/tests/Alchemy/Tests/Phrasea/Plugin/Management/ComposerInstallerTest.php +++ b/tests/Alchemy/Tests/Phrasea/Plugin/Management/ComposerInstallerTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/SearchEngine/PhraseaConfigurationPanelTest.php b/tests/Alchemy/Tests/Phrasea/SearchEngine/PhraseaConfigurationPanelTest.php index 0762739c48..f54dda5124 100644 --- a/tests/Alchemy/Tests/Phrasea/SearchEngine/PhraseaConfigurationPanelTest.php +++ b/tests/Alchemy/Tests/Phrasea/SearchEngine/PhraseaConfigurationPanelTest.php @@ -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 { diff --git a/tests/Alchemy/Tests/Phrasea/SearchEngine/PhraseaEngineTest.php b/tests/Alchemy/Tests/Phrasea/SearchEngine/PhraseaEngineTest.php index 50ad710f9f..0fea7b6f8e 100644 --- a/tests/Alchemy/Tests/Phrasea/SearchEngine/PhraseaEngineTest.php +++ b/tests/Alchemy/Tests/Phrasea/SearchEngine/PhraseaEngineTest.php @@ -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; /** diff --git a/tests/Alchemy/Tests/Phrasea/SearchEngine/SphinxSearchConfigurationPanelTest.php b/tests/Alchemy/Tests/Phrasea/SearchEngine/SphinxSearchConfigurationPanelTest.php index 622236154d..569f2ed3cc 100644 --- a/tests/Alchemy/Tests/Phrasea/SearchEngine/SphinxSearchConfigurationPanelTest.php +++ b/tests/Alchemy/Tests/Phrasea/SearchEngine/SphinxSearchConfigurationPanelTest.php @@ -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 { diff --git a/tests/Alchemy/Tests/Phrasea/SearchEngine/SphinxSearchEngineTest.php b/tests/Alchemy/Tests/Phrasea/SearchEngine/SphinxSearchEngineTest.php index 11bd70142d..da09cfe445 100644 --- a/tests/Alchemy/Tests/Phrasea/SearchEngine/SphinxSearchEngineTest.php +++ b/tests/Alchemy/Tests/Phrasea/SearchEngine/SphinxSearchEngineTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/TaskManager/Log/LogFileFactoryTest.php b/tests/Alchemy/Tests/Phrasea/TaskManager/Log/LogFileFactoryTest.php index ce99b1f6e4..13c84f3997 100644 --- a/tests/Alchemy/Tests/Phrasea/TaskManager/Log/LogFileFactoryTest.php +++ b/tests/Alchemy/Tests/Phrasea/TaskManager/Log/LogFileFactoryTest.php @@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\TaskManager\Log; use Alchemy\Phrasea\TaskManager\Log\LogFileFactory; use Alchemy\Phrasea\Model\Entities\Task; -class LogFilefactorytest extends \PhraseanetTestCase +class LogFileFactoryTest extends \PhraseanetTestCase { public function testForTask() { diff --git a/tests/Alchemy/Tests/Phrasea/TaskManager/NotifierTest.php b/tests/Alchemy/Tests/Phrasea/TaskManager/NotifierTest.php index 597e7e5189..5fd80bd124 100644 --- a/tests/Alchemy/Tests/Phrasea/TaskManager/NotifierTest.php +++ b/tests/Alchemy/Tests/Phrasea/TaskManager/NotifierTest.php @@ -2,7 +2,6 @@ namespace Alchemy\Phrasea\TaskManager; -use Alchemy\Phrasea\TaskManager\Notifier; use Alchemy\TaskManager\TaskManager; class NotifierTest extends \PhraseanetTestCase diff --git a/tests/classes/PhraseanetTestCase.php b/tests/classes/PhraseanetTestCase.php index caf94d5d83..7934f5f958 100644 --- a/tests/classes/PhraseanetTestCase.php +++ b/tests/classes/PhraseanetTestCase.php @@ -12,7 +12,6 @@ use Silex\WebTestCase; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\Client; use Symfony\Component\DomCrawler\Crawler; -use Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderInterface; use Symfony\Component\Routing\RequestContext; use Alchemy\Tests\Tools\TranslatorMockTrait; diff --git a/tests/classes/api/oauthv2/api_oauthv2_ApplicationTest.php b/tests/classes/api/oauthv2/api_oauthv2_ApplicationTest.php index 94395916ea..64f8e53be6 100644 --- a/tests/classes/api/oauthv2/api_oauthv2_ApplicationTest.php +++ b/tests/classes/api/oauthv2/api_oauthv2_ApplicationTest.php @@ -68,20 +68,17 @@ class API_OAuth2_ApplicationTest extends \PhraseanetTestCase $this->assertEquals(API_OAuth2_Application::NATIVE_APP_REDIRECT_URI, self::$DI['oauth2-app-user']->get_redirect_uri()); self::$DI['oauth2-app-user']->set_type(API_OAuth2_Application::WEB_TYPE); - self::$DI['oauth2-app-user']->set_name('prout'); $this->assertEquals('prout', self::$DI['oauth2-app-user']->get_name()); self::$DI['oauth2-app-user']->set_name('test application for user'); $this->assertEquals('test application for user', self::$DI['oauth2-app-user']->get_name()); - $desc = 'prouti prouto prout prout'; self::$DI['oauth2-app-user']->set_description($desc); $this->assertEquals($desc, self::$DI['oauth2-app-user']->get_description()); self::$DI['oauth2-app-user']->set_description(''); $this->assertEquals('', self::$DI['oauth2-app-user']->get_description()); - $site = 'http://www.example.com/'; self::$DI['oauth2-app-user']->set_website($site); $this->assertEquals($site, self::$DI['oauth2-app-user']->get_website());