Remove PhanUndeclaredStaticMethod from blacklist
authorErik Bernhardson <ebernhardson@wikimedia.org>
Fri, 8 Jun 2018 20:51:44 +0000 (13:51 -0700)
committerKrinkle <krinklemail@gmail.com>
Tue, 28 Aug 2018 05:38:43 +0000 (05:38 +0000)
commit08dba3de303a44ffae5e60eaec62cad562407f4b
treec6cd1e7c705731457cb34a0cdd485da905dfc7d2
parent7237bb9bde70724bb1620a220c659623a5bddb74
Remove PhanUndeclaredStaticMethod from blacklist

There was a single instance of this issue which was reasonably simple
to solve. The code that triggered the issue was not wrong, but calling
the grandparent constructor directly is not the cleanest code so it
seems right to fix it. Switch revision initialization into an
overridable function to remove the need to even have a constructor in
the class.

Change-Id: Ic2af0d93e8d55e93061e3f4b5c7a4122509543f0
includes/revisiondelete/RevDelArchiveItem.php
includes/revisiondelete/RevDelArchivedFileItem.php
includes/revisiondelete/RevDelArchivedRevisionItem.php
includes/revisiondelete/RevDelFileItem.php
includes/revisiondelete/RevDelRevisionItem.php
tests/phan/config.php