Aside from minor spacing fixes and alike, it also introduces the following:
Utils::attachment_url_to_postid — a wrapper for wpcom_vip_attachment_url_to_postid or use wp_cache to store this information. This should have a positive impact on performance;
fixes on export_csv for the CLI commands, which due to the VIP filesystem, could result in an impossibility of storing the export data;
Increases the sensibility of the PHPCS so that we can sooner spot these issues;
This PR addresses some warnings seen on WPVIP.
Aside from minor spacing fixes and alike, it also introduces the following:
Utils::attachment_url_to_postid
— a wrapper forwpcom_vip_attachment_url_to_postid
or usewp_cache
to store this information. This should have a positive impact on performance;export_csv
for the CLI commands, which due to the VIP filesystem, could result in an impossibility of storing the export data;