From 5d46811f9d9e17d766b594d5b48448f8d148aa6a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Jul 2025 06:59:12 +0000 Subject: [PATCH 1/2] chore(deps-dev): bump friendsofphp/php-cs-fixer from 3.76.0 to 3.82.0 Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.76.0 to 3.82.0. - [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.76.0...v3.82.0) --- updated-dependencies: - dependency-name: friendsofphp/php-cs-fixer dependency-version: 3.82.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 0e271de..c0bdaaa 100644 --- a/composer.lock +++ b/composer.lock @@ -407,16 +407,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.76.0", + "version": "v3.82.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "0e3c484cef0ae9314b0f85986a36296087432c40" + "reference": "db2a44dc899d40f20609f0ea53e952c64c028968" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/0e3c484cef0ae9314b0f85986a36296087432c40", - "reference": "0e3c484cef0ae9314b0f85986a36296087432c40", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/db2a44dc899d40f20609f0ea53e952c64c028968", + "reference": "db2a44dc899d40f20609f0ea53e952c64c028968", "shasum": "" }, "require": { @@ -500,7 +500,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.76.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.82.0" }, "funding": [ { @@ -508,7 +508,7 @@ "type": "github" } ], - "time": "2025-06-30T14:15:06+00:00" + "time": "2025-07-07T22:38:13+00:00" }, { "name": "myclabs/deep-copy", From 9e89367af318c5f0c5857054aab8c3ea89eea2df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rancoud?= Date: Tue, 8 Jul 2025 23:40:39 +0200 Subject: [PATCH 2/2] fix lint --- tests/AbstractCounter.php | 4 ++-- tests/AbstractGauge.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/AbstractCounter.php b/tests/AbstractCounter.php index 6d8b9f2..1381e16 100644 --- a/tests/AbstractCounter.php +++ b/tests/AbstractCounter.php @@ -19,7 +19,7 @@ abstract class AbstractCounter extends TestCase { protected Adapter $storage; - public static function provideIncrementDataCases(): iterable + public static function provideIncDataCases(): iterable { yield 'OK - 2 labels + help' => [ 'name' => 'my_metric', @@ -114,7 +114,7 @@ public static function provideIncrementDataCases(): iterable * @throws CollectorException * @throws DescriptorException */ - #[DataProvider('provideIncrementDataCases')] + #[DataProvider('provideIncDataCases')] public function testInc(string $name, array $labels, string $help, array $values, array $labelValues, ?string $error, array $plaintexts): void { if ($error !== null) { diff --git a/tests/AbstractGauge.php b/tests/AbstractGauge.php index 9660f89..50d3064 100644 --- a/tests/AbstractGauge.php +++ b/tests/AbstractGauge.php @@ -19,7 +19,7 @@ abstract class AbstractGauge extends TestCase { protected Adapter $storage; - public static function provideIncrementDataCases(): iterable + public static function provideIncDataCases(): iterable { yield 'OK - 2 labels + help' => [ 'name' => 'my_metric', @@ -93,7 +93,7 @@ public static function provideIncrementDataCases(): iterable * @throws CollectorException * @throws DescriptorException */ - #[DataProvider('provideIncrementDataCases')] + #[DataProvider('provideIncDataCases')] public function testInc(string $name, array $labels, string $help, array $values, array $labelValues, ?string $error, array $plaintexts): void { if ($error !== null) { @@ -117,7 +117,7 @@ public function testInc(string $name, array $labels, string $help, array $values } } - public static function provideDecrementDataCases(): iterable + public static function provideDecDataCases(): iterable { yield 'OK' => [ 'name' => 'my_metric', @@ -156,7 +156,7 @@ public static function provideDecrementDataCases(): iterable * @throws CollectorException * @throws DescriptorException */ - #[DataProvider('provideDecrementDataCases')] + #[DataProvider('provideDecDataCases')] public function testDec(string $name, array $labels, string $help, array $values, array $labelValues, ?string $error, array $plaintexts): void { if ($error !== null) {