diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 13c24c0e..db24c3de 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -18,7 +18,7 @@ __DIR__ . '/LICENSE.md', License\Range::since( License\Year::fromString('2018'), - new \DateTimeZone('UTC'), + new DateTimeZone('UTC'), ), License\Holder::fromString('Andreas Möller'), License\Url::fromString('https://github.com/ergebnis/composer-normalize'), diff --git a/composer.json b/composer.json index 2e48379d..bb452c00 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "require-dev": { "composer/composer": "^2.6.6", "ergebnis/license": "^2.4.0", - "ergebnis/php-cs-fixer-config": "~6.17.0", + "ergebnis/php-cs-fixer-config": "~6.19.0", "ergebnis/phpunit-slow-test-detector": "^2.9.0", "fakerphp/faker": "^1.23.1", "infection/infection": "~0.27.9", diff --git a/composer.lock b/composer.lock index 41e84bae..fcd1869c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "12a74f3afe60e052a64be6fc94602620", + "content-hash": "c308f5c31d2a64735f73819e1d1df8dc", "packages": [ { "name": "ergebnis/json", @@ -1647,23 +1647,23 @@ }, { "name": "ergebnis/php-cs-fixer-config", - "version": "6.17.0", + "version": "6.19.0", "source": { "type": "git", "url": "https://github.com/ergebnis/php-cs-fixer-config.git", - "reference": "8189355c101621f216755c6cecbc01ee74176a99" + "reference": "2c268b13551fee83fbdbe8297150fe38b3598598" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/8189355c101621f216755c6cecbc01ee74176a99", - "reference": "8189355c101621f216755c6cecbc01ee74176a99", + "url": "https://api.github.com/repos/ergebnis/php-cs-fixer-config/zipball/2c268b13551fee83fbdbe8297150fe38b3598598", + "reference": "2c268b13551fee83fbdbe8297150fe38b3598598", "shasum": "" }, "require": { "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.1", "ext-filter": "*", - "friendsofphp/php-cs-fixer": "~3.45.0", - "kubawerlos/php-cs-fixer-custom-fixers": "~3.17.1", + "friendsofphp/php-cs-fixer": "~3.46.0", + "kubawerlos/php-cs-fixer-custom-fixers": "~3.18.0", "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { @@ -1672,7 +1672,7 @@ "ergebnis/license": "^2.4.0", "ergebnis/phpunit-slow-test-detector": "^2.9.0", "ergebnis/rector-rules": "~0.3.0", - "fakerphp/faker": "^1.23.0", + "fakerphp/faker": "^1.23.1", "infection/infection": "~0.26.6", "phpunit/phpunit": "^9.6.15", "psalm/plugin-phpunit": "~0.18.4", @@ -1711,7 +1711,7 @@ "security": "https://github.com/ergebnis/php-cs-fixer-config/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/php-cs-fixer-config" }, - "time": "2023-12-30T08:34:18+00:00" + "time": "2024-01-04T10:45:13+00:00" }, { "name": "ergebnis/phpunit-slow-test-detector", @@ -2069,21 +2069,22 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.45.0", + "version": "v3.46.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "c0daa33cb2533cd73f48dde1c70c2afa3e7953b5" + "reference": "be6831c9af1740470d2a773119b9273f8ac1c3d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/c0daa33cb2533cd73f48dde1c70c2afa3e7953b5", - "reference": "c0daa33cb2533cd73f48dde1c70c2afa3e7953b5", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/be6831c9af1740470d2a773119b9273f8ac1c3d2", + "reference": "be6831c9af1740470d2a773119b9273f8ac1c3d2", "shasum": "" }, "require": { "composer/semver": "^3.4", "composer/xdebug-handler": "^3.0.3", + "ext-filter": "*", "ext-json": "*", "ext-tokenizer": "*", "php": "^7.4 || ^8.0", @@ -2147,7 +2148,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.45.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.46.0" }, "funding": [ { @@ -2155,7 +2156,7 @@ "type": "github" } ], - "time": "2023-12-30T02:07:07+00:00" + "time": "2024-01-03T21:38:46+00:00" }, { "name": "infection/abstract-testframework-adapter", @@ -2516,16 +2517,16 @@ }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", - "version": "v3.17.1", + "version": "v3.18.0", "source": { "type": "git", "url": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers.git", - "reference": "1adfc79e5bd11ff713b1c2a512c382cc8fcff34e" + "reference": "e03b07a58e08133c92c9e7a5ccc69e1457f8c98d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kubawerlos/php-cs-fixer-custom-fixers/zipball/1adfc79e5bd11ff713b1c2a512c382cc8fcff34e", - "reference": "1adfc79e5bd11ff713b1c2a512c382cc8fcff34e", + "url": "https://api.github.com/repos/kubawerlos/php-cs-fixer-custom-fixers/zipball/e03b07a58e08133c92c9e7a5ccc69e1457f8c98d", + "reference": "e03b07a58e08133c92c9e7a5ccc69e1457f8c98d", "shasum": "" }, "require": { @@ -2556,9 +2557,9 @@ "description": "A set of custom fixers for PHP CS Fixer", "support": { "issues": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/issues", - "source": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/tree/v3.17.1" + "source": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/tree/v3.18.0" }, - "time": "2023-12-23T14:34:27+00:00" + "time": "2023-12-31T13:36:45+00:00" }, { "name": "myclabs/deep-copy", diff --git a/test/DataProvider/Command/NormalizeCommandProvider.php b/test/DataProvider/Command/NormalizeCommandProvider.php index 31b8b35c..e216809b 100644 --- a/test/DataProvider/Command/NormalizeCommandProvider.php +++ b/test/DataProvider/Command/NormalizeCommandProvider.php @@ -41,7 +41,7 @@ public static function commandInvocationAndInvalidIndentSize(): \Generator $numberGreaterThanZero = $faker->numberBetween(1); - /** @var array $indentSizes */ + /** @var array $indentSizes */ $indentSizes = [ 'string-arbitrary' => $faker->sentence(), 'integer-zero-casted-to-string' => (string) 0, @@ -69,7 +69,7 @@ public static function commandInvocationAndInvalidIndentSize(): \Generator */ public static function commandInvocationIndentSizeAndIndentStyle(): \Generator { - /** @var array $indentSizes */ + /** @var list $indentSizes */ $indentSizes = [ 1, self::faker()->numberBetween(2, 4),