From 7b2ac362648d755874171300d1f5b2d9aea0ff46 Mon Sep 17 00:00:00 2001 From: Dag Date: Fri, 9 Feb 2024 22:27:35 +0100 Subject: [PATCH] chore: move committed third-party deps to lib (#3973) --- lib/bootstrap.php | 6 +++--- {vendor => lib}/parsedown/LICENSE.txt | 0 {vendor => lib}/parsedown/Parsedown.php | 0 {vendor => lib}/php-urljoin/LICENSE | 0 {vendor => lib}/php-urljoin/src/urljoin.php | 0 {vendor => lib}/simplehtmldom/LICENSE | 0 {vendor => lib}/simplehtmldom/simple_html_dom.php | 0 phpcs.xml | 3 +++ 8 files changed, 6 insertions(+), 3 deletions(-) rename {vendor => lib}/parsedown/LICENSE.txt (100%) rename {vendor => lib}/parsedown/Parsedown.php (100%) rename {vendor => lib}/php-urljoin/LICENSE (100%) rename {vendor => lib}/php-urljoin/src/urljoin.php (100%) rename {vendor => lib}/simplehtmldom/LICENSE (100%) rename {vendor => lib}/simplehtmldom/simple_html_dom.php (100%) diff --git a/lib/bootstrap.php b/lib/bootstrap.php index 6465f5f9..29c8b97d 100644 --- a/lib/bootstrap.php +++ b/lib/bootstrap.php @@ -18,9 +18,9 @@ $files = [ __DIR__ . '/../lib/url.php', __DIR__ . '/../lib/seotags.php', // Vendor - __DIR__ . '/../vendor/parsedown/Parsedown.php', - __DIR__ . '/../vendor/php-urljoin/src/urljoin.php', - __DIR__ . '/../vendor/simplehtmldom/simple_html_dom.php', + __DIR__ . '/../lib/parsedown/Parsedown.php', + __DIR__ . '/../lib/php-urljoin/src/urljoin.php', + __DIR__ . '/../lib/simplehtmldom/simple_html_dom.php', ]; foreach ($files as $file) { require_once $file; diff --git a/vendor/parsedown/LICENSE.txt b/lib/parsedown/LICENSE.txt similarity index 100% rename from vendor/parsedown/LICENSE.txt rename to lib/parsedown/LICENSE.txt diff --git a/vendor/parsedown/Parsedown.php b/lib/parsedown/Parsedown.php similarity index 100% rename from vendor/parsedown/Parsedown.php rename to lib/parsedown/Parsedown.php diff --git a/vendor/php-urljoin/LICENSE b/lib/php-urljoin/LICENSE similarity index 100% rename from vendor/php-urljoin/LICENSE rename to lib/php-urljoin/LICENSE diff --git a/vendor/php-urljoin/src/urljoin.php b/lib/php-urljoin/src/urljoin.php similarity index 100% rename from vendor/php-urljoin/src/urljoin.php rename to lib/php-urljoin/src/urljoin.php diff --git a/vendor/simplehtmldom/LICENSE b/lib/simplehtmldom/LICENSE similarity index 100% rename from vendor/simplehtmldom/LICENSE rename to lib/simplehtmldom/LICENSE diff --git a/vendor/simplehtmldom/simple_html_dom.php b/lib/simplehtmldom/simple_html_dom.php similarity index 100% rename from vendor/simplehtmldom/simple_html_dom.php rename to lib/simplehtmldom/simple_html_dom.php diff --git a/phpcs.xml b/phpcs.xml index 21e1f50a..bd1aca28 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -8,6 +8,9 @@ ./static ./vendor + ./lib/parsedown + ./lib/php-urljoin + ./lib/simplehtmldom ./templates ./config.default.ini.php ./config.ini.php