Skip to content

Commit

Permalink
remove unnecessary includes
Browse files Browse the repository at this point in the history
  • Loading branch information
dvikan committed May 13, 2022
1 parent f00f903 commit 4d069fc
Show file tree
Hide file tree
Showing 14 changed files with 2 additions and 39 deletions.
1 change: 0 additions & 1 deletion bridges/BooruprojectBridge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once('DanbooruBridge.php');

class BooruprojectBridge extends DanbooruBridge {

Expand Down
2 changes: 1 addition & 1 deletion bridges/GithubPullRequestBridge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
require_once('GithubIssueBridge.php');

class GitHubPullRequestBridge extends GithubIssueBridge {
const MAINTAINER = 'Yaman Qalieh';
const NAME = 'GitHub Pull Request';
Expand Down
1 change: 0 additions & 1 deletion bridges/KonachanBridge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once('MoebooruBridge.php');

class KonachanBridge extends MoebooruBridge {

Expand Down
1 change: 0 additions & 1 deletion bridges/LolibooruBridge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once('MoebooruBridge.php');

class LolibooruBridge extends MoebooruBridge {

Expand Down
1 change: 0 additions & 1 deletion bridges/MilbooruBridge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once('Shimmie2Bridge.php');

class MilbooruBridge extends Shimmie2Bridge {

Expand Down
1 change: 0 additions & 1 deletion bridges/MspabooruBridge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once('GelbooruBridge.php');

class MspabooruBridge extends GelbooruBridge {

Expand Down
1 change: 0 additions & 1 deletion bridges/Rule34Bridge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once('GelbooruBridge.php');

class Rule34Bridge extends GelbooruBridge {

Expand Down
1 change: 0 additions & 1 deletion bridges/Rule34pahealBridge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once('Shimmie2Bridge.php');

class Rule34pahealBridge extends Shimmie2Bridge {

Expand Down
1 change: 0 additions & 1 deletion bridges/SafebooruBridge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once('GelbooruBridge.php');

class SafebooruBridge extends GelbooruBridge {

Expand Down
1 change: 0 additions & 1 deletion bridges/Shimmie2Bridge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once('DanbooruBridge.php');

class Shimmie2Bridge extends DanbooruBridge {

Expand Down
1 change: 0 additions & 1 deletion bridges/TbibBridge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once('GelbooruBridge.php');

class TbibBridge extends GelbooruBridge {

Expand Down
1 change: 0 additions & 1 deletion bridges/XbooruBridge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once('GelbooruBridge.php');

class XbooruBridge extends GelbooruBridge {

Expand Down
1 change: 0 additions & 1 deletion bridges/YandereBridge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
require_once('MoebooruBridge.php');

class YandereBridge extends MoebooruBridge {

Expand Down
27 changes: 1 addition & 26 deletions lib/rssbridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,33 +50,8 @@
/** URL to the RSS-Bridge repository */
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
require_once PATH_LIB . 'Exceptions.php';
require_once PATH_LIB . 'html.php';
require_once PATH_LIB . 'error.php';
require_once PATH_LIB . 'contents.php';
Expand Down

0 comments on commit 4d069fc

Please sign in to comment.