[PHP] Wrap renamed constructor as static method

Previously it was wrapped as a non-static method, which results in
a diagnostic from PHP if called as a static method.
This commit is contained in:
Olly Betts 2019-02-09 11:48:33 +13:00
commit 123eabf200
2 changed files with 26 additions and 9 deletions

View file

@ -7,6 +7,10 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
Version 4.0.0 (in progress)
===========================
2019-02-09: olly
[PHP] A renamed constructor is now wrapped as a static method in
PHP.
2019-02-08: olly
[PHP] Don't generate code which references $r when $r hasn't been
defined. This could happen in overloaded methods which returned