mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 18:05:45 +03:00
Tools: Add formatting command, run to fix minor phpcs issues
This commit is contained in:
parent
28b102bc4c
commit
bb25e0c78b
13 changed files with 55 additions and 53 deletions
|
@ -21,9 +21,11 @@ require_once $_tests_dir . '/includes/functions.php';
|
|||
* Manually load the plugin being tested.
|
||||
*/
|
||||
function _manually_load_plugin() {
|
||||
define( 'WPORG_SUPPORT_FORUMS_BLOGID', 1 );
|
||||
if ( ! defined( 'WPORG_SUPPORT_FORUMS_BLOGID' ) ) {
|
||||
define( 'WPORG_SUPPORT_FORUMS_BLOGID', 1 );
|
||||
}
|
||||
|
||||
require dirname( __FILE__, 2 ) . '/index.php';
|
||||
require dirname( __DIR__, 1 ) . '/index.php';
|
||||
require __DIR__ . '/helpers.php';
|
||||
}
|
||||
tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue