Created
December 18, 2015 01:37
-
-
Save nojimage/1abf583e1e677081bc63 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class SampleTest extends CakeTestCase | |
{ | |
public function testSomething() | |
{ | |
$this->// ここで補完 | |
} | |
} |
PHPUnit_Framework_Assertのメソッドはスタティックで定義されているため、
「オプション」>「エディタ」>「コード補完」>「PHP」>「->の後の静的メソッドも同様」にチェックで補完されるようになる。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
環境は NetBeans 8.0.2 ですが、7系のころからこの現象には悩んでいたり。