On Wed, Apr 24, 2019 at 6:29 PM Paul M. Jones <pmjo...@pmjones.io> wrote:
> Hi all, > > > > On Apr 24, 2019, at 11:27, Nikita Popov <nikita....@gmail.com> wrote: > > > > To better judge the BC impact here, I've analyzed the top 1000 composer > > packages for this pattern. The results are here: > > https://gist.github.com/nikic/b6214f87b0e4a7c6fe26919ac849194f > > I *love* research like this. Really nicely done. Can you share how you > accomplished it? > Sure, here are the scripts I used: https://gist.github.com/nikic/a2bfa3e2f604f66115c3e4b8963a6c72 This downloads zipballs for the top composer packages, extracts them, and uses PHP-Parser to check for uses of ternaries affected by this RFC. Nikita