diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1946b072..81db0c28 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,9 +6,9 @@ jobs: test: runs-on: ubuntu-latest strategy: - fail-fast: true + fail-fast: false matrix: - php: [ 8.1, 8.2, 8.3, 8.4 ] + php: [ 8.1, 8.2, 8.3, 8.4, 8.5 ] redis-version: [ 5, 6, 7, 8 ] name: P${{ matrix.php }} - Redis ${{ matrix.redis-version }} diff --git a/src/Prometheus/Storage/APCng.php b/src/Prometheus/Storage/APCng.php index b37cffb9..1e115fc7 100644 --- a/src/Prometheus/Storage/APCng.php +++ b/src/Prometheus/Storage/APCng.php @@ -825,7 +825,7 @@ private function decrementKeyWithValue(string $key, $val): void */ private function convertToIncrementalInteger($val): int { - return intval($val * $this->precisionMultiplier); + return @intval($val * $this->precisionMultiplier); } private function convertIncrementalIntegerToFloat(int $val): float