File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1010 ],
1111 "require" : {
1212 "php" : " ^8.1" ,
13- "doctrine/data-fixtures" : " ^1.2" ,
13+ "doctrine/data-fixtures" : " ^1.2 || ^2.0 " ,
1414 "symfony/browser-kit" : " ^6.4 || ^7.0 || ^8.0"
1515 },
1616 "require-dev" : {
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ public function count(): int
5757
5858 public function toString (): string
5959 {
60+ return 'schema-accepts-xml ' ;
6061 }
6162
6263 protected function failureDescription ($ schemaFile ): string
@@ -75,7 +76,7 @@ protected function additionalFailureDescription($schema): string
7576 $ error = trim ($ error ->message ).($ error ->file ? ' in ' .$ error ->file : '' ).' on line ' .$ error ->line ."\n" ;
7677
7778 // avoid repeating same error
78- if (false === strpos ($ str , $ error )) {
79+ if (! str_contains ($ str , $ error )) {
7980 $ str .= $ error ;
8081 }
8182 }
You can’t perform that action at this time.
0 commit comments