Skip to content

Commit

Permalink
Fix typos in UPGRADE-4.0 (nikic#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
carusogabriel authored and nikic committed May 1, 2018
1 parent fa99c3f commit 9202d87
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions UPGRADE-4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ HHVM is no longer actively supported.
comparisons or strict-mode may require adjustment. The following is an exhaustive list of all
affected subnodes:

* `Const::$name`
* `Const_::$name`
* `NullableType::$type` (for simple types)
* `Param::$type` (for simple types)
* `Expr\ClassConstFetch::$name`
Expand All @@ -29,8 +29,8 @@ HHVM is no longer actively supported.
* `Stmt\Class_::$name`
* `Stmt\ClassMethod::$name`
* `Stmt\ClassMethod::$returnType` (for simple types)
* `Stmt\Function::$name`
* `Stmt\Function::$returnType` (for simple types)
* `Stmt\Function_::$name`
* `Stmt\Function_::$returnType` (for simple types)
* `Stmt\Goto_::$name`
* `Stmt\Interface_::$name`
* `Stmt\Label::$name`
Expand All @@ -48,7 +48,7 @@ HHVM is no longer actively supported.
* The `name` subnode of `StaticVar` has been renamed to `var` and now contains a `Variable` rather
than a plain string.
* The `var` subnode of `ClosureUse` now contains a `Variable` rather than a plain string.
* The `var` subnode of `Catch` now contains a `Variable` rather than a plain string.
* The `var` subnode of `Catch_` now contains a `Variable` rather than a plain string.
* The `alias` subnode of `UseUse` is now `null` if no explicit alias is given. As such,
`use Foo\Bar` and `use Foo\Bar as Bar` are now represented differently. The `getAlias()` method
can be used to get the effective alias, even if it is not explicitly given.
Expand All @@ -74,4 +74,4 @@ HHVM is no longer actively supported.
`Unserializer\XML`, as well as the interfaces `Serializer` and `Unserializer` no longer exist.
* The `BuilderAbstract` class has been removed. It's functionality is moved into `BuilderHelpers`.
However, this is an internal class and should not be used directly.
* The `Autoloader` class has been removed in favor of relying on the Composer autoloader.
* The `Autoloader` class has been removed in favor of relying on the Composer autoloader.

0 comments on commit 9202d87

Please sign in to comment.