Added PHPStan on level 0 for lib directory

This commit is contained in:
Jan Jakeš
2018-11-14 16:44:44 +01:00
committed by Pavel Dohnal
parent a393ad5b61
commit 0a12d64cbf
3 changed files with 40 additions and 0 deletions

View 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';