From 2a01e2a643d0879ec84329bb0a6c82ddce78a771 Mon Sep 17 00:00:00 2001 From: David Persson Date: 2016年5月31日 22:29:51 +0200 Subject: [PATCH 1/2] Require 1.0.* stable, update submodule. --- composer.json | 2 +- libraries/lithium | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index b6fc6a3a..457e173c 100644 --- a/composer.json +++ b/composer.json @@ -15,6 +15,6 @@ "prefer-stable": true, "require": { "php": ">=5.3.6 <7.0.0", - "unionofrad/lithium": "1.0.*@RC" + "unionofrad/lithium": "1.0.*" } } \ No newline at end of file diff --git a/libraries/lithium b/libraries/lithium index 4e2ebb73..b8f90812 160000 --- a/libraries/lithium +++ b/libraries/lithium @@ -1 +1 @@ -Subproject commit 4e2ebb73868ef69c22749a25fd2497fe27b740e6 +Subproject commit b8f908123162e19e9989722f0675ab9c7628fd00 From 2b6e365feb1bd67b582f304474f9cf95732fc6dc Mon Sep 17 00:00:00 2001 From: Nate Abele Date: 2025年5月28日 18:16:11 -0500 Subject: [PATCH 2/2] Upgrade to 2.0 --- config/bootstrap/libraries.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/bootstrap/libraries.php b/config/bootstrap/libraries.php index 65bde31a..4b4460ca 100644 --- a/config/bootstrap/libraries.php +++ b/config/bootstrap/libraries.php @@ -71,7 +71,7 @@ $message = "Lithium core could not be found. Check the value of LITHIUM_LIBRARY_PATH in "; $message .= __FILE__ . ". It should point to the directory containing your "; $message .= "/libraries directory."; - throw new ErrorException($message); + throw new \ErrorException($message); } use lithium\core\Libraries; @@ -81,8 +81,7 @@ * request/response or dispatch classes, you can safely remove these. Actually, you can safely * remove them anyway, they're just there to give slightly you better out-of-the-box performance. */ -require LITHIUM_LIBRARY_PATH . '/lithium/core/ObjectDeprecated.php'; -require LITHIUM_LIBRARY_PATH . '/lithium/core/StaticObjectDeprecated.php'; +require LITHIUM_LIBRARY_PATH . '/lithium/core/AutoConfigurable.php'; require LITHIUM_LIBRARY_PATH . '/lithium/core/MergeInheritable.php'; require LITHIUM_LIBRARY_PATH . '/lithium/aop/Filters.php'; require LITHIUM_LIBRARY_PATH . '/lithium/util/Inflector.php';

AltStyle によって変換されたページ (->オリジナル) /