Skip to content

Commit

Permalink
Fix XmlLintTask error handler (#1599)
Browse files Browse the repository at this point in the history
  • Loading branch information
jawira authored May 14, 2021
1 parent 83bb2b0 commit 2376a82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Phing/Task/System/XmlLintTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,8 @@ public function main()
* @param string $message
* @param string $file
* @param int $line
* @param mixed $context
*/
public function errorHandler($level, $message, $file, $line, $context): void
public function errorHandler($level, $message, $file, $line): void
{
$matches = [];
preg_match('/^.*\(\): (.*)$/', $message, $matches);
Expand Down

0 comments on commit 2376a82

Please sign in to comment.