Browse Source

Update namespaces declaration in include/

- Remove unused use statements
- Add required use statements
pull/6482/head
Hypolite Petovan 2 years ago
parent
commit
d1c6ec9718
5 changed files with 3 additions and 18 deletions
  1. +1
    -0
      include/api.php
  2. +0
    -17
      include/text.php
  3. +0
    -1
      src/Core/Renderer.php
  4. +1
    -0
      src/Module/Contact.php
  5. +1
    -0
      src/Worker/PubSubPublish.php

+ 1
- 0
include/api.php View File

@ -31,6 +31,7 @@ use Friendica\Model\User;
use Friendica\Network\FKOAuth1;
use Friendica\Network\HTTPException;
use Friendica\Network\HTTPException\BadRequestException;
use Friendica\Network\HTTPException\ExpectationFailedException;
use Friendica\Network\HTTPException\ForbiddenException;
use Friendica\Network\HTTPException\InternalServerErrorException;
use Friendica\Network\HTTPException\MethodNotAllowedException;


+ 0
- 17
include/text.php View File

@ -4,31 +4,14 @@
*/
use Friendica\App;
use Friendica\Content\ContactSelector;
use Friendica\Content\Feature;
use Friendica\Content\Smilies;
use Friendica\Content\Text\BBCode;
use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\L10n;
use Friendica\Core\PConfig;
use Friendica\Core\Protocol;
use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Model\Contact;
use Friendica\Model\Event;
use Friendica\Model\Item;
use Friendica\Render\FriendicaSmarty;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Map;
use Friendica\Util\Proxy as ProxyUtils;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;
use Friendica\Model\FileTag;
use Friendica\Util\Strings;
use Friendica\Util\XML;
use Friendica\Content\Text\HTML;
/**
* Turn user/group ACLs stored as angle bracketed text into arrays


+ 0
- 1
src/Core/Renderer.php View File

@ -8,7 +8,6 @@ namespace Friendica\Core;
use Exception;
use Friendica\BaseObject;
use Friendica\Render\FriendicaSmarty;
use Friendica\Render\ITemplateEngine;
/**
* @brief This class handles Renderer related functions.


+ 1
- 0
src/Module/Contact.php View File

@ -8,6 +8,7 @@ use Friendica\Content\ContactSelector;
use Friendica\Content\Nav;
use Friendica\Content\Pager;
use Friendica\Content\Text\BBCode;
use Friendica\Content\Text\HTML;
use Friendica\Content\Widget;
use Friendica\Core\ACL;
use Friendica\Core\Hook;


+ 1
- 0
src/Worker/PubSubPublish.php View File

@ -5,6 +5,7 @@
namespace Friendica\Worker;
use Friendica\BaseObject;
use Friendica\Core\Logger;
use Friendica\Core\System;
use Friendica\Database\DBA;


Loading…
Cancel
Save