We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c47952 commit 2d00b57Copy full SHA for 2d00b57
Tests/Util/GitRepositoryTest.php
@@ -54,7 +54,7 @@ public function testItClonesTheRepository()
54
$this->assertDirectoryExists($this->targetDir.'/.git');
55
$this->assertSame($this->targetDir, $git->getPath());
56
$this->assertSame(self::REPO_URL, $git->getUrl());
57
- $this->assertRegExp('#^[0-9a-z]{40}$#', $git->getLastCommitHash());
+ $this->assertMatchesRegularExpression('#^[0-9a-z]{40}$#', $git->getLastCommitHash());
58
$this->assertNotEmpty($git->getLastAuthor());
59
$this->assertInstanceOf('DateTime', $git->getLastAuthoredDate());
60
$this->assertStringMatchesFormat('v%s', $git->getLastTag());
0 commit comments