aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/simplepie/simplepie/library/SimplePie/Exception.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/simplepie/simplepie/library/SimplePie/Exception.php')
-rw-r--r--vendor/simplepie/simplepie/library/SimplePie/Exception.php22
1 files changed, 10 insertions, 12 deletions
diff --git a/vendor/simplepie/simplepie/library/SimplePie/Exception.php b/vendor/simplepie/simplepie/library/SimplePie/Exception.php
index b3228350f..715cefc72 100644
--- a/vendor/simplepie/simplepie/library/SimplePie/Exception.php
+++ b/vendor/simplepie/simplepie/library/SimplePie/Exception.php
@@ -5,7 +5,7 @@
* A PHP-Based RSS and Atom Feed Framework.
* Takes the hard work out of managing a complete RSS/Atom solution.
*
- * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
+ * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
@@ -41,15 +41,13 @@
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
*/
-use SimplePie\Exception as SimplePieException;
-
-class_exists('SimplePie\Exception');
-
-// @trigger_error(sprintf('Using the "SimplePie_Exception" class is deprecated since SimplePie 1.7, use "SimplePie\Exception" instead.'), \E_USER_DEPRECATED);
-
-if (\false) {
- /** @deprecated since SimplePie 1.7, use "SimplePie\Exception" instead */
- class SimplePie_Exception extends SimplePieException
- {
- }
+/**
+ * General SimplePie exception class
+ *
+ * @package SimplePie
+ */
+class SimplePie_Exception extends Exception
+{
}
+
+class_alias('SimplePie_Exception', 'SimplePie\Exception', false);