Skip to content

Commit 4db0301

Browse files
Ayeshboite
authored andcommitted
chore(php8): drop deprecated INI settings in PHP 8.5 #0000
We include a php.ini-production file, with sane defaults for all Docker images offered here. In PHP 8.5, these two INI directives are deprecated: - [`report_memleaks`](https://php.watch/codex/report_memleaks#changes-php-8.5): This directive has no effect on regular releases, certainly not on any of the official PHP Docker images, and is only effective on PHP\ debug builds. - [`disable_classes`](https://php.watch/codex/disable_classes#changes-php-8.5): The `php.ini` in this repo contains the same values as defaults (empty list of classes to disable), so we can safely drop references to them. This PR suggests to remove them, to avoid triggering static analyzers unnecessarily.
1 parent 841489e commit 4db0301

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

php.ini-production

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ implicit_flush = Off
1616
unserialize_callback_func =
1717
serialize_precision = 17
1818
disable_functions =
19-
disable_classes =
2019

2120
zend.enable_gc = On
2221

@@ -46,7 +45,6 @@ log_errors = On
4645
log_errors_max_len = 1024
4746
ignore_repeated_errors = Off
4847
ignore_repeated_source = Off
49-
report_memleaks = On
5048
track_errors = Off
5149
html_errors = On
5250

0 commit comments

Comments
 (0)