Commit Graph

11 Commits

Author SHA1 Message Date
Makhnev Petr
72cd222aeb
all: renamed github.com/z7zmey/php-parser with github.com/VKCOM/php-parser 2021-07-30 21:01:34 +03:00
Makhnev Petr
049ce7ddc6
PHP 8 (#1)
PHP 8 Update

- nullsafe operator (?->)
- Remove (real) cast
- Named arguments
- Remove (unset) cast
- Remove {} access
- match expression
- Union types in type hints and static typehint
- Block catch without variable
- Trailing comma in parameter lists
- throw can be used as an expression
- Concatenation precedence
- Declaring properties in the constructor
- Attributes
- Names in the namespace are treated as a single token
- Trailing comma in closure use list
- Check that ::class on object works
- Deferencable changes and arbitrary expressions in new/instanceof
2021-07-30 20:53:27 +03:00
Vadym Slizov
367eff9de6
rename package cfg to conf 2021-02-13 23:54:34 +02:00
Vadym Slizov
9d12f1d162
fix formatting 2021-02-13 23:51:08 +02:00
Vadym Slizov
d9bd1df2a2
[#120] move dog.go from root folder 2021-02-13 22:06:52 +02:00
Vadym Slizov
e3b133f3de
refactoring: update api 2020-12-29 21:23:22 +02:00
Vadym Slizov
97747c5ac0 [refactoring] remove scanner token 2020-08-17 20:39:10 +03:00
Vadym Slizov
06d202e71c [refactoring] remove param withTokens from parser 2020-07-03 00:20:32 +03:00
Vadym Slizov
d7652b1c7f [refactoring] parsing error handler 2020-06-29 23:00:56 +03:00
Vadym Slizov
d9a7d20e73 [refactoring] scanner.Lexer.withHiddenTokens 2020-05-18 21:37:37 +03:00
Vadym Slizov
6a84d58ee6 refactor php7 2020-05-13 00:16:36 +03:00