mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-26 20:14:46 +01:00
Deprecate Node::setLine()
This commit is contained in:
parent
901b895c02
commit
3da86df48f
@ -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)
|
||||
--------------------------
|
||||
|
@ -29,6 +29,8 @@ interface Node
|
||||
* Sets line the node started in.
|
||||
*
|
||||
* @param int $line Line
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
public function setLine($line);
|
||||
|
||||
|
@ -37,6 +37,8 @@ abstract class NodeAbstract implements Node, \JsonSerializable
|
||||
* Sets line the node started in.
|
||||
*
|
||||
* @param int $line Line
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
public function setLine($line) {
|
||||
$this->setAttribute('startLine', (int) $line);
|
||||
|
Loading…
Reference in New Issue
Block a user