Skip to content

Commit c4221b9

Browse files
authored
Merge pull request #107 from wp-cli/fix/remove-steps-folder-glob
Avoid globbing the now removed `steps` folder
2 parents edf691c + 23a77fc commit c4221b9

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Context/FeatureContext.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -498,14 +498,6 @@ public function __construct() {
498498
$this->variables['DB_PASSWORD'] = self::$db_settings['dbpass'];
499499
$this->variables['DB_HOST'] = self::$db_settings['dbhost'];
500500
$this->variables['CORE_CONFIG_SETTINGS'] = Utils\assoc_args_to_str( self::$db_settings );
501-
502-
foreach ( $this->getStepDefinitionResources() as $step_definition_resource ) {
503-
require_once $step_definition_resource;
504-
}
505-
}
506-
507-
public function getStepDefinitionResources() {
508-
return glob( __DIR__ . '/../steps/*.php' );
509501
}
510502

511503
/**

0 commit comments

Comments
 (0)