php-parser
php-parser copied to clipboard
fix: invalid parsing of traitalias
- Refactor code using
read_*for better maintenance - Fix parsing:
class MyClass1 {
use HelloWorld { sayHello as abstract private test; }
}
It is invalid and should not be parsable.
- Tests
Coverage decreased (-0.06%) to 95.806% when pulling 8741d13612b371a7a7b903c0e3ff2315876a85d7 on fix-and-refactor-trait-parsing into 0df5a4973ed22b21aa2c38a27f6a7cb258316af9 on master.
Hi @evilebottnawi, not sure what to do with this PR, can we review it on 3.1 or does it introduce breaking changes ?
Yes, let's do it in 3.1