Skip to content

Commit 3c61035

Browse files
committed
Lint fixes
1 parent b5838b8 commit 3c61035

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Context/FeatureContext.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,8 +1291,8 @@ public function add_line_to_wp_config( &$wp_config_code, $line ): void {
12911291
* @param string $version
12921292
*/
12931293
public function download_wp( $subdir = '', $version = '' ): void {
1294-
$wp_version = $version ?: getenv( 'WP_VERSION' );
1295-
$wp_version_suffix = $wp_version ? "-$wp_version" : '';
1294+
$wp_version = $version ?: getenv( 'WP_VERSION' );
1295+
$wp_version_suffix = $wp_version ? "-$wp_version" : '';
12961296
$expected_cache_dir = sys_get_temp_dir() . '/wp-cli-test-core-download-cache' . $wp_version_suffix;
12971297

12981298
if ( ! self::$cache_dir || self::$cache_dir !== $expected_cache_dir ) {

src/Context/GivenStepDefinitions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ public function given_a_wp_installation( $version = '' ): void {
420420
* ...
421421
*
422422
* Scenario: My version-specific scenario
423-
* Given a WP 6.4.2 installation in 'wordpress'
423+
* Given a WP 6.4.2 installation in 'subdir'
424424
* ...
425425
* ```
426426
*

0 commit comments

Comments
 (0)