mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 17:19:37 +00:00
Revert "refactor: remove unnecesary includes" (#2723)
This reverts commit fd449be4eb
.
This commit is contained in:
parent
97b513823d
commit
bb6d553dd5
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
require_once('DanbooruBridge.php');
|
||||||
|
|
||||||
class BooruprojectBridge extends DanbooruBridge {
|
class BooruprojectBridge extends DanbooruBridge {
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
require_once('GithubIssueBridge.php');
|
||||||
class GitHubPullRequestBridge extends GithubIssueBridge {
|
class GitHubPullRequestBridge extends GithubIssueBridge {
|
||||||
const MAINTAINER = 'Yaman Qalieh';
|
const MAINTAINER = 'Yaman Qalieh';
|
||||||
const NAME = 'GitHub Pull Request';
|
const NAME = 'GitHub Pull Request';
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
require_once(__DIR__ . '/DealabsBridge.php');
|
||||||
class HotUKDealsBridge extends PepperBridgeAbstract {
|
class HotUKDealsBridge extends PepperBridgeAbstract {
|
||||||
|
|
||||||
const NAME = 'HotUKDeals bridge';
|
const NAME = 'HotUKDeals bridge';
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
require_once('MoebooruBridge.php');
|
||||||
|
|
||||||
class KonachanBridge extends MoebooruBridge {
|
class KonachanBridge extends MoebooruBridge {
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
require_once('MoebooruBridge.php');
|
||||||
|
|
||||||
class LolibooruBridge extends MoebooruBridge {
|
class LolibooruBridge extends MoebooruBridge {
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
require_once('Shimmie2Bridge.php');
|
||||||
|
|
||||||
class MilbooruBridge extends Shimmie2Bridge {
|
class MilbooruBridge extends Shimmie2Bridge {
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
require_once('GelbooruBridge.php');
|
||||||
|
|
||||||
class MspabooruBridge extends GelbooruBridge {
|
class MspabooruBridge extends GelbooruBridge {
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
require_once(__DIR__ . '/DealabsBridge.php');
|
||||||
class MydealsBridge extends PepperBridgeAbstract {
|
class MydealsBridge extends PepperBridgeAbstract {
|
||||||
|
|
||||||
const NAME = 'Mydeals bridge';
|
const NAME = 'Mydeals bridge';
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
require_once('GelbooruBridge.php');
|
||||||
|
|
||||||
class Rule34Bridge extends GelbooruBridge {
|
class Rule34Bridge extends GelbooruBridge {
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
require_once('Shimmie2Bridge.php');
|
||||||
|
|
||||||
class Rule34pahealBridge extends Shimmie2Bridge {
|
class Rule34pahealBridge extends Shimmie2Bridge {
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
require_once('GelbooruBridge.php');
|
||||||
|
|
||||||
class SafebooruBridge extends GelbooruBridge {
|
class SafebooruBridge extends GelbooruBridge {
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
require_once('DanbooruBridge.php');
|
||||||
|
|
||||||
class Shimmie2Bridge extends DanbooruBridge {
|
class Shimmie2Bridge extends DanbooruBridge {
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
require_once('GelbooruBridge.php');
|
||||||
|
|
||||||
class TbibBridge extends GelbooruBridge {
|
class TbibBridge extends GelbooruBridge {
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
require_once('GelbooruBridge.php');
|
||||||
|
|
||||||
class XbooruBridge extends GelbooruBridge {
|
class XbooruBridge extends GelbooruBridge {
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
require_once('MoebooruBridge.php');
|
||||||
|
|
||||||
class YandereBridge extends MoebooruBridge {
|
class YandereBridge extends MoebooruBridge {
|
||||||
|
|
||||||
|
@ -50,6 +50,32 @@ define('FILE_CONFIG_DEFAULT', PATH_ROOT . 'config.default.ini.php');
|
|||||||
/** URL to the RSS-Bridge repository */
|
/** URL to the RSS-Bridge repository */
|
||||||
define('REPOSITORY', 'https://github.com/RSS-Bridge/rss-bridge/');
|
define('REPOSITORY', 'https://github.com/RSS-Bridge/rss-bridge/');
|
||||||
|
|
||||||
|
// Interfaces
|
||||||
|
require_once PATH_LIB . 'ActionInterface.php';
|
||||||
|
require_once PATH_LIB . 'BridgeInterface.php';
|
||||||
|
require_once PATH_LIB . 'CacheInterface.php';
|
||||||
|
require_once PATH_LIB . 'FormatInterface.php';
|
||||||
|
|
||||||
|
// Classes
|
||||||
|
require_once PATH_LIB . 'FactoryAbstract.php';
|
||||||
|
require_once PATH_LIB . 'FeedItem.php';
|
||||||
|
require_once PATH_LIB . 'Debug.php';
|
||||||
|
require_once PATH_LIB . 'Exceptions.php';
|
||||||
|
require_once PATH_LIB . 'FormatFactory.php';
|
||||||
|
require_once PATH_LIB . 'FormatAbstract.php';
|
||||||
|
require_once PATH_LIB . 'BridgeFactory.php';
|
||||||
|
require_once PATH_LIB . 'BridgeAbstract.php';
|
||||||
|
require_once PATH_LIB . 'FeedExpander.php';
|
||||||
|
require_once PATH_LIB . 'CacheFactory.php';
|
||||||
|
require_once PATH_LIB . 'Authentication.php';
|
||||||
|
require_once PATH_LIB . 'Configuration.php';
|
||||||
|
require_once PATH_LIB . 'BridgeCard.php';
|
||||||
|
require_once PATH_LIB . 'BridgeList.php';
|
||||||
|
require_once PATH_LIB . 'ParameterValidator.php';
|
||||||
|
require_once PATH_LIB . 'ActionFactory.php';
|
||||||
|
require_once PATH_LIB . 'ActionAbstract.php';
|
||||||
|
require_once PATH_LIB . 'XPathAbstract.php';
|
||||||
|
|
||||||
// Functions
|
// Functions
|
||||||
require_once PATH_LIB . 'html.php';
|
require_once PATH_LIB . 'html.php';
|
||||||
require_once PATH_LIB . 'error.php';
|
require_once PATH_LIB . 'error.php';
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
* JsonFormat - JSON Feed Version 1
|
* JsonFormat - JSON Feed Version 1
|
||||||
* https://jsonfeed.org/version/1
|
* https://jsonfeed.org/version/1
|
||||||
*/
|
*/
|
||||||
|
require_once __DIR__ . '/../lib/rssbridge.php';
|
||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user