Skip to content

Commit

Permalink
Merge branch '3.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Apr 29, 2017
2 parents 5ec59ee + 3da86df commit 56d57d4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
Version 3.0.6-dev
-----------------

Nothing yet.
### Deprecated

* The `Node::setLine()` method has been deprecated.

Version 3.0.5 (2017-03-05)
--------------------------
Expand Down
2 changes: 2 additions & 0 deletions lib/PhpParser/Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public function getLine() : int;
* Sets line the node started in.
*
* @param int $line Line
*
* @deprecated
*/
public function setLine(int $line);

Expand Down
2 changes: 2 additions & 0 deletions lib/PhpParser/NodeAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public function getLine() : int {
* Sets line the node started in.
*
* @param int $line Line
*
* @deprecated
*/
public function setLine(int $line) {
$this->setAttribute('startLine', (int) $line);
Expand Down

0 comments on commit 56d57d4

Please sign in to comment.