Automattic / vip-block-data-api

WordPress plugin that provides an API to retrieve Gutenberg content as structured JSON.
http://wpvip.com
GNU General Public License v3.0
103 stars 7 forks source link

Fix the PHP8+ warnings #54

Closed ingeniumed closed 8 months ago

ingeniumed commented 9 months ago

Description

This PR will resolve the warnings that show up for PHP 8, as well as upgrade the symfony/css-selector and symfony/dom-crawler packages so that plugin's minimum version is now set to PHP 8.

This also meant marking the postID as a required field, which it already was but this just makes it official.