bgrgicak / playground-tester

Check if plugins from WordPress.org are compatible with WordPress Playground.
https://wordpress.org/playground/
5 stars 0 forks source link

A few error reporting requests #1

Open adamziel opened 6 days ago

adamziel commented 6 days ago
adamziel commented 12 hours ago

Here's a PHPCS sniff we could use to extract the MySQL query string from the plugin source code:

https://github.com/WordPress/WordPress-Coding-Standards/blob/develop/WordPress/Sniffs/DB/DirectDatabaseQuerySniff.php#L212

And then we could use the MySQL parser to analyze the query