tools/scripts/phpunit-ls - Fix PhpStorm lookup of PHPUnit_Framework_TestCase
authorTim Otten <totten@civicrm.org>
Wed, 14 Dec 2016 00:11:33 +0000 (16:11 -0800)
committerTim Otten <totten@civicrm.org>
Wed, 14 Dec 2016 00:18:51 +0000 (16:18 -0800)
commit3e80ffc653a43aa09f64b275e86540b0bc556e06
tree613df36a889991259eab6c87f9d56246bfe84bfa
parent1765d2bc9023a78016f2ca6db1dbab5a79fa7f22
tools/scripts/phpunit-ls - Fix PhpStorm lookup of PHPUnit_Framework_TestCase

When using PhpStorm, code completion doesn't work smoothly on classes which
extend `PHPUnit_Framework_TestCase` because there are two copies: the real
copy and then a placeholder class used by `tools/scripts/phpunit-ls`.

Wrapping the placeholder copy in `eval()` prevents PhpStorm from
identifying.
tools/scripts/phpunit-ls