-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi,
It's time to work on upgrading phan, the PHP static analysis tool we use! The version of phan we were using was released over two years ago (0.8.0) - we're moving to 1.2.4 that was released less than a week ago. And the CI infrastructure is now in place to facilitate easy upgrades in the future. The new version comes with lots of upstream bug fixes and feature requests. We're also able to get rid of our custom wrapper scripts that hacked around limitations in phan as well. I've filed bugs for every extension in Gerrit to upgrade phan[1], including links to migration steps. For some extensions the upgrade will be trivial, but for others it will be rather involved. I do expect that we will likely find some bugs or missing features in phan, but now we should be able to file upstream issues in those cases since we're no longer running a super out of date version. In the second extension I ran it against, it was able to find actual bugs (e.g. [2]). So I'm pretty hopeful that this will be an overall improvement. The CI tutorial[3] has also been updated for the new-style phan setup. Let me know if you have any questions/comments/etc. [1] https://phabricator.wikimedia.org/maniphest/query/KxjdNDM65iNM/ [2] https://gerrit.wikimedia.org/r/c/mediawiki/extensions/AbuseFilter/+/4925 27 [3] https://www.mediawiki.org/wiki/Continuous_integration/Tutorials/Add_phan _to_a_MediaWiki_extension - -- Legoktm -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE2MtZ8F27ngU4xIGd8QX4EBsFJpsFAlxyUCIACgkQ8QX4EBsF JptcIQ//TmSWriBhI1tBJVELo9Cqb+vuSyUMVFG7X+dVIYxkF6pyci1NiTuIUfxx +U+LYxjo+9tVBez4UXnIuyuV8JK6EdhBqpaMHqnMNJnzA11/hL7xc8Dc5hm0Oc2j WIUwrfEyolO/HzlYtRAXRw+q9uDVoMot5IvG0rLbOgeMaDqsuhihfhtOqxbxIjzI UVY4IpiHQQlJpx5MS80AffxkFtxcs/E+oLrHOAYRut76PWcvoX/q2pO4uzLV/YK+ aQov+fg9/6JQLn9wCEZjh0Vn/KRobJPntOMErJQoGzqdBx1ysqDQ/3aqWqgp2w+E QV79QxjH5SVLV41pumkH5mf9ADm9b61ocNXP3c7SY7TO9FyqEwrn6qI5DVndC82B CriWWLrFYL5JSb4/7ORJ+G/8QPk8AT9Z/3iW2qmdYu4tGnNNqBcP+k2yNwY0xazG sRgn2BsgpNhGZmqCdcnlHtBq8Dn0BgtBGylz90H03MNOol5ABfqqTW60esNWmBnZ /ZV67nS0B9bUFk6FYx8DP99+8jO/fBeDXaQvA29e2F4VGAR9w/pI3uCteTbmY0LU DJx2nAwyOJlcJ9CfScFYUc3BY9dOuewAQJxzZwLrzh8QXRjhk5XMrAV+S+BKcFxG U63HVxVKeqlLANQErhyPViPYI1cXAwUwKhgwvk3reauz8kJw3vY= =JfvQ -----END PGP SIGNATURE----- _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
