From b5adcb16c8186de9cf4bf772bf5a6dcb62679481 Mon Sep 17 00:00:00 2001 From: Dariusz Ruminski <dariusz.ruminski@gmail.com> Date: Sun, 9 Feb 2025 22:56:47 +0100 Subject: [PATCH] chore: upgrade PHP CS Fixer --- dev-tools/composer.json | 4 ++-- tests/Constraint/IsIdenticalStringTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-tools/composer.json b/dev-tools/composer.json index 37ad8e7..ce71027 100644 --- a/dev-tools/composer.json +++ b/dev-tools/composer.json @@ -6,8 +6,8 @@ "ergebnis/composer-normalize": "*", "maglnet/composer-require-checker": "^3.8", "mi-schi/phpmd-extension": "^4.3", - "php-cs-fixer/shim": "^3.49.0", - "phpmd/phpmd": "^2.13" + "php-cs-fixer/shim": "^3.68.5", + "phpmd/phpmd": "^2.15" }, "config": { "allow-plugins": { diff --git a/tests/Constraint/IsIdenticalStringTest.php b/tests/Constraint/IsIdenticalStringTest.php index 5d743f6..15cde28 100644 --- a/tests/Constraint/IsIdenticalStringTest.php +++ b/tests/Constraint/IsIdenticalStringTest.php @@ -28,11 +28,11 @@ public function testSameStringsConstraintFail() ); if (\is_callable([$this, 'expectExceptionMessageMatches'])) { $this->expectExceptionMessageMatches( - '#^Failed asserting that two strings are identical\.[\n] \#Warning\: Strings contain different line endings\! Debug using remapping \["\\\\r" => "R", "\\\\n" => "N", "\\\\t" => "T"\]\:\n \-N\n \+RN$#' + '#^Failed asserting that two strings are identical\.[\n] \#Warning\: Strings contain different line endings\! Debug using remapping \["\\\r" => "R", "\\\n" => "N", "\\\t" => "T"\]\:\n \-N\n \+RN$#' ); } else { $this->expectExceptionMessageRegExp( - '#^Failed asserting that two strings are identical\.[\n] \#Warning\: Strings contain different line endings\! Debug using remapping \["\\\\r" => "R", "\\\\n" => "N", "\\\\t" => "T"\]\:\n \-N\n \+RN$#' + '#^Failed asserting that two strings are identical\.[\n] \#Warning\: Strings contain different line endings\! Debug using remapping \["\\\r" => "R", "\\\n" => "N", "\\\t" => "T"\]\:\n \-N\n \+RN$#' ); }