phpcompat icon indicating copy to clipboard operation
phpcompat copied to clipboard

WordPress Plugin: PHP Compatibility Checker

Results 118 phpcompat issues
Sort by recently updated
recently updated
newest added

This is a false positive. Note that the code accounts for the version of PHP in use. FILE: REDACTED/wp-content/plugins/themegrill-demo-importer/includes/importers/wordpress-importer/class-wxr-importer.php FOUND 1 ERROR AFFECTING 1 LINE 958 | ERROR | Indirect...

WP plugin: Ad Inserter https://wordpress.org/plugins/ad-inserter/ ``` FILE: /wp-content/plugins/ad-inserter/includes/phpQuery_52.php ------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 12 WARNINGS AFFECTING 12 LINES ------------------------------------------------------------------------------------------------------------ 1035 | WARNING | Function create_function() is deprecated since PHP 7.2;...

### I manually verified that the reports were in the javascript after the closing ?> of the respective php files. ``` FILE: /.../wp-content/plugins/js_composer/include/templates/editors/popups/shared-templates/category.tpl.php ------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 12 WARNINGS...

How can we export scan report to a file using WP-CLI command => `wp phpcompat 7.2 --scan=active`

I read in the FAQ that WP-CLI instructions were available on the "Other Notes" tab. When clicked, I see ![image](https://user-images.githubusercontent.com/5815808/52655732-b86cce80-2ea9-11e9-81f8-458a25f9486d.png) No "Other Notes" tab, and none of the tabs included...

vendor/guzzlehttp/promises/src/functions.php ``` ------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES ------------------------------------------------------------------------------------------------------ 222 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead 257...

``` 69 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead 69 | ERROR | Function...

The following is a false-positive, because the flagged code provides a backwards-compatible CSRNG: ``` FILE: .../wordpress/wp-content/plugins/cloudflare/vendor/cloudflare/cloudflare-plugin-backend/src/SecurityUtil.php ---------------------------------------------- FOUND 2 ERRORS AFFECTING 1 LINE ---------------------------------------------- 16 | ERROR | Extension 'mcrypt'...

Hi I just ran the "test" ... took 4 hours - had to restart 17 times... But finally I got the results Running WP latest and Gravity Latest!! This one...

Be great if this plugin defaulted to use all threads + provided a user input field to change thread count, as desired. Looking at top, it appears this plugin runs...