use GuzzleHttp\Psr7\Response;
use wcf\data\unfurl\url\UnfurlUrl;
use wcf\data\unfurl\url\UnfurlUrlAction;
-use wcf\system\message\unfurl\DownloadFailed;
-use wcf\system\message\unfurl\ParsingFailed;
+use wcf\system\message\unfurl\exception\DownloadFailed;
+use wcf\system\message\unfurl\exception\ParsingFailed;
+use wcf\system\message\unfurl\exception\UrlInaccessible;
use wcf\system\message\unfurl\UnfurlResponse;
-use wcf\system\message\unfurl\UrlInaccessible;
use wcf\util\FileUtil;
use wcf\util\StringUtil;
+++ /dev/null
-<?php
-
-namespace wcf\system\message\unfurl;
-
-use Exception;
-
-/**
- * Denotes a (temporary) download failed. It can be retried later.
- *
- * @author Joshua Ruesweg
- * @copyright 2001-2021 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package WoltLabSuite\Core\System\Message\Unfurl
- * @since 5.4
- */
-class DownloadFailed extends Exception
-{
-}
+++ /dev/null
-<?php
-
-namespace wcf\system\message\unfurl;
-
-use Exception;
-
-/**
- * Denotes a permanent parsing body failed. It should not be retried later.
- *
- * @author Joshua Ruesweg
- * @copyright 2001-2021 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package WoltLabSuite\Core\System\Message\Unfurl
- * @since 5.4
- */
-class ParsingFailed extends Exception
-{
-}
use GuzzleHttp\RequestOptions;
use Psr\Http\Client\ClientExceptionInterface;
use wcf\system\io\HttpFactory;
+use wcf\system\message\unfurl\exception\DownloadFailed;
+use wcf\system\message\unfurl\exception\ParsingFailed;
+use wcf\system\message\unfurl\exception\UrlInaccessible;
use wcf\util\ArrayUtil;
use wcf\util\StringUtil;
use wcf\util\Url;
+++ /dev/null
-<?php
-
-namespace wcf\system\message\unfurl;
-
-use Exception;
-
-/**
- * Denotes a permanent failing url, because the url is inaccessible.
- *
- * @author Joshua Ruesweg
- * @copyright 2001-2021 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package WoltLabSuite\Core\System\Message\Unfurl
- * @since 5.4
- */
-class UrlInaccessible extends Exception
-{
-}
--- /dev/null
+<?php
+
+namespace wcf\system\message\unfurl\exception;
+
+use Exception;
+
+/**
+ * Denotes a (temporary) download failed. It can be retried later.
+ *
+ * @author Joshua Ruesweg
+ * @copyright 2001-2021 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core\System\Message\Unfurl
+ * @since 5.4
+ */
+class DownloadFailed extends Exception
+{
+}
--- /dev/null
+<?php
+
+namespace wcf\system\message\unfurl\exception;
+
+use Exception;
+
+/**
+ * Denotes a permanent parsing body failed. It should not be retried later.
+ *
+ * @author Joshua Ruesweg
+ * @copyright 2001-2021 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core\System\Message\Unfurl
+ * @since 5.4
+ */
+class ParsingFailed extends Exception
+{
+}
--- /dev/null
+<?php
+
+namespace wcf\system\message\unfurl\exception;
+
+use Exception;
+
+/**
+ * Denotes a permanent failing url, because the url is inaccessible.
+ *
+ * @author Joshua Ruesweg
+ * @copyright 2001-2021 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core\System\Message\Unfurl
+ * @since 5.4
+ */
+class UrlInaccessible extends Exception
+{
+}