Skip to content

Commit 5f87178

Browse files
committed
fix PHP 5.3 compat
1 parent fb52c9c commit 5f87178

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
/tests/fixtures/**/vendor/
66
/tests/test-git/
77
/coverage/
8+
/.phpunit.result.cache

tests/PluginTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ class PluginTest extends TestCase
1111
{
1212
public function testPlugin()
1313
{
14-
$composer = $this->createMock('Composer\Composer');
15-
$io = $this->createMock('Composer\IO\IOInterface');
14+
$composer = $this->getMockBuilder('Composer\Composer')->getMock();
15+
$io = $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
1616

1717
$plugin = new Plugin();
1818
$plugin->activate($composer, $io);

0 commit comments

Comments
 (0)