We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 09af8d8 + f5d6edd commit 243dc75Copy full SHA for 243dc75
1 file changed
spec/system/framework/Security/CheckPhpIni.spec.php
@@ -15,10 +15,11 @@
15
16
describe('Security / CheckPhpIni', function (): void {
17
beforeAll(function(): void {
18
- $ini = ini_get_all();
+ $ini = ini_get_all();
19
+ $default = ['global_value' => 'disabled', 'local_value' => 'disabled'];
20
- $this->display_errors = $ini['display_errors'] ?? ['global_value' => 'disabled', 'local_value' => 'disabled'];
21
- $this->opcache = $ini['opcache'] ?? ['global_value' => 'disabled', 'local_value' => 'disabled'];
+ $this->display_errors = $ini['display_errors'] ?? $default;
22
+ $this->opcache = $ini['opcache.save_comments'] ?? $default;
23
});
24
25
it('Check ini', function (): void {
0 commit comments