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$#' ); }