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