]> git.mxchange.org Git - friendica.git/commitdiff
Fixed `MovedPermanently` exception name
authorPhilipp <admin@philipp.info>
Fri, 5 Nov 2021 20:13:27 +0000 (21:13 +0100)
committerPhilipp <admin@philipp.info>
Fri, 5 Nov 2021 20:13:27 +0000 (21:13 +0100)
src/Network/HTTPException/MovedPermanently.php [deleted file]
src/Network/HTTPException/MovedPermanentlyException.php [new file with mode: 0644]

diff --git a/src/Network/HTTPException/MovedPermanently.php b/src/Network/HTTPException/MovedPermanently.php
deleted file mode 100644 (file)
index 7ded384..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-/**
- * @copyright Copyright (C) 2010-2021, the Friendica project
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program.  If not, see <https://www.gnu.org/licenses/>.
- *
- */
-
-namespace Friendica\Network\HTTPException;
-
-use Friendica\Network\HTTPException;
-
-class MovedPermanentlyException extends HTTPException
-{
-       protected $code     = 301;
-       protected $httpdesc = 'Moved Permanently';
-}
diff --git a/src/Network/HTTPException/MovedPermanentlyException.php b/src/Network/HTTPException/MovedPermanentlyException.php
new file mode 100644 (file)
index 0000000..7ded384
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+/**
+ * @copyright Copyright (C) 2010-2021, the Friendica project
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+
+namespace Friendica\Network\HTTPException;
+
+use Friendica\Network\HTTPException;
+
+class MovedPermanentlyException extends HTTPException
+{
+       protected $code     = 301;
+       protected $httpdesc = 'Moved Permanently';
+}