PluginProbe
YayExtra – WooCommerce Extra Product Options / trunk
YayExtra – WooCommerce Extra Product Options vtrunk
trunk 1.1.4 1.1.5 1.1.8 1.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3 1.3.1 1.3.4 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.5.2 1.5.3 1.5.5 1.5.6 1.5.6.1 All 29 releases
yayextra / scoper.inc.php

scoper.inc.php in YayExtra – WooCommerce Extra Product Options trunk, at scoper.inc.php

31 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 declare(strict_types=1);
3 use Isolated\Symfony\Component\Finder\Finder;
4
5 return [
6 'prefix' => 'YayExtraScoped',
7 'finders' => [
8 Finder::create()->files()->ignoreVCS(true)->ignoreDotFiles(true)->name('*.php')
9 ->in('vendor/yaycommerce/admin-shell/src'),
10 Finder::create()->files()->ignoreVCS(true)->ignoreDotFiles(true)->name('*.php')
11 ->in('vendor/yaycommerce/admin-shell/views'),
12 ],
13 'exclude-namespaces' => [],
14 'exclude-classes' => [
15 'WP_Error', 'WP_REST_Request', 'WP_REST_Response', 'WP_REST_Server', 'WP_Ajax_Upgrader_Skin', 'Plugin_Upgrader',
16 'EDD_SL_Plugin_Updater', 'YayextraPluginAdapter',
17 ],
18 'exclude-functions' => [
19 'wp_.*', 'get_.*', 'add_.*', 'remove_.*', 'apply_filters', 'do_action',
20 'plugin_basename', 'plugin_dir_path', 'plugin_dir_url', 'admin_url', 'home_url',
21 'is_admin', 'current_user_can', 'sanitize_text_field', 'sanitize_key',
22 'wp_json_encode', 'wp_unslash', 'esc_html', 'esc_attr', 'esc_url',
23 'esc_url_raw', 'esc_html__', 'esc_attr__', 'esc_attr_e', 'esc_html_e',
24 '__', '_e', '_n', '_x', 'add_query_arg', 'remove_query_arg', 'self_admin_url', 'admin_url','remove_all_actions', 'method_exists',
25 ],
26 'exclude-constants' => [
27 'ABSPATH', 'WPINC', 'WP_CONTENT_DIR', 'WP_DEBUG',
28 'DOING_AJAX', 'DOING_CRON',
29 '/^WP_.*/', '/^YAYCOMMERCE_.*/',
30 ],
31 ];