Skip to content

Commit 7503356

Browse files
committed
Fix typos
1 parent 22ef0de commit 7503356

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

UPGRADE-1.0.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Upgrading from PHP-Parser 0.9 to 1.0
2-
------------------------------------
2+
====================================
33

44
### PHP version requirements
55

@@ -15,7 +15,7 @@ further changes.
1515
Old (still works, but discouraged):
1616

1717
```php
18-
$parser = new \PHPParser_Parser(new PHPParser_Lexer_Emulative);
18+
$parser = new \PHPParser_Parser(new \PHPParser_Lexer_Emulative);
1919
$prettyPrinter = new \PHPParser_PrettyPrinter_Default;
2020
```
2121

@@ -39,7 +39,7 @@ not contain the trailing underscore that may be present in the class name. As su
3939
cases.
4040

4141
However, some node classes have been moved to a different namespace or renamed, which will result in a different
42-
''Node::getType()'' output:
42+
`Node::getType()` output:
4343

4444
```
4545
Expr_AssignBitwiseAnd => Expr_AssignOp_BitwiseAnd
@@ -89,7 +89,7 @@ Scalar_NSConst => Scalar_MagicConst_Namespace
8989
Scalar_TraitConst => Scalar_MagicConst_Trait
9090
```
9191

92-
These changes may affect custom pretty printers and code comparing the return value of ''Node::getType()'' to specific
92+
These changes may affect custom pretty printers and code comparing the return value of `Node::getType()` to specific
9393
strings.
9494

9595
### Miscellaneous

0 commit comments

Comments
 (0)