Laytan Laats
6a5a06a206
fix: add some boundary checks so the formatter panics less often
2023-04-10 02:17:36 +02:00
Laytan Laats
68ac672368
build: replace VKCOM import with laytan import
2023-03-31 16:50:08 +02:00
Laytan Laats
92d341cbb5
feat: generate ast.Type "enum"
2023-03-30 02:20:12 +02:00
Laytan Laats
b2e5aefaa7
chore: release v0.9.0
2023-03-26 03:13:26 +02:00
Laytan Laats
ec3527909c
refactor: remove unused function
2023-03-26 01:54:21 +01:00
Laytan Laats
7c12f73974
feat: add start column and end column to position struct
2023-03-26 01:54:00 +01:00
Laytan Laats
92019441d0
fix: use go:build tools instead of ignore so go mod tidy doesn't remove deps
2023-03-26 01:33:03 +01:00
Laytan Laats
25877adda4
feat: add enter and leave checks for traversers
...
- Improved performance (can short circuit/not continue when done)
- Backwards compatible because added interfaces
- Now generating the implementation for easier updates
2023-03-25 22:03:02 +01:00
Laytan Laats
b934f01c67
refactor: remove unused and confusing function implementations
2023-03-25 21:54:47 +01:00
Laytan Laats
3ba9118676
refactor: generate node functions instead of manual
...
Easier to update now, also more reliable (nothing to forget)
2023-03-25 21:53:52 +01:00
Laytan Laats
702cadceab
feat: bump supported version range up to 8.2
2023-03-25 16:14:23 +01:00
Laytan Laats
375ccd136d
test: add php8.2 constants in traits test
2023-03-25 16:11:37 +01:00
Laytan Laats
ce8b54eae1
test: add php8.2 true, null and false types test
2023-03-25 15:52:40 +01:00
Laytan Laats
66cc411e7c
refactor: change makefile to reflect drop of php5 and run make
2023-03-25 15:29:51 +01:00
Laytan Laats
d820a72c72
style: simplify comparison
2023-03-25 15:16:54 +01:00
Laytan Laats
67058cb58c
ci/style: add editorconfig and golangci config
2023-03-25 15:15:54 +01:00
Laytan Laats
6d6856b2a4
style: go mod tidy
2023-03-25 15:15:40 +01:00
Laytan Laats
8b15eadd15
style: go fmt
2023-03-25 15:15:30 +01:00
Laytan Laats
c4170d3955
refactor: move from deprecated io/ioutil package
2023-03-25 15:14:30 +01:00
Laytan Laats
226f7fb5f1
refactor: remove unused function lastNode
2023-03-25 15:12:21 +01:00
Laytan Laats
74a8771740
refactor: move php7 scanner into php7 package
2023-03-25 15:02:34 +01:00
Laytan Laats
a97686125d
refactor!: drop php5 support
2023-03-25 15:00:17 +01:00
Laytan Laats
ffc94c1a63
refactor: move test.php into testdata folder
2023-03-25 14:32:14 +01:00
Laytan Laats
86c10ca380
perf: reduce memory usage by reducing amt of position's created
...
The positions created were taking GB's of memory and were not being
GC'ed.
2022-09-09 00:40:11 +02:00