소스 검색

PHP 5.3 this/that compatibility

Nils Adermann 10 년 전
부모
커밋
67f10c1601
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/Composer/Test/Repository/ComposerRepositoryTest.php

+ 1 - 1
tests/Composer/Test/Repository/ComposerRepositoryTest.php

@@ -148,7 +148,7 @@ class ComposerRepositoryTest extends TestCase
 
         $that = $this;
         $packages = $repo->loadRecursively(array('a'), function ($name, $stability) use ($that) {
-            $this->assertEquals('a', $name);
+            $that->assertEquals('a', $name);
             return true;
         });