Skip to content

Commit ac031dd

Browse files
Merge branch '4.1'
* 4.1: [Config] minor fix that removes a PHP 7.3 deprecation [Translation] fix perf of lint:xliff command
2 parents 0dc5ce3 + fa21826 commit ac031dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Command/XliffLintCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ private function validate($content, $file = null)
134134

135135
foreach (XliffUtils::validateSchema($document) as $xmlError) {
136136
$errors[] = array(
137-
'line' => $xmlError['line'],
138-
'column' => $xmlError['column'],
139-
'message' => $xmlError['message'],
140-
);
137+
'line' => $xmlError['line'],
138+
'column' => $xmlError['column'],
139+
'message' => $xmlError['message'],
140+
);
141141
}
142142

143143
return array('file' => $file, 'valid' => 0 === \count($errors), 'messages' => $errors);

0 commit comments

Comments
 (0)