Commit Graph

13 Commits

Author SHA1 Message Date
maride 966682546c go mod tidy 2023-12-10 00:36:22 +01:00
Tyler Christensen 87718f9993 php8.2: do not resolve reserved names `{true, false, null}` in NamespaceResolver 2023-07-18 15:32:28 +02:00
Tyler Christensen e3aaf7bd13 php8.1: do not resolve reserved name `never` in NamespaceResolver 2023-07-18 15:32:28 +02:00
Tyler Christensen 9281143091 php8: do not resolve reserved name `mixed` in NamespaceResolver 2023-07-18 15:32:28 +02:00
Tyler Christensen 6855357aaa php8.1: resolve intersection types in NamespaceResolver 2023-07-18 15:32:28 +02:00
Tyler Christensen 3c45afd848 php8: resolve union types in NamespaceResolver 2023-07-18 15:32:28 +02:00
Tyler Christensen 5baa28bb27 php8: resolve attributes in NamespaceResolver 2023-07-18 15:32:28 +02:00
Tyler Christensen 6d1eee5a79 php8: resolve enums in NamespaceResolver 2023-07-18 15:32:28 +02:00
Laytan Laats 68ac672368 build: replace VKCOM import with laytan import 2023-03-31 16:50:08 +02:00
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 cb4b4e69c4
refactoring: fix naming 2020-12-28 23:01:02 +02:00
Vadym Slizov bd479007be
refactoring: update traverser 2020-12-28 21:13:08 +02:00