Skip to content

Commit

Permalink
stop using deprecated PHPUnit APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Aug 17, 2020
1 parent c3a7761 commit e06e21e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Command/LintCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function testLintCorrectFiles()
$ret = $tester->execute(['filename' => [$filename1, $filename2]], ['verbosity' => OutputInterface::VERBOSITY_VERBOSE, 'decorated' => false]);

$this->assertEquals(0, $ret, 'Returns 0 in case of success');
$this->assertRegExp('/^\/\/ OK in /', trim($tester->getDisplay()));
$this->assertMatchesRegularExpression('/^\/\/ OK in /', trim($tester->getDisplay()));
}

public function testLintIncorrectFile()
Expand Down

0 comments on commit e06e21e

Please sign in to comment.