From 6285fc4074ca8708fe74ef2078966136fd372f25 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Mar 2026 07:10:17 +0000 Subject: [PATCH 1/2] chore(deps-dev): bump friendsofphp/php-cs-fixer from 3.93.1 to 3.94.2 Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.93.1 to 3.94.2. - [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases) - [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md) - [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.93.1...v3.94.2) --- updated-dependencies: - dependency-name: friendsofphp/php-cs-fixer dependency-version: 3.94.2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.lock | 82 +++++++++++++++++++++++++-------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/composer.lock b/composer.lock index 5596ee6..eaa37a1 100644 --- a/composer.lock +++ b/composer.lock @@ -403,16 +403,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.93.1", + "version": "v3.94.2", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "b3546ab487c0762c39f308dc1ec0ea2c461fc21a" + "reference": "7787ceff91365ba7d623ec410b8f429cdebb4f63" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/b3546ab487c0762c39f308dc1ec0ea2c461fc21a", - "reference": "b3546ab487c0762c39f308dc1ec0ea2c461fc21a", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/7787ceff91365ba7d623ec410b8f429cdebb4f63", + "reference": "7787ceff91365ba7d623ec410b8f429cdebb4f63", "shasum": "" }, "require": { @@ -429,7 +429,7 @@ "react/event-loop": "^1.5", "react/socket": "^1.16", "react/stream": "^1.4", - "sebastian/diff": "^4.0.6 || ^5.1.1 || ^6.0.2 || ^7.0", + "sebastian/diff": "^4.0.6 || ^5.1.1 || ^6.0.2 || ^7.0 || ^8.0", "symfony/console": "^5.4.47 || ^6.4.24 || ^7.0 || ^8.0", "symfony/event-dispatcher": "^5.4.45 || ^6.4.24 || ^7.0 || ^8.0", "symfony/filesystem": "^5.4.45 || ^6.4.24 || ^7.0 || ^8.0", @@ -443,18 +443,18 @@ "symfony/stopwatch": "^5.4.45 || ^6.4.24 || ^7.0 || ^8.0" }, "require-dev": { - "facile-it/paraunit": "^1.3.1 || ^2.7", - "infection/infection": "^0.32", - "justinrainbow/json-schema": "^6.6", + "facile-it/paraunit": "^1.3.1 || ^2.7.1", + "infection/infection": "^0.32.3", + "justinrainbow/json-schema": "^6.6.4", "keradus/cli-executor": "^2.3", "mikey179/vfsstream": "^1.6.12", - "php-coveralls/php-coveralls": "^2.9", - "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.6", - "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.6", - "phpunit/phpunit": "^9.6.31 || ^10.5.60 || ^11.5.48", + "php-coveralls/php-coveralls": "^2.9.1", + "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.7", + "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.7", + "phpunit/phpunit": "^9.6.34 || ^10.5.63 || ^11.5.51", "symfony/polyfill-php85": "^1.33", - "symfony/var-dumper": "^5.4.48 || ^6.4.26 || ^7.4.0 || ^8.0", - "symfony/yaml": "^5.4.45 || ^6.4.30 || ^7.4.1 || ^8.0" + "symfony/var-dumper": "^5.4.48 || ^6.4.32 || ^7.4.4 || ^8.0.4", + "symfony/yaml": "^5.4.45 || ^6.4.30 || ^7.4.1 || ^8.0.1" }, "suggest": { "ext-dom": "For handling output formats in XML", @@ -495,7 +495,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.93.1" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.94.2" }, "funding": [ { @@ -503,7 +503,7 @@ "type": "github" } ], - "time": "2026-01-28T23:50:50+00:00" + "time": "2026-02-20T16:13:53+00:00" }, { "name": "myclabs/deep-copy", @@ -2860,16 +2860,16 @@ }, { "name": "symfony/console", - "version": "v8.0.4", + "version": "v8.0.7", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "ace03c4cf9805080ff40cbeec69fca180c339a3b" + "reference": "15ed9008a4ebe2d6a78e4937f74e0c13ef2e618a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/ace03c4cf9805080ff40cbeec69fca180c339a3b", - "reference": "ace03c4cf9805080ff40cbeec69fca180c339a3b", + "url": "https://api.github.com/repos/symfony/console/zipball/15ed9008a4ebe2d6a78e4937f74e0c13ef2e618a", + "reference": "15ed9008a4ebe2d6a78e4937f74e0c13ef2e618a", "shasum": "" }, "require": { @@ -2926,7 +2926,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v8.0.4" + "source": "https://github.com/symfony/console/tree/v8.0.7" }, "funding": [ { @@ -2946,7 +2946,7 @@ "type": "tidelift" } ], - "time": "2026-01-13T13:06:50+00:00" + "time": "2026-03-06T14:06:22+00:00" }, { "name": "symfony/deprecation-contracts", @@ -3178,16 +3178,16 @@ }, { "name": "symfony/filesystem", - "version": "v8.0.1", + "version": "v8.0.6", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "d937d400b980523dc9ee946bb69972b5e619058d" + "reference": "7bf9162d7a0dff98d079b72948508fa48018a770" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/d937d400b980523dc9ee946bb69972b5e619058d", - "reference": "d937d400b980523dc9ee946bb69972b5e619058d", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/7bf9162d7a0dff98d079b72948508fa48018a770", + "reference": "7bf9162d7a0dff98d079b72948508fa48018a770", "shasum": "" }, "require": { @@ -3224,7 +3224,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v8.0.1" + "source": "https://github.com/symfony/filesystem/tree/v8.0.6" }, "funding": [ { @@ -3244,20 +3244,20 @@ "type": "tidelift" } ], - "time": "2025-12-01T09:13:36+00:00" + "time": "2026-02-25T16:59:43+00:00" }, { "name": "symfony/finder", - "version": "v8.0.5", + "version": "v8.0.6", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "8bd576e97c67d45941365bf824e18dc8538e6eb0" + "reference": "441404f09a54de6d1bd6ad219e088cdf4c91f97c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/8bd576e97c67d45941365bf824e18dc8538e6eb0", - "reference": "8bd576e97c67d45941365bf824e18dc8538e6eb0", + "url": "https://api.github.com/repos/symfony/finder/zipball/441404f09a54de6d1bd6ad219e088cdf4c91f97c", + "reference": "441404f09a54de6d1bd6ad219e088cdf4c91f97c", "shasum": "" }, "require": { @@ -3292,7 +3292,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v8.0.5" + "source": "https://github.com/symfony/finder/tree/v8.0.6" }, "funding": [ { @@ -3312,7 +3312,7 @@ "type": "tidelift" } ], - "time": "2026-01-26T15:08:38+00:00" + "time": "2026-01-29T09:41:02+00:00" }, { "name": "symfony/options-resolver", @@ -4184,16 +4184,16 @@ }, { "name": "symfony/string", - "version": "v8.0.4", + "version": "v8.0.6", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "758b372d6882506821ed666032e43020c4f57194" + "reference": "6c9e1108041b5dce21a9a4984b531c4923aa9ec4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/758b372d6882506821ed666032e43020c4f57194", - "reference": "758b372d6882506821ed666032e43020c4f57194", + "url": "https://api.github.com/repos/symfony/string/zipball/6c9e1108041b5dce21a9a4984b531c4923aa9ec4", + "reference": "6c9e1108041b5dce21a9a4984b531c4923aa9ec4", "shasum": "" }, "require": { @@ -4250,7 +4250,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v8.0.4" + "source": "https://github.com/symfony/string/tree/v8.0.6" }, "funding": [ { @@ -4270,7 +4270,7 @@ "type": "tidelift" } ], - "time": "2026-01-12T12:37:40+00:00" + "time": "2026-02-09T10:14:57+00:00" }, { "name": "theseer/tokenizer", @@ -4333,5 +4333,5 @@ "ext-json": "*" }, "platform-dev": {}, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.9.0" } From fad2a011cbd3836b577295c9c9be3233bc1926b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rancoud?= Date: Sun, 15 Mar 2026 09:44:37 +0100 Subject: [PATCH 2/2] update lint --- src/Storage/Operation.php | 4 +++- tests/AbstractCounter.php | 4 +++- tests/AbstractGauge.php | 4 +++- tests/AbstractHistogram.php | 4 +++- tests/AbstractRegistry.php | 4 +++- tests/AbstractSummary.php | 4 +++- tests/DescriptorTest.php | 4 +++- tests/InMemory/CounterTest.php | 4 +++- tests/InMemory/GaugeTest.php | 4 +++- tests/InMemory/HistogramTest.php | 4 +++- tests/InMemory/InMemoryTest.php | 4 +++- tests/InMemory/RegistryTest.php | 4 +++- tests/InMemory/SummaryTest.php | 4 +++- tests/SQLite/CounterTest.php | 4 +++- tests/SQLite/GaugeTest.php | 4 +++- tests/SQLite/HistogramTest.php | 4 +++- tests/SQLite/RegistryTest.php | 4 +++- tests/SQLite/SQLiteTest.php | 4 +++- tests/SQLite/SummaryTest.php | 4 +++- 19 files changed, 57 insertions(+), 19 deletions(-) diff --git a/src/Storage/Operation.php b/src/Storage/Operation.php index c91a3b5..5834b88 100644 --- a/src/Storage/Operation.php +++ b/src/Storage/Operation.php @@ -4,7 +4,9 @@ namespace Rancoud\Prometheus\Storage; -/** Used by Gauge. */ +/** + * Used by Gauge. + */ enum Operation { case Set; diff --git a/tests/AbstractCounter.php b/tests/AbstractCounter.php index 1381e16..324a6c6 100644 --- a/tests/AbstractCounter.php +++ b/tests/AbstractCounter.php @@ -14,7 +14,9 @@ use Rancoud\Prometheus\Exception\DescriptorException; use Rancoud\Prometheus\Storage\Adapter; -/** @internal */ +/** + * @internal + */ abstract class AbstractCounter extends TestCase { protected Adapter $storage; diff --git a/tests/AbstractGauge.php b/tests/AbstractGauge.php index 50d3064..dc4a78b 100644 --- a/tests/AbstractGauge.php +++ b/tests/AbstractGauge.php @@ -14,7 +14,9 @@ use Rancoud\Prometheus\Gauge; use Rancoud\Prometheus\Storage\Adapter; -/** @internal */ +/** + * @internal + */ abstract class AbstractGauge extends TestCase { protected Adapter $storage; diff --git a/tests/AbstractHistogram.php b/tests/AbstractHistogram.php index 664af0c..713a777 100644 --- a/tests/AbstractHistogram.php +++ b/tests/AbstractHistogram.php @@ -14,7 +14,9 @@ use Rancoud\Prometheus\Histogram; use Rancoud\Prometheus\Storage\Adapter; -/** @internal */ +/** + * @internal + */ abstract class AbstractHistogram extends TestCase { protected Adapter $storage; diff --git a/tests/AbstractRegistry.php b/tests/AbstractRegistry.php index 8cfabf3..5dff51f 100644 --- a/tests/AbstractRegistry.php +++ b/tests/AbstractRegistry.php @@ -14,7 +14,9 @@ use Rancoud\Prometheus\Storage\Adapter; use Rancoud\Prometheus\Summary; -/** @internal */ +/** + * @internal + */ abstract class AbstractRegistry extends TestCase { protected Adapter $storage; diff --git a/tests/AbstractSummary.php b/tests/AbstractSummary.php index 80b4eaa..f6bcfa3 100644 --- a/tests/AbstractSummary.php +++ b/tests/AbstractSummary.php @@ -14,7 +14,9 @@ use Rancoud\Prometheus\Storage\Adapter; use Rancoud\Prometheus\Summary; -/** @internal */ +/** + * @internal + */ abstract class AbstractSummary extends TestCase { protected Adapter $storage; diff --git a/tests/DescriptorTest.php b/tests/DescriptorTest.php index a4c1966..b9eca9e 100644 --- a/tests/DescriptorTest.php +++ b/tests/DescriptorTest.php @@ -9,7 +9,9 @@ use Rancoud\Prometheus\Descriptor; use Rancoud\Prometheus\Exception\DescriptorException; -/** @internal */ +/** + * @internal + */ class DescriptorTest extends TestCase { // region Constructor diff --git a/tests/InMemory/CounterTest.php b/tests/InMemory/CounterTest.php index 2d2b18c..8f704af 100644 --- a/tests/InMemory/CounterTest.php +++ b/tests/InMemory/CounterTest.php @@ -7,7 +7,9 @@ use Rancoud\Prometheus\Storage\InMemory; use tests\AbstractCounter; -/** @internal */ +/** + * @internal + */ class CounterTest extends AbstractCounter { protected function setUp(): void diff --git a/tests/InMemory/GaugeTest.php b/tests/InMemory/GaugeTest.php index 406bd41..e7f789a 100644 --- a/tests/InMemory/GaugeTest.php +++ b/tests/InMemory/GaugeTest.php @@ -7,7 +7,9 @@ use Rancoud\Prometheus\Storage\InMemory; use tests\AbstractGauge; -/** @internal */ +/** + * @internal + */ class GaugeTest extends AbstractGauge { protected function setUp(): void diff --git a/tests/InMemory/HistogramTest.php b/tests/InMemory/HistogramTest.php index f911c9b..0bae808 100644 --- a/tests/InMemory/HistogramTest.php +++ b/tests/InMemory/HistogramTest.php @@ -7,7 +7,9 @@ use Rancoud\Prometheus\Storage\InMemory; use tests\AbstractHistogram; -/** @internal */ +/** + * @internal + */ class HistogramTest extends AbstractHistogram { protected function setUp(): void diff --git a/tests/InMemory/InMemoryTest.php b/tests/InMemory/InMemoryTest.php index 7033a34..0b606c4 100644 --- a/tests/InMemory/InMemoryTest.php +++ b/tests/InMemory/InMemoryTest.php @@ -10,7 +10,9 @@ use Rancoud\Prometheus\Storage\InMemory; use Rancoud\Prometheus\Storage\Operation; -/** @internal */ +/** + * @internal + */ class InMemoryTest extends TestCase { /** diff --git a/tests/InMemory/RegistryTest.php b/tests/InMemory/RegistryTest.php index 0176d62..490068c 100644 --- a/tests/InMemory/RegistryTest.php +++ b/tests/InMemory/RegistryTest.php @@ -7,7 +7,9 @@ use Rancoud\Prometheus\Storage\InMemory; use tests\AbstractRegistry; -/** @internal */ +/** + * @internal + */ class RegistryTest extends AbstractRegistry { protected function setUp(): void diff --git a/tests/InMemory/SummaryTest.php b/tests/InMemory/SummaryTest.php index 116cde5..336f97a 100644 --- a/tests/InMemory/SummaryTest.php +++ b/tests/InMemory/SummaryTest.php @@ -7,7 +7,9 @@ use Rancoud\Prometheus\Storage\InMemory; use tests\AbstractSummary; -/** @internal */ +/** + * @internal + */ class SummaryTest extends AbstractSummary { protected function setUp(): void diff --git a/tests/SQLite/CounterTest.php b/tests/SQLite/CounterTest.php index efa5681..4b49d84 100644 --- a/tests/SQLite/CounterTest.php +++ b/tests/SQLite/CounterTest.php @@ -11,7 +11,9 @@ use Rancoud\Prometheus\Storage\SQLite; use tests\AbstractCounter; -/** @internal */ +/** + * @internal + */ class CounterTest extends AbstractCounter { /** diff --git a/tests/SQLite/GaugeTest.php b/tests/SQLite/GaugeTest.php index a0d926f..bfa6194 100644 --- a/tests/SQLite/GaugeTest.php +++ b/tests/SQLite/GaugeTest.php @@ -11,7 +11,9 @@ use Rancoud\Prometheus\Storage\SQLite; use tests\AbstractGauge; -/** @internal */ +/** + * @internal + */ class GaugeTest extends AbstractGauge { /** diff --git a/tests/SQLite/HistogramTest.php b/tests/SQLite/HistogramTest.php index 788db08..a9ee1aa 100644 --- a/tests/SQLite/HistogramTest.php +++ b/tests/SQLite/HistogramTest.php @@ -11,7 +11,9 @@ use Rancoud\Prometheus\Storage\SQLite; use tests\AbstractHistogram; -/** @internal */ +/** + * @internal + */ class HistogramTest extends AbstractHistogram { /** diff --git a/tests/SQLite/RegistryTest.php b/tests/SQLite/RegistryTest.php index 0771c3f..b914b31 100644 --- a/tests/SQLite/RegistryTest.php +++ b/tests/SQLite/RegistryTest.php @@ -11,7 +11,9 @@ use Rancoud\Prometheus\Storage\SQLite; use tests\AbstractRegistry; -/** @internal */ +/** + * @internal + */ class RegistryTest extends AbstractRegistry { /** diff --git a/tests/SQLite/SQLiteTest.php b/tests/SQLite/SQLiteTest.php index 99c066a..979d272 100644 --- a/tests/SQLite/SQLiteTest.php +++ b/tests/SQLite/SQLiteTest.php @@ -14,7 +14,9 @@ use Rancoud\Prometheus\Storage\Operation; use Rancoud\Prometheus\Storage\SQLite; -/** @internal */ +/** + * @internal + */ class SQLiteTest extends TestCase { /** diff --git a/tests/SQLite/SummaryTest.php b/tests/SQLite/SummaryTest.php index f3dc2cb..6e227f1 100644 --- a/tests/SQLite/SummaryTest.php +++ b/tests/SQLite/SummaryTest.php @@ -11,7 +11,9 @@ use Rancoud\Prometheus\Storage\SQLite; use tests\AbstractSummary; -/** @internal */ +/** + * @internal + */ class SummaryTest extends AbstractSummary { /**