Skip to content

Commit e06e21e

Browse files
committed
stop using deprecated PHPUnit APIs
1 parent c3a7761 commit e06e21e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Command/LintCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testLintCorrectFiles()
4646
$ret = $tester->execute(['filename' => [$filename1, $filename2]], ['verbosity' => OutputInterface::VERBOSITY_VERBOSE, 'decorated' => false]);
4747

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

5252
public function testLintIncorrectFile()

0 commit comments

Comments
 (0)