diff options
author | Andreas Gohr <andi@splitbrain.org> | 2022-10-19 20:53:33 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2022-10-19 21:10:59 +0200 |
commit | acdf738a61532360131323876e96f504db0a2b0a (patch) | |
tree | bd12ab3e4de1489da05b258a696a9b9a6830f7fe /_test/core/phpQuery-onefile.php | |
parent | ac2b3d9ee6c60ff91cda8cbd44a8de77a50a1c50 (diff) | |
download | dokuwiki-acdf738a61532360131323876e96f504db0a2b0a.tar.gz dokuwiki-acdf738a61532360131323876e96f504db0a2b0a.zip |
replace phpquery by php-dom-wrapper #3308
This replaces the outdated phpquery library by the newer and maintained
php-dom-wrapper. Usage is similar but not a 1:1 replacement. phpQuery is
left in but marked as deprecated.
Diffstat (limited to '_test/core/phpQuery-onefile.php')
-rw-r--r-- | _test/core/phpQuery-onefile.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/_test/core/phpQuery-onefile.php b/_test/core/phpQuery-onefile.php index 377a7858c..b308eb045 100644 --- a/_test/core/phpQuery-onefile.php +++ b/_test/core/phpQuery-onefile.php @@ -10,6 +10,7 @@ * @author Tobiasz Cudnik <tobiasz.cudnik/gmail.com> * @license http://www.opensource.org/licenses/mit-license.php MIT License * @package phpQuery + * @deprecated 2022-10-19 */ // class names for instanceof @@ -1184,6 +1185,8 @@ class phpQueryObject * @return phpQueryObject|QueryTemplatesSource|QueryTemplatesParse|QueryTemplatesSourceQuery */ public function __construct($documentID) { + dbg_deprecated(\DOMWrap\Document::class); + // if ($documentID instanceof self) // var_dump($documentID->getDocumentID()); $id = $documentID instanceof self |