Code Clean up, more testing
Remove unused code and classes. Clean up code to remove all named constant from them and throw deprecation alerts if used. Add basic psalm setup in root folder and remove from www folder
This commit is contained in:
@@ -31,7 +31,7 @@ trait NamespacedNameTrait {
|
||||
return ResolvedName::buildName($this->getNameParts(), $content);
|
||||
}
|
||||
|
||||
if ($namespaceDefinition->name !== null) {
|
||||
if ($namespaceDefinition->name instanceof QualifiedName) {
|
||||
$resolvedName = ResolvedName::buildName($namespaceDefinition->name->nameParts, $content);
|
||||
} else {
|
||||
$resolvedName = ResolvedName::buildName([], $content);
|
||||
@@ -47,4 +47,4 @@ trait NamespacedNameTrait {
|
||||
}
|
||||
return $resolvedName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user