Skip to content

Commit 956f48d

Browse files
authored
Merge pull request #225 from kenjis/update-ci-452
Update to CI v4.5.2
2 parents 4a27689 + bad5f43 commit 956f48d

File tree

3 files changed

+50
-51
lines changed

3 files changed

+50
-51
lines changed

app/Config/Exceptions.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,10 @@ class Exceptions extends BaseConfig
6060

6161
/**
6262
* --------------------------------------------------------------------------
63-
* LOG DEPRECATIONS INSTEAD OF THROWING?
63+
* WHETHER TO THROW AN EXCEPTION ON DEPRECATED ERRORS
6464
* --------------------------------------------------------------------------
65-
* By default, CodeIgniter converts deprecations into exceptions. Also,
66-
* starting in PHP 8.1 will cause a lot of deprecated usage warnings.
67-
* Use this option to temporarily cease the warnings and instead log those.
68-
* This option also works for user deprecations.
65+
* If set to `true`, DEPRECATED errors are only logged and no exceptions are
66+
* thrown. This option also works for user deprecations.
6967
*/
7068
public bool $logDeprecations = true;
7169

composer.lock

Lines changed: 46 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spark

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*/
2626

2727
// Refuse to run when called from php-cgi
28-
if (strpos(PHP_SAPI, 'cgi') === 0) {
28+
if (str_starts_with(PHP_SAPI, 'cgi')) {
2929
exit("The cli tool is not supported when running php-cgi. It needs php-cli to function!\n\n");
3030
}
3131

0 commit comments

Comments
 (0)