build: replace VKCOM import with laytan import

This commit is contained in:
Laytan Laats
2023-03-31 16:50:08 +02:00
parent 92d341cbb5
commit 68ac672368
62 changed files with 201 additions and 200 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"bytes"
"io"
"github.com/VKCOM/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/token"
"github.com/laytan/php-parser/pkg/ast"
"github.com/laytan/php-parser/pkg/token"
)
type printerState int
+5 -5
View File
@@ -5,11 +5,11 @@ import (
"os"
"testing"
"github.com/VKCOM/php-parser/internal/php7"
"github.com/VKCOM/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/conf"
"github.com/VKCOM/php-parser/pkg/version"
"github.com/VKCOM/php-parser/pkg/visitor/printer"
"github.com/laytan/php-parser/internal/php7"
"github.com/laytan/php-parser/pkg/ast"
"github.com/laytan/php-parser/pkg/conf"
"github.com/laytan/php-parser/pkg/version"
"github.com/laytan/php-parser/pkg/visitor/printer"
)
func ExamplePrinter() {
+1 -1
View File
@@ -3,7 +3,7 @@ package printer_test
import (
"testing"
"github.com/VKCOM/php-parser/internal/tester"
"github.com/laytan/php-parser/internal/tester"
)
func TestParseAndPrintReadonlyModifierPHP81(t *testing.T) {
+6 -6
View File
@@ -5,12 +5,12 @@ import (
"os"
"testing"
"github.com/VKCOM/php-parser/internal/php8"
"github.com/VKCOM/php-parser/internal/tester"
"github.com/VKCOM/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/conf"
"github.com/VKCOM/php-parser/pkg/version"
"github.com/VKCOM/php-parser/pkg/visitor/printer"
"github.com/laytan/php-parser/internal/php8"
"github.com/laytan/php-parser/internal/tester"
"github.com/laytan/php-parser/pkg/ast"
"github.com/laytan/php-parser/pkg/conf"
"github.com/laytan/php-parser/pkg/version"
"github.com/laytan/php-parser/pkg/visitor/printer"
"gotest.tools/assert"
)
+3 -3
View File
@@ -2,11 +2,11 @@ package printer_test
import (
"bytes"
"github.com/VKCOM/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/visitor/printer"
"github.com/laytan/php-parser/pkg/token"
"github.com/laytan/php-parser/pkg/visitor/printer"
"testing"
"github.com/VKCOM/php-parser/pkg/ast"
"github.com/laytan/php-parser/pkg/ast"
)
func TestPrinterPrintFile(t *testing.T) {