dotvim/.vim/bundle/vim-php-namespace/tests/test-basic-14.in

22 lines
217 B
Plaintext
Raw Normal View History

2015-07-02 10:45:40 +02:00
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