mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-03 09:47:59 +01:00
e4b837e0c4
The list was getting unweildly. Also improve error message when parsing fails in pretty printer test and extend some tests.
25 lines
337 B
Plaintext
25 lines
337 B
Plaintext
Trait uses and adaptations
|
|
-----
|
|
<?php
|
|
|
|
class A
|
|
{
|
|
use B, C, D {
|
|
f as g;
|
|
f as private;
|
|
f as private g;
|
|
B::f as g;
|
|
B::f insteadof C, D;
|
|
}
|
|
}
|
|
-----
|
|
class A
|
|
{
|
|
use B, C, D {
|
|
f as g;
|
|
f as private;
|
|
f as private g;
|
|
B::f as g;
|
|
B::f insteadof C, D;
|
|
}
|
|
} |