all: renamed github.com/z7zmey/php-parser with github.com/VKCOM/php-parser

This commit is contained in:
Makhnev Petr
2021-07-30 21:01:34 +03:00
committed by GitHub
parent 049ce7ddc6
commit 72cd222aeb
63 changed files with 236 additions and 236 deletions
+3 -3
View File
@@ -5,10 +5,10 @@ import (
"strconv"
"strings"
"github.com/z7zmey/php-parser/pkg/position"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/position"
"github.com/VKCOM/php-parser/pkg/token"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/ast"
)
type Dumper struct {
+4 -4
View File
@@ -2,12 +2,12 @@ package dumper_test
import (
"bytes"
"github.com/z7zmey/php-parser/pkg/position"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/z7zmey/php-parser/pkg/visitor/dumper"
"github.com/VKCOM/php-parser/pkg/position"
"github.com/VKCOM/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/visitor/dumper"
"testing"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/ast"
)
func TestDumper_root(t *testing.T) {
+2 -2
View File
@@ -3,8 +3,8 @@ package formatter
import (
"bytes"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/token"
)
type formatterState int
+4 -4
View File
@@ -2,12 +2,12 @@ package formatter_test
import (
"bytes"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/z7zmey/php-parser/pkg/visitor/formatter"
"github.com/z7zmey/php-parser/pkg/visitor/printer"
"github.com/VKCOM/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/visitor/formatter"
"github.com/VKCOM/php-parser/pkg/visitor/printer"
"testing"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/ast"
)
func TestFormatter_Root(t *testing.T) {
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"errors"
"strings"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/z7zmey/php-parser/pkg/visitor"
"github.com/VKCOM/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/visitor"
)
// NamespaceResolver visitor
@@ -1,13 +1,13 @@
package nsresolver_test
import (
"github.com/z7zmey/php-parser/pkg/visitor/nsresolver"
"github.com/z7zmey/php-parser/pkg/visitor/traverser"
"github.com/VKCOM/php-parser/pkg/visitor/nsresolver"
"github.com/VKCOM/php-parser/pkg/visitor/traverser"
"testing"
"gotest.tools/assert"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/ast"
)
func TestResolveStaticCall(t *testing.T) {
+1 -1
View File
@@ -1,7 +1,7 @@
package visitor
import (
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/ast"
)
type Null struct {
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"bytes"
"io"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/token"
)
type printerState int
+6 -6
View File
@@ -4,12 +4,12 @@ import (
"bytes"
"testing"
"github.com/z7zmey/php-parser/internal/php5"
"github.com/z7zmey/php-parser/internal/scanner"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/z7zmey/php-parser/pkg/conf"
"github.com/z7zmey/php-parser/pkg/version"
"github.com/z7zmey/php-parser/pkg/visitor/printer"
"github.com/VKCOM/php-parser/internal/php5"
"github.com/VKCOM/php-parser/internal/scanner"
"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"
)
func parsePhp5(src string) ast.Vertex {
+6 -6
View File
@@ -5,12 +5,12 @@ import (
"os"
"testing"
"github.com/z7zmey/php-parser/internal/php7"
"github.com/z7zmey/php-parser/internal/scanner"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/z7zmey/php-parser/pkg/conf"
"github.com/z7zmey/php-parser/pkg/version"
"github.com/z7zmey/php-parser/pkg/visitor/printer"
"github.com/VKCOM/php-parser/internal/php7"
"github.com/VKCOM/php-parser/internal/scanner"
"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"
)
func ExamplePrinter() {
+6 -6
View File
@@ -5,12 +5,12 @@ import (
"os"
"testing"
"github.com/z7zmey/php-parser/internal/php8"
"github.com/z7zmey/php-parser/internal/tester"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/z7zmey/php-parser/pkg/conf"
"github.com/z7zmey/php-parser/pkg/version"
"github.com/z7zmey/php-parser/pkg/visitor/printer"
"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"
"gotest.tools/assert"
)
+3 -3
View File
@@ -2,11 +2,11 @@ package printer_test
import (
"bytes"
"github.com/z7zmey/php-parser/pkg/token"
"github.com/z7zmey/php-parser/pkg/visitor/printer"
"github.com/VKCOM/php-parser/pkg/token"
"github.com/VKCOM/php-parser/pkg/visitor/printer"
"testing"
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/ast"
)
func TestPrinterPrintFile(t *testing.T) {
+1 -1
View File
@@ -1,7 +1,7 @@
package traverser
import (
"github.com/z7zmey/php-parser/pkg/ast"
"github.com/VKCOM/php-parser/pkg/ast"
)
type Traverser struct {