You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's being loaded by plugin-check even on WordPress.org, that shouldn't be happening. The WordPress.org file should take precedence. I guess the plugin-check auto-loader is simply being hit first.
Meta team has been using hacky approach for the deployment of the plugin due to this issue and wants PCP plugin to handle the loading of parser class in itself.
Suggestions are welcome so that we can fix the loading issue.
PHPCS is installed via Composer and we use the Composer autoloader for loading all these classes.
To avoid conflicts with any other plugins bundling PHPCS, we should prefix the dependencies' classes with something like PHP-Scoper. See https://github.com/googleforcreators/web-stories-wp/ and https://github.com/google/site-kit-wp for some prior art where this is done.
The text was updated successfully, but these errors were encountered: