From aeb069805100db384119283a38395e709ec8a3d5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 21 Jan 2024 16:42:40 +0000 Subject: [PATCH] Update Composer QA tooling dependencies (#172) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Martin Georgiev --- ci/php-cs-fixer/config.php | 7 +++++-- composer.json | 4 ++-- tests/MartinGeorgiev/Doctrine/DBAL/Types/TextArrayTest.php | 6 ++---- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/ci/php-cs-fixer/config.php b/ci/php-cs-fixer/config.php index 4ce66643..4b906225 100644 --- a/ci/php-cs-fixer/config.php +++ b/ci/php-cs-fixer/config.php @@ -2,14 +2,17 @@ declare(strict_types=1); +use PhpCsFixer\Config; +use PhpCsFixer\Finder; + $basePath = __DIR__.'/../../'; -$finder = PhpCsFixer\Finder::create() +$finder = Finder::create() ->in($basePath.'ci') ->in($basePath.'src') ->in($basePath.'tests'); -$config = new PhpCsFixer\Config(); +$config = new Config(); return $config ->setRules( diff --git a/composer.json b/composer.json index 227ec147..43aeb344 100644 --- a/composer.json +++ b/composer.json @@ -46,11 +46,11 @@ "doctrine/annotations": "^2.0", "doctrine/orm": "~2.5||~3.0", "ekino/phpstan-banned-code": "^1.0", - "friendsofphp/php-cs-fixer": "^3.46.0", + "friendsofphp/php-cs-fixer": "^3.48.0", "php-coveralls/php-coveralls": "^2.7.0", "phpstan/phpstan": "^1.10.56", "phpstan/phpstan-phpunit": "^1.3.15", - "phpunit/phpunit": "^10.5.7", + "phpunit/phpunit": "^10.5.8", "qossmic/deptrac-shim": "^1.0.2", "rector/rector": "^0.19", "symfony/cache": "^6.4||^7.0" diff --git a/tests/MartinGeorgiev/Doctrine/DBAL/Types/TextArrayTest.php b/tests/MartinGeorgiev/Doctrine/DBAL/Types/TextArrayTest.php index 663e8126..97bc3695 100644 --- a/tests/MartinGeorgiev/Doctrine/DBAL/Types/TextArrayTest.php +++ b/tests/MartinGeorgiev/Doctrine/DBAL/Types/TextArrayTest.php @@ -51,15 +51,13 @@ public static function provideValidTransformations(): array 'and some here', <<<'END' ''"quotes"'' ain't no """worry""", '''right''' Alexander O'Vechkin? -END - , +END, 'back-slashing\double-slashing\\\hooking though', 'and "double-quotes"', ], 'postgresValue' => <<<'END' {1,2,"text","some text here","and some here","''\"quotes\"'' ain't no \"\"\"worry\"\"\", '''right''' Alexander O'Vechkin?","back-slashing\\double-slashing\\\\hooking though","and \"double-quotes\""} -END - , +END, ], ]; }