"Shaarli\\Netscape\\": "application/netscape",
"Shaarli\\Plugin\\": "application/plugin",
"Shaarli\\Plugin\\Exception\\": "application/plugin/exception",
+ "Shaarli\\Plugin\\Wallabag\\": "plugins/wallabag",
"Shaarli\\Render\\": "application/render",
"Shaarli\\Security\\": "application/security",
"Shaarli\\Updater\\": "application/updater",
<?php
+namespace Shaarli\Plugin\Wallabag;
/**
* Class WallabagInstance.
<?php
-
/**
- * Plugin Wallabag.
+ * Wallabag plugin
*/
-require_once 'WallabagInstance.php';
use Shaarli\Config\ConfigManager;
use Shaarli\Plugin\PluginManager;
+use Shaarli\Plugin\Wallabag\WallabagInstance;
/**
* Init function, return an error if the server is not set.
<?php
+namespace Shaarli\Plugin\Addlink;
use Shaarli\Plugin\PluginManager;
use Shaarli\Router;
<?php
+namespace Shaarli\Plugin\Archiveorg;
/**
* PluginArchiveorgTest.php
* Class PluginArchiveorgTest
* Unit test for the archiveorg plugin
*/
-class PluginArchiveorgTest extends PHPUnit_Framework_TestCase
+class PluginArchiveorgTest extends \PHPUnit\Framework\TestCase
{
/**
* Reset plugin path
<?php
+namespace Shaarli\Plugin\Isso;
+use DateTime;
use Shaarli\Bookmark\LinkDB;
use Shaarli\Config\ConfigManager;
use Shaarli\Plugin\PluginManager;
*
* Test the Isso plugin (comment system).
*/
-class PluginIssoTest extends PHPUnit_Framework_TestCase
+class PluginIssoTest extends \PHPUnit\Framework\TestCase
{
/**
* Reset plugin path
<?php
+namespace Shaarli\Plugin\Markdown;
+
use Shaarli\Config\ConfigManager;
use Shaarli\Plugin\PluginManager;
* Class PluginMarkdownTest
* Unit test for the Markdown plugin
*/
-class PluginMarkdownTest extends PHPUnit_Framework_TestCase
+class PluginMarkdownTest extends \PHPUnit\Framework\TestCase
{
/**
* @var ConfigManager instance.
<?php
+namespace Shaarli\Plugin\Playvideos;
/**
* PluginPlayvideosTest.php
use Shaarli\Router;
require_once 'plugins/playvideos/playvideos.php';
-require_once 'application/Router.php';
/**
* Class PluginPlayvideosTest
* Unit test for the PlayVideos plugin
*/
-class PluginPlayvideosTest extends PHPUnit_Framework_TestCase
+class PluginPlayvideosTest extends \PHPUnit\Framework\TestCase
{
/**
* Reset plugin path
<?php
+namespace Shaarli\Plugin\Pubsubhubbub;
+
use Shaarli\Config\ConfigManager;
use Shaarli\Plugin\PluginManager;
use Shaarli\Router;
require_once 'plugins/pubsubhubbub/pubsubhubbub.php';
-require_once 'application/Router.php';
/**
* Class PluginPubsubhubbubTest
* Unit test for the pubsubhubbub plugin
*/
-class PluginPubsubhubbubTest extends PHPUnit_Framework_TestCase
+class PluginPubsubhubbubTest extends \PHPUnit\Framework\TestCase
{
/**
* @var string Config file path (without extension).
<?php
+namespace Shaarli\Plugin\Qrcode;
+
/**
* PluginQrcodeTest.php
*/
use Shaarli\Router;
require_once 'plugins/qrcode/qrcode.php';
-require_once 'application/Router.php';
/**
* Class PluginQrcodeTest
* Unit test for the QR-Code plugin
*/
-class PluginQrcodeTest extends PHPUnit_Framework_TestCase
+class PluginQrcodeTest extends \PHPUnit\Framework\TestCase
{
/**
* Reset plugin path
<?php
+namespace Shaarli\Plugin\Wallabag;
+
use Shaarli\Config\ConfigManager;
use Shaarli\Plugin\PluginManager;
-/**
- * PluginWallabagTest.php.php
- */
-
require_once 'plugins/wallabag/wallabag.php';
/**
<?php
+namespace Shaarli\Plugin\Wallabag;
-require_once 'plugins/wallabag/WallabagInstance.php';
+use Shaarli\Plugin\Wallabag\WallabagInstance;
/**
* Class WallabagInstanceTest
*/
-class WallabagInstanceTest extends PHPUnit_Framework_TestCase
+class WallabagInstanceTest extends \PHPUnit\Framework\TestCase
{
/**
* @var string wallabag url.