build: replace VKCOM import with laytan import
This commit is contained in:
@@ -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,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() {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user