Skip to content

Commit 2fbe14c

Browse files
committed
Ignore BoxUK plugins
1 parent f9332e9 commit 2fbe14c

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

phpstan-bootstrap.php

-5
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,12 @@
77

88
declare ( strict_types=1 );
99

10-
use Symfony\Component\Dotenv\Dotenv;
11-
1210
require_once __DIR__ . '/wp-content/vendor/autoload.php';
1311

1412
/**
1513
* Load Environment Configuration
1614
*/
1715

18-
$dotenv = new Dotenv();
19-
$dotenv->load( __DIR__ . '/.env' );
20-
2116
define( 'PROJECT_NAME', $_ENV['PROJECT_NAME'] );
2217
define( 'WP_CONTENT_DIR', __DIR__ . '/wp-content' );
2318
define( 'WP_CONTENT_URL', get_option( 'siteurl' ) . '/wp-content' );

phpstan.neon.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ parameters:
1616
- 'wp-content/mu-plugins/*/Tests/*.php'
1717
analyse:
1818
# Plugins that should be analysed in their own repos
19-
- wp-content/mu-plugins/001-boxuk
19+
- wp-content/mu-plugins/000-boxuk
2020
- wp-content/mu-plugins/boxuk-base-wp-plugin
2121
- wp-content/mu-plugins/flagpole
2222
- wp-content/mu-plugins/wp-hook-attributes

0 commit comments

Comments
 (0)