From 4ec5fe763fe34c95c7fb45049095a4fb1acb9c97 Mon Sep 17 00:00:00 2001 From: Jan Tvrdik Date: Sat, 18 Nov 2017 15:54:32 +0100 Subject: [PATCH] change namespace to PHPStan\PhpDocParser --- composer.json | 2 +- src/Ast/ConstExpr/ConstExprArrayItemNode.php | 2 +- src/Ast/ConstExpr/ConstExprArrayNode.php | 2 +- src/Ast/ConstExpr/ConstExprFalseNode.php | 2 +- src/Ast/ConstExpr/ConstExprFloatNode.php | 2 +- src/Ast/ConstExpr/ConstExprIntegerNode.php | 2 +- src/Ast/ConstExpr/ConstExprNode.php | 4 ++-- src/Ast/ConstExpr/ConstExprNullNode.php | 2 +- src/Ast/ConstExpr/ConstExprStringNode.php | 2 +- src/Ast/ConstExpr/ConstExprTrueNode.php | 2 +- src/Ast/ConstExpr/ConstFetchNode.php | 2 +- src/Ast/Node.php | 2 +- src/Ast/PhpDoc/GeneralTagValueNode.php | 2 +- src/Ast/PhpDoc/MethodTagValueNode.php | 4 ++-- src/Ast/PhpDoc/MethodTagValueParameterNode.php | 8 ++++---- src/Ast/PhpDoc/ParamTagValueNode.php | 4 ++-- src/Ast/PhpDoc/PhpDocChildNode.php | 4 ++-- src/Ast/PhpDoc/PhpDocNode.php | 4 ++-- src/Ast/PhpDoc/PhpDocTagNode.php | 2 +- src/Ast/PhpDoc/PhpDocTagValueNode.php | 4 ++-- src/Ast/PhpDoc/PhpDocTextNode.php | 2 +- src/Ast/PhpDoc/PropertyTagValueNode.php | 4 ++-- src/Ast/PhpDoc/ReturnTagValueNode.php | 4 ++-- src/Ast/PhpDoc/VarTagValueNode.php | 4 ++-- src/Ast/Type/ArrayTypeNode.php | 2 +- src/Ast/Type/GenericTypeNode.php | 2 +- src/Ast/Type/IdentifierTypeNode.php | 2 +- src/Ast/Type/IntersectionTypeNode.php | 2 +- src/Ast/Type/NullableTypeNode.php | 2 +- src/Ast/Type/TypeNode.php | 4 ++-- src/Ast/Type/UnionTypeNode.php | 2 +- src/Lexer/Lexer.php | 2 +- src/Parser/ConstExprParser.php | 6 +++--- src/Parser/ParserException.php | 2 +- src/Parser/PhpDocParser.php | 6 +++--- src/Parser/TokenIterator.php | 4 ++-- src/Parser/TypeParser.php | 6 +++--- 37 files changed, 57 insertions(+), 57 deletions(-) diff --git a/composer.json b/composer.json index 8d48c56..60458af 100644 --- a/composer.json +++ b/composer.json @@ -2,6 +2,6 @@ "name": "phpstan/type-parser", "license": "MIT", "autoload": { - "classmap": ["src"] + "psr-4": {"PHPStan\\PhpDocParser\\": ["src/"]} } } diff --git a/src/Ast/ConstExpr/ConstExprArrayItemNode.php b/src/Ast/ConstExpr/ConstExprArrayItemNode.php index 4eb8cf6..0f42325 100644 --- a/src/Ast/ConstExpr/ConstExprArrayItemNode.php +++ b/src/Ast/ConstExpr/ConstExprArrayItemNode.php @@ -1,6 +1,6 @@