Skip to content

Commit 0796007

Browse files
bullderMichael Garifullin
and
Michael Garifullin
authored
Fix phpCs and min required version (#34)
Co-authored-by: Michael Garifullin <[email protected]>
1 parent 2ccf892 commit 0796007

11 files changed

+21
-1
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"minimum-stability" : "dev",
1111
"require": {
12-
"php": ">=5.4.0"
12+
"php": ">=7.1"
1313
},
1414
"require-dev": {
1515
"atoum/atoum": "^2.8|^3.0",

src/M6Web/Component/Statsd/Client.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
3+
declare(strict_types=1);
24
/**
35
* class sending udp packets to statsd
46
*/

src/M6Web/Component/Statsd/Exception.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
3+
declare(strict_types=1);
24
/**
35
* Statsd exception
46
*/

src/M6Web/Component/Statsd/MessageEntity.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace M6Web\Component\Statsd;
46

57
/**

src/M6Web/Component/Statsd/MessageFormatter/DogStatsDMessageFormatter.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace M6Web\Component\Statsd\MessageFormatter;
46

57
use M6Web\Component\Statsd\MessageEntity;

src/M6Web/Component/Statsd/MessageFormatter/InfluxDBStatsDMessageFormatter.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace M6Web\Component\Statsd\MessageFormatter;
46

57
use M6Web\Component\Statsd\MessageEntity;

src/M6Web/Component/Statsd/MessageFormatter/MessageFormatterInterface.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace M6Web\Component\Statsd\MessageFormatter;
46

57
use M6Web\Component\Statsd\MessageEntity;

src/M6Web/Component/Tests/Units/Client.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace M6Web\Component\Statsd\Tests\Units;
46

57
use M6Web\Component\Statsd;

src/M6Web/Component/Tests/Units/MessageEntity.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace M6Web\Component\Statsd\Tests\Units;
46

57
use M6Web\Component\Statsd;

src/M6Web/Component/Tests/Units/MessageFormatter/DogStatsDMessageFormatter.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace M6Web\Component\Statsd\Tests\Units\MessageFormatter;
46

57
use M6Web\Component\Statsd;

src/M6Web/Component/Tests/Units/MessageFormatter/InfluxDBStatsDMessageFormatter.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace M6Web\Component\Statsd\Tests\Units\MessageFormatter;
46

57
use M6Web\Component\Statsd;

0 commit comments

Comments
 (0)