Skip to content

Commit bcc7960

Browse files
authored
chore: upgrade PHP CS Fixer (#20)
1 parent 2c55d31 commit bcc7960

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: dev-tools/composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"ergebnis/composer-normalize": "*",
77
"maglnet/composer-require-checker": "^3.8",
88
"mi-schi/phpmd-extension": "^4.3",
9-
"php-cs-fixer/shim": "^3.49.0",
10-
"phpmd/phpmd": "^2.13"
9+
"php-cs-fixer/shim": "^3.68.5",
10+
"phpmd/phpmd": "^2.15"
1111
},
1212
"config": {
1313
"allow-plugins": {

Diff for: tests/Constraint/IsIdenticalStringTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ public function testSameStringsConstraintFail()
2828
);
2929
if (\is_callable([$this, 'expectExceptionMessageMatches'])) {
3030
$this->expectExceptionMessageMatches(
31-
'#^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$#'
31+
'#^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$#'
3232
);
3333
} else {
3434
$this->expectExceptionMessageRegExp(
35-
'#^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$#'
35+
'#^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$#'
3636
);
3737
}
3838

0 commit comments

Comments
 (0)