From 07960075c9e063cf5f4493042ada96d468ecdae6 Mon Sep 17 00:00:00 2001 From: Michael Garifullin Date: Thu, 12 May 2022 12:31:23 +0100 Subject: [PATCH] Fix phpCs and min required version (#34) Co-authored-by: Michael Garifullin --- composer.json | 2 +- src/M6Web/Component/Statsd/Client.php | 2 ++ src/M6Web/Component/Statsd/Exception.php | 2 ++ src/M6Web/Component/Statsd/MessageEntity.php | 2 ++ .../Statsd/MessageFormatter/DogStatsDMessageFormatter.php | 2 ++ .../Statsd/MessageFormatter/InfluxDBStatsDMessageFormatter.php | 2 ++ .../Statsd/MessageFormatter/MessageFormatterInterface.php | 2 ++ src/M6Web/Component/Tests/Units/Client.php | 2 ++ src/M6Web/Component/Tests/Units/MessageEntity.php | 2 ++ .../Tests/Units/MessageFormatter/DogStatsDMessageFormatter.php | 2 ++ .../Units/MessageFormatter/InfluxDBStatsDMessageFormatter.php | 2 ++ 11 files changed, 21 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 729f06d..36653a3 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ }, "minimum-stability" : "dev", "require": { - "php": ">=5.4.0" + "php": ">=7.1" }, "require-dev": { "atoum/atoum": "^2.8|^3.0", diff --git a/src/M6Web/Component/Statsd/Client.php b/src/M6Web/Component/Statsd/Client.php index e8bbe3d..e3b8d4f 100644 --- a/src/M6Web/Component/Statsd/Client.php +++ b/src/M6Web/Component/Statsd/Client.php @@ -1,4 +1,6 @@