Test Failed
Push — master ( 29faa5...7f1413 )
by Paul
04:52
created

uninstall.php (1 issue)

Labels
Severity
1
<?php
2
3
defined( 'WP_UNINSTALL_PLUGIN' ) || die;
4
5
require_once __DIR__.'/site-reviews.php';
6
if( !GL_Plugin_Check_v2::isValid( array( 'wordpress' => '4.7.0' )))return;
0 ignored issues
show
The type GL_Plugin_Check_v2 was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
7
8
delete_option( GeminiLabs\SiteReviews\Database\OptionManager::databaseKey() );
9
delete_option( 'widget_'.glsr()->id.'_site-reviews' );
10
delete_option( 'widget_'.glsr()->id.'_site-reviews-form' );
11
delete_option( 'widget_'.glsr()->id.'_site-reviews-summary' );
12
delete_transient( glsr()->id.'_cloudflare_ips' );
13
delete_transient( glsr()->id.'_remote_post_test' );
14
wp_cache_delete( glsr()->id );
15
16
glsr( 'Modules\Session' )->deleteAllSessions();
17