mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Fix linter errors
This commit is contained in:
parent
577e5c54d2
commit
a38ebfae04
2 changed files with 9 additions and 0 deletions
|
@ -57,6 +57,12 @@ class FilePathPluginFactory implements FilePathPluginFactoryInterface {
|
|||
}
|
||||
|
||||
if ( ! function_exists( 'get_plugin_data' ) ) {
|
||||
/**
|
||||
* Skip check for WP files and constants.
|
||||
*
|
||||
* @psalm-suppress UnresolvableInclude
|
||||
* @psalm-suppress UndefinedConstant
|
||||
*/
|
||||
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue