1
0
Fork 0
mirror of https://github.com/Findus23/matomo-DiagnosticsExtended.git synced 2024-09-19 16:03:46 +02:00

0.1.5: fix opcache_get_status() warning

This commit is contained in:
Lukas Winkler 2021-05-17 13:21:55 +02:00
parent ac489883f2
commit addeff712a
Signed by: lukas
GPG key ID: 54DE4D798D244853
3 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,9 @@
## Changelog ## Changelog
### 0.1.5
fix a warning when `opcache_get_status()` is not allowed
### 0.1.4 ### 0.1.4
fix the repository URL fix the repository URL

View file

@ -48,7 +48,7 @@ class OpcacheCheck implements Diagnostic
)); ));
return [$result]; return [$result];
} else { } else {
$status = opcache_get_status(); $status = @opcache_get_status();
$memoryUsage = $status["memory_usage"]; $memoryUsage = $status["memory_usage"];
$interned = $status["interned_strings_usage"]; $interned = $status["interned_strings_usage"];
$statistics = $status["opcache_statistics"]; $statistics = $status["opcache_statistics"];

View file

@ -1,7 +1,7 @@
{ {
"name": "DiagnosticsExtended", "name": "DiagnosticsExtended",
"description": "Additional checks for the System Check", "description": "Additional checks for the System Check",
"version": "0.1.4", "version": "0.1.5",
"theme": false, "theme": false,
"require": { "require": {
"matomo": ">=4.2.0,<5.0.0-b1" "matomo": ">=4.2.0,<5.0.0-b1"