Added PHPStan on level 0 for lib directory
This commit is contained in:
6
tasks/phpstan/bootstrap.php
Normal file
6
tasks/phpstan/bootstrap.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
define('ABSPATH', getenv('WP_ROOT') . '/');
|
||||
|
||||
require_once ABSPATH . 'wp-load.php';
|
||||
require_once ABSPATH . 'wp-admin/includes/admin.php';
|
Reference in New Issue
Block a user