Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
54
vendor/nikic/php-parser/test/code/formatPreservation/inlineHtml.test
vendored
Normal file
54
vendor/nikic/php-parser/test/code/formatPreservation/inlineHtml.test
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
Handling of inline HTML
|
||||
-----
|
||||
<?php
|
||||
|
||||
function test() {
|
||||
?>Foo<?php
|
||||
}
|
||||
-----
|
||||
$stmts[0]->setAttribute('origNode', null);
|
||||
-----
|
||||
<?php
|
||||
|
||||
function test()
|
||||
{
|
||||
?>Foo<?php
|
||||
}
|
||||
-----
|
||||
<?php
|
||||
|
||||
function test() {
|
||||
foo();
|
||||
?>Bar<?php
|
||||
baz();
|
||||
}
|
||||
-----
|
||||
// TODO Fix broken result
|
||||
$stmts[0]->stmts[2] = $stmts[0]->stmts[1];
|
||||
-----
|
||||
<?php
|
||||
|
||||
function test() {
|
||||
foo();
|
||||
?>Bar<?php
|
||||
Bar
|
||||
}
|
||||
-----
|
||||
<?php
|
||||
|
||||
function test() {
|
||||
foo();
|
||||
?>Bar<?php
|
||||
baz();
|
||||
}
|
||||
-----
|
||||
// TODO Fix broken result
|
||||
$stmts[0]->stmts[1] = $stmts[0]->stmts[2];
|
||||
-----
|
||||
<?php
|
||||
|
||||
function test() {
|
||||
foo();<?php
|
||||
baz();
|
||||
baz();
|
||||
}
|
Reference in a new issue