clean use statements

This commit is contained in:
Art4 2024-12-15 21:51:22 +00:00
parent f8bb565fa5
commit b60f9863c6
22 changed files with 3 additions and 22 deletions

View file

@ -9,8 +9,8 @@ namespace Friendica\Test\src\Factory\Api\Twitter;
use Friendica\DI; use Friendica\DI;
use Friendica\Factory\Api\Twitter\DirectMessage; use Friendica\Factory\Api\Twitter\DirectMessage;
use Friendica\Test\FixtureTestCase;
use Friendica\Test\ApiTestCase; use Friendica\Test\ApiTestCase;
use Friendica\Test\FixtureTestCase;
class DirectMessageTest extends FixtureTestCase class DirectMessageTest extends FixtureTestCase
{ {

View file

@ -16,8 +16,8 @@ use Friendica\Factory\Api\Twitter\Media;
use Friendica\Factory\Api\Twitter\Mention; use Friendica\Factory\Api\Twitter\Mention;
use Friendica\Factory\Api\Twitter\Status; use Friendica\Factory\Api\Twitter\Status;
use Friendica\Factory\Api\Twitter\Url; use Friendica\Factory\Api\Twitter\Url;
use Friendica\Test\FixtureTestCase;
use Friendica\Test\ApiTestCase; use Friendica\Test\ApiTestCase;
use Friendica\Test\FixtureTestCase;
class StatusTest extends FixtureTestCase class StatusTest extends FixtureTestCase
{ {

View file

@ -10,8 +10,8 @@ namespace Friendica\Test\src\Factory\Api\Twitter;
use Friendica\DI; use Friendica\DI;
use Friendica\Factory\Api\Twitter\User; use Friendica\Factory\Api\Twitter\User;
use Friendica\Network\HTTPException\NotFoundException; use Friendica\Network\HTTPException\NotFoundException;
use Friendica\Test\FixtureTestCase;
use Friendica\Test\ApiTestCase; use Friendica\Test\ApiTestCase;
use Friendica\Test\FixtureTestCase;
class UserTest extends FixtureTestCase class UserTest extends FixtureTestCase
{ {

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Friendica\DirectMessages; namespace Friendica\Test\src\Module\Api\Friendica\DirectMessages;
use Friendica\App\Router;
use Friendica\DI; use Friendica\DI;
use Friendica\Factory\Api\Twitter\DirectMessage; use Friendica\Factory\Api\Twitter\DirectMessage;
use Friendica\Module\Api\Friendica\DirectMessages\Search; use Friendica\Module\Api\Friendica\DirectMessages\Search;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Mastodon\Accounts; namespace Friendica\Test\src\Module\Api\Mastodon\Accounts;
use Friendica\App\Router;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Mastodon\Accounts\VerifyCredentials; use Friendica\Module\Api\Mastodon\Accounts\VerifyCredentials;
use Friendica\Test\ApiTestCase; use Friendica\Test\ApiTestCase;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\Account; namespace Friendica\Test\src\Module\Api\Twitter\Account;
use Friendica\App\Router;
use Friendica\Capabilities\ICanCreateResponses; use Friendica\Capabilities\ICanCreateResponses;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Twitter\Account\RateLimitStatus; use Friendica\Module\Api\Twitter\Account\RateLimitStatus;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\Blocks; namespace Friendica\Test\src\Module\Api\Twitter\Blocks;
use Friendica\App\Router;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Twitter\Blocks\Lists; use Friendica\Module\Api\Twitter\Blocks\Lists;
use Friendica\Test\ApiTestCase; use Friendica\Test\ApiTestCase;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\DirectMessages; namespace Friendica\Test\src\Module\Api\Twitter\DirectMessages;
use Friendica\App\Router;
use Friendica\DI; use Friendica\DI;
use Friendica\Factory\Api\Twitter\DirectMessage; use Friendica\Factory\Api\Twitter\DirectMessage;
use Friendica\Module\Api\Twitter\DirectMessages\Conversation; use Friendica\Module\Api\Twitter\DirectMessages\Conversation;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\DirectMessages; namespace Friendica\Test\src\Module\Api\Twitter\DirectMessages;
use Friendica\App\Router;
use Friendica\DI; use Friendica\DI;
use Friendica\Factory\Api\Twitter\DirectMessage; use Friendica\Factory\Api\Twitter\DirectMessage;
use Friendica\Module\Api\Twitter\DirectMessages\Inbox; use Friendica\Module\Api\Twitter\DirectMessages\Inbox;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\DirectMessages; namespace Friendica\Test\src\Module\Api\Twitter\DirectMessages;
use Friendica\App\Router;
use Friendica\DI; use Friendica\DI;
use Friendica\Factory\Api\Twitter\DirectMessage; use Friendica\Factory\Api\Twitter\DirectMessage;
use Friendica\Module\Api\Twitter\DirectMessages\Sent; use Friendica\Module\Api\Twitter\DirectMessages\Sent;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter; namespace Friendica\Test\src\Module\Api\Twitter;
use Friendica\App\Router;
use Friendica\Capabilities\ICanCreateResponses; use Friendica\Capabilities\ICanCreateResponses;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Twitter\Favorites; use Friendica\Module\Api\Twitter\Favorites;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\Followers; namespace Friendica\Test\src\Module\Api\Twitter\Followers;
use Friendica\App\Router;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Twitter\Followers\Lists; use Friendica\Module\Api\Twitter\Followers\Lists;
use Friendica\Test\ApiTestCase; use Friendica\Test\ApiTestCase;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\Friends; namespace Friendica\Test\src\Module\Api\Twitter\Friends;
use Friendica\App\Router;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Twitter\Friends\Lists; use Friendica\Module\Api\Twitter\Friends\Lists;
use Friendica\Test\ApiTestCase; use Friendica\Test\ApiTestCase;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\Friendships; namespace Friendica\Test\src\Module\Api\Twitter\Friendships;
use Friendica\App\Router;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Twitter\Friendships\Incoming; use Friendica\Module\Api\Twitter\Friendships\Incoming;
use Friendica\Test\ApiTestCase; use Friendica\Test\ApiTestCase;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\Lists; namespace Friendica\Test\src\Module\Api\Twitter\Lists;
use Friendica\App\Router;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Twitter\Lists\Statuses; use Friendica\Module\Api\Twitter\Lists\Statuses;
use Friendica\Network\HTTPException\BadRequestException; use Friendica\Network\HTTPException\BadRequestException;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\Statuses; namespace Friendica\Test\src\Module\Api\Twitter\Statuses;
use Friendica\App\Router;
use Friendica\Capabilities\ICanCreateResponses; use Friendica\Capabilities\ICanCreateResponses;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Twitter\Statuses\Mentions; use Friendica\Module\Api\Twitter\Statuses\Mentions;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\Statuses; namespace Friendica\Test\src\Module\Api\Twitter\Statuses;
use Friendica\App\Router;
use Friendica\Capabilities\ICanCreateResponses; use Friendica\Capabilities\ICanCreateResponses;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Twitter\Statuses\NetworkPublicTimeline; use Friendica\Module\Api\Twitter\Statuses\NetworkPublicTimeline;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\Statuses; namespace Friendica\Test\src\Module\Api\Twitter\Statuses;
use Friendica\App\Router;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Twitter\Statuses\Show; use Friendica\Module\Api\Twitter\Statuses\Show;
use Friendica\Network\HTTPException\BadRequestException; use Friendica\Network\HTTPException\BadRequestException;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\Statuses; namespace Friendica\Test\src\Module\Api\Twitter\Statuses;
use Friendica\App\Router;
use Friendica\Capabilities\ICanCreateResponses; use Friendica\Capabilities\ICanCreateResponses;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Twitter\Statuses\UserTimeline; use Friendica\Module\Api\Twitter\Statuses\UserTimeline;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\Users; namespace Friendica\Test\src\Module\Api\Twitter\Users;
use Friendica\App\Router;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Twitter\Users\Lookup; use Friendica\Module\Api\Twitter\Users\Lookup;
use Friendica\Network\HTTPException\NotFoundException; use Friendica\Network\HTTPException\NotFoundException;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\Users; namespace Friendica\Test\src\Module\Api\Twitter\Users;
use Friendica\App\Router;
use Friendica\Capabilities\ICanCreateResponses; use Friendica\Capabilities\ICanCreateResponses;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Twitter\Users\Search; use Friendica\Module\Api\Twitter\Users\Search;

View file

@ -7,7 +7,6 @@
namespace Friendica\Test\src\Module\Api\Twitter\Users; namespace Friendica\Test\src\Module\Api\Twitter\Users;
use Friendica\App\Router;
use Friendica\Capabilities\ICanCreateResponses; use Friendica\Capabilities\ICanCreateResponses;
use Friendica\DI; use Friendica\DI;
use Friendica\Module\Api\Twitter\Users\Show; use Friendica\Module\Api\Twitter\Users\Show;