dotvim/.vim/bundle/vim-php-namespace/tests/test-basic-14.in
2015-07-02 10:45:40 +02:00

22 lines
217 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Basic test 14
Inserting use statement when a function(..) use (..) exists.
STARTTEST
:%d
a<?php
use Foo\Baz;
$a = 1;
function()
use ($a) {
$a = 1;
}
class Bar:call PhpInsertUse()
ax:w! test.out
:qa!
ENDTEST