mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
PHPStan: Fix missing requires/namespaces
This commit is contained in:
parent
e40917b792
commit
10b72b0e9e
35 changed files with 89 additions and 37 deletions
|
@ -10,9 +10,10 @@ use Friendica\Object\Image;
|
|||
use Friendica\Util\XML;
|
||||
|
||||
use dba;
|
||||
use DomXPath;
|
||||
use DOMXPath;
|
||||
use DOMDocument;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
require_once "include/network.php";
|
||||
require_once "include/oembed.php";
|
||||
|
||||
|
@ -215,7 +216,7 @@ class ParseUrl
|
|||
XML::deleteNode($doc, "ol");
|
||||
XML::deleteNode($doc, "ul");
|
||||
|
||||
$xpath = new DomXPath($doc);
|
||||
$xpath = new DOMXPath($doc);
|
||||
|
||||
$list = $xpath->query("//meta[@content]");
|
||||
foreach ($list as $node) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue