Skip to content

Commit ee1fc17

Browse files
committed
PHPStan fixes
1 parent b85f077 commit ee1fc17

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Context/FeatureContext.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828

2929
/**
3030
* Features context.
31-
*
32-
* @phpstan-ignore class.implementsDeprecatedInterface
3331
*/
3432
class FeatureContext implements Context {
3533

@@ -803,7 +801,7 @@ public static function create_cache_dir(): string {
803801
* Every scenario gets its own context object.
804802
*/
805803
public function __construct() {
806-
$this->bootstrap_feature_context();
804+
self::bootstrap_feature_context();
807805

808806
if ( getenv( 'WP_CLI_TEST_DBROOTUSER' ) ) {
809807
$this->variables['DB_ROOT_USER'] = getenv( 'WP_CLI_TEST_DBROOTUSER' );

0 commit comments

Comments
 (0)