diff options
Diffstat (limited to 'vendor/simplepie/simplepie/library/SimplePie/Exception.php')
-rw-r--r-- | vendor/simplepie/simplepie/library/SimplePie/Exception.php | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/vendor/simplepie/simplepie/library/SimplePie/Exception.php b/vendor/simplepie/simplepie/library/SimplePie/Exception.php index 715cefc72..b3228350f 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-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors + * Copyright (c) 2004-2022, 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,13 +41,15 @@ * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ -/** - * General SimplePie exception class - * - * @package SimplePie - */ -class SimplePie_Exception extends Exception -{ -} +use SimplePie\Exception as SimplePieException; + +class_exists('SimplePie\Exception'); -class_alias('SimplePie_Exception', 'SimplePie\Exception', false); +// @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 + { + } +} |