mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-11-30 04:19:30 +01:00
Update tests
This commit is contained in:
parent
a9282514c8
commit
f00092bfee
@ -151,7 +151,7 @@ new #[A] class
|
|||||||
};
|
};
|
||||||
#[A] function () {
|
#[A] function () {
|
||||||
};
|
};
|
||||||
#[A] fn() => 42;
|
#[A] fn() => (42);
|
||||||
-----
|
-----
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@ -176,4 +176,4 @@ class X {};
|
|||||||
B,
|
B,
|
||||||
C,
|
C,
|
||||||
]
|
]
|
||||||
class X {};
|
class X {};
|
||||||
|
@ -55,7 +55,7 @@ trait T
|
|||||||
}
|
}
|
||||||
$x = #[A10] function () {
|
$x = #[A10] function () {
|
||||||
};
|
};
|
||||||
$y = #[A11] fn() => 0;
|
$y = #[A11] fn() => (0);
|
||||||
new #[A13] class
|
new #[A13] class
|
||||||
{
|
{
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user