diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-02-14 21:23:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-14 21:23:42 +0100 |
commit | ea3fa78a854cd73f93950fa1a6643abbd81de429 (patch) | |
tree | d42f1faa8692095947c072e03cdb748fb51b71c7 /tests | |
parent | fc39b2854983c912fb483f1d0d9c214fbf023108 (diff) | |
parent | 843066b708c550f610073330c6e75093351e8667 (diff) | |
download | nextcloud-server-ea3fa78a854cd73f93950fa1a6643abbd81de429.tar.gz nextcloud-server-ea3fa78a854cd73f93950fa1a6643abbd81de429.zip |
Merge pull request #14167 from nextcloud/techdebt/noid/update-php-parser-for-7.1-compat
Update PHP-Parser for 7.1 compatibility
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Command/AsyncBusTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Command/AsyncBusTest.php b/tests/lib/Command/AsyncBusTest.php index da168d66e6d..8f07738bec6 100644 --- a/tests/lib/Command/AsyncBusTest.php +++ b/tests/lib/Command/AsyncBusTest.php @@ -136,7 +136,7 @@ abstract class AsyncBusTest extends TestCase { public function testClosureSelf() { $this->getBus()->push(function () { - self::$lastCommand = 'closure-self'; + AsyncBusTest::$lastCommand = 'closure-self'; }); $this->runJobs(); $this->assertEquals('closure-self', self::$lastCommand); @@ -154,7 +154,7 @@ abstract class AsyncBusTest extends TestCase { public function testClosureBind() { $state = 'bar'; $this->getBus()->push(function () use ($state) { - self::$lastCommand = 'closure-' . $state; + AsyncBusTest::$lastCommand = 'closure-' . $state; }); $this->runJobs(); $this->assertEquals('closure-bar', self::$lastCommand); |