Update Kirby and Composer dependencies

This commit is contained in:
Paul Nicoué 2022-03-22 15:39:39 +01:00
parent f5d3ea5e84
commit ec74d78ba9
382 changed files with 25077 additions and 4955 deletions

View file

@ -9,7 +9,7 @@ namespace Kirby\Exception;
* @package Kirby Exception
* @author Nico Hoffmann <nico@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class BadMethodCallException extends Exception

View file

@ -10,7 +10,7 @@ namespace Kirby\Exception;
* @package Kirby Exception
* @author Nico Hoffmann <nico@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class DuplicateException extends Exception

View file

@ -10,7 +10,7 @@ namespace Kirby\Exception;
* @package Kirby Exception
* @author Lukas Bestle <lukas@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class ErrorPageException extends Exception

View file

@ -13,7 +13,7 @@ use Kirby\Toolkit\Str;
* @package Kirby Exception
* @author Nico Hoffmann <nico@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class Exception extends \Exception
@ -128,7 +128,7 @@ class Exception extends \Exception
]);
// handover to Exception parent class constructor
parent::__construct($message, null, $args['previous'] ?? null);
parent::__construct($message, 0, $args['previous'] ?? null);
}
// set the Exception code to the key

View file

@ -9,7 +9,7 @@ namespace Kirby\Exception;
* @package Kirby Exception
* @author Nico Hoffmann <nico@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class InvalidArgumentException extends Exception

View file

@ -9,7 +9,7 @@ namespace Kirby\Exception;
* @package Kirby Exception
* @author Nico Hoffmann <nico@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class LogicException extends Exception

View file

@ -9,7 +9,7 @@ namespace Kirby\Exception;
* @package Kirby Exception
* @author Nico Hoffmann <nico@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class NotFoundException extends Exception

View file

@ -10,7 +10,7 @@ namespace Kirby\Exception;
* @package Kirby Exception
* @author Nico Hoffmann <nico@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class PermissionException extends Exception