From 8a97065e300cd5d5fdc4c3c058ac9feec5c2f48b Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 7 Dec 2016 20:09:23 +0100 Subject: [PATCH] Add UPGRADE note about NameResolver changes --- UPGRADE-3.0.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UPGRADE-3.0.md b/UPGRADE-3.0.md index 6fad42e..9e04f2a 100644 --- a/UPGRADE-3.0.md +++ b/UPGRADE-3.0.md @@ -144,6 +144,10 @@ The following methods, arguments or options have been removed: ### Miscellaneous + * The `NameResolver` will now resolve unqualified function and constant names in the global + namespace into fully qualified names. For example `foo()` in the global namespace resolves to + `\foo()`. For names where no static resolution is possible, a `namespacedName` attribute is + added now, containing the namespaced variant of the name. * All methods on `PrettyPrinter\Standard` are now protected. Previoulsy most of them were public. The pretty printer should only be invoked using the `prettyPrint()`, `prettyPrintFile()` and `prettyPrintExpr()` methods.