Commit 6932260
committed
Fix replacement of class signatures when a packagesynopsis element is present
So far, the gen_stub.php --replace-classsynopses subcommand didn't take the packagesynopsis element into account, causing some bugs: the wrong element was tried to be replaced (classynopsis instead of packagesynopsis) with the wrong content (the classname without the namespace: e.g. \Exception instead of \FFI\Exception).1 parent 5485f8e commit 6932260
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5776 | 5776 | | |
5777 | 5777 | | |
5778 | 5778 | | |
| 5779 | + | |
| 5780 | + | |
| 5781 | + | |
| 5782 | + | |
| 5783 | + | |
| 5784 | + | |
| 5785 | + | |
| 5786 | + | |
| 5787 | + | |
| 5788 | + | |
| 5789 | + | |
| 5790 | + | |
| 5791 | + | |
5779 | 5792 | | |
5780 | 5793 | | |
5781 | 5794 | | |
| |||
5791 | 5804 | | |
5792 | 5805 | | |
5793 | 5806 | | |
5794 | | - | |
| 5807 | + | |
5795 | 5808 | | |
5796 | 5809 | | |
5797 | 5810 | | |
| |||
0 commit comments