T6810
Add support for syntax use const xxx\xxx and use function xxx\xxx
Details
Details
Diff Detail
Diff Detail
- Repository
- R52 KDevelop: PHP Support
- Lint
Lint Skipped - Unit
Unit Tests Skipped
duchain/tests/uses.cpp | ||
---|---|---|
1105–1134 | This is fine as a duchain test (within duchain.cpp), but for uses you should compare that the actual references are correct. See calls to compareUses() in other tests here | |
1116 | This doesn't seem to be working. "BazD" isn't a constant in the new context, i.e. "echo BazD;" has no highlighting for BazD. |
Comment Actions
Looks good :)
Could you add another unit test for comma separated imports? Like:
use function foo\bar\baz, foo\bar\qux;
Then this is ready to go.