mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-04 10:18:09 +01:00
11 lines
139 B
Plaintext
11 lines
139 B
Plaintext
Fallback on comment change (for now at least)
|
|
-----
|
|
<?php
|
|
// Test
|
|
foo();
|
|
-----
|
|
$stmts[0]->setAttribute('comments', []);
|
|
-----
|
|
<?php
|
|
|
|
foo(); |