Parsely/wp-parsely

Update our PHP code to 7.2 syntax

Closed this issue · 1 comments

Is your feature request related to a problem?

Since wp-parsely 3.8, we've updated the plugin's PHP minimum version to 7.2. However, internally, our PHP code is still using PHP 7.1 syntax.

We should upgrade to PHP 7.2 syntax to harvest any possible advantages.

Describe the solution you'd like

Use Rector to automatically refactor PHP 7.1 code to PHP 7.2 code and go from there.

I did a dry run of this, and Rector has no suggestions. So closing this issue as something we looked into.