Skip to content

Commit

Permalink
Fix PHPCS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
thelovekesh committed May 24, 2024
1 parent 7d8b671 commit 52c024b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test-wp-version-resolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class WPVersionResolverTest extends TestCase {
protected function set_up() {
parent::set_up();

$this->temp_file = Utils\get_temp_dir() . 'wp-cli-tests-wp-versions.json';
$this->temp_file = Utils\get_temp_dir() . 'wp-cli-tests-wp-versions.json';

$fp = fopen( $this->temp_file, 'w' );
fwrite( $fp, json_encode( $this->wp_versions_data() ) );
Expand All @@ -27,19 +27,19 @@ protected function tear_down() {

private function wp_versions_data() {
return array(
'5.9' => 'insecure',
'5.9' => 'insecure',
'5.9.1' => 'insecure',
'5.9.2' => 'insecure',
'6.0' => 'insecure',
'6.0' => 'insecure',
'6.0.1' => 'insecure',
'6.0.2' => 'insecure',
'6.1' => 'insecure',
'6.1' => 'insecure',
'6.1.1' => 'insecure',
'6.1.2' => 'insecure',
'6.2' => 'insecure',
'6.2' => 'insecure',
'6.2.1' => 'insecure',
'6.2.2' => 'insecure',
'6.5' => 'insecure',
'6.5' => 'insecure',
'6.5.2' => 'latest',
);
}
Expand Down

0 comments on commit 52c024b

Please sign in to comment.