File tree Expand file tree Collapse file tree 2 files changed +2
-33
lines changed
user_guide_src/source/changelogs Expand file tree Collapse file tree 2 files changed +2
-33
lines changed Original file line number Diff line number Diff line change 1515use CodeIgniter \Cache \ResponseCache ;
1616use CodeIgniter \Debug \Timer ;
1717use CodeIgniter \Events \Events ;
18- use CodeIgniter \Exceptions \FrameworkException ;
1918use CodeIgniter \Exceptions \LogicException ;
2019use CodeIgniter \Exceptions \PageNotFoundException ;
2120use CodeIgniter \Filters \Filters ;
@@ -192,38 +191,6 @@ public function initialize()
192191 date_default_timezone_set ($ this ->config ->appTimezone ?? 'UTC ' );
193192 }
194193
195- /**
196- * Checks system for missing required PHP extensions.
197- *
198- * @return void
199- *
200- * @throws FrameworkException
201- *
202- * @codeCoverageIgnore
203- *
204- * @deprecated 4.5.0 Moved to system/bootstrap.php.
205- */
206- protected function resolvePlatformExtensions ()
207- {
208- $ requiredExtensions = [
209- 'intl ' ,
210- 'json ' ,
211- 'mbstring ' ,
212- ];
213-
214- $ missingExtensions = [];
215-
216- foreach ($ requiredExtensions as $ extension ) {
217- if (! extension_loaded ($ extension )) {
218- $ missingExtensions [] = $ extension ;
219- }
220- }
221-
222- if ($ missingExtensions !== []) {
223- throw FrameworkException::forMissingExtension (implode (', ' , $ missingExtensions ));
224- }
225- }
226-
227194 /**
228195 * Initializes Kint
229196 *
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ Message Changes
2222Changes
2323*******
2424
25+ - **CodeIgniter: ** The deprecated ``resolvePlatformExtensions() `` method in ``CodeIgniter\CodeIgniter `` has been removed.
26+
2527************
2628Deprecations
2729************
You can’t perform that action at this time.
0 commit comments