Skip to content

Commit

Permalink
Merge pull request #46 from wp-cli/fix/wpcs-3.0-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Aug 31, 2023
2 parents 5448637 + 0919b9b commit 1f80df4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"php": "^5.6 || ^7.0 || ^8.0"
},
"require-dev": {
"wp-cli/wp-cli-tests": "^3.1"
"wp-cli/wp-cli-tests": "^4.0"
},
"autoload": {
"files": [ "src/WPConfigTransformer.php" ]
Expand All @@ -34,6 +34,7 @@
"behat-rerun": "rerun-behat-tests",
"lint": "run-linter-tests",
"phpcs": "run-phpcs-tests",
"phpcbf": "run-phpcbf-cleanup",
"phpunit": "run-php-unit-tests",
"prepare-tests": "install-package-tests",
"test": [
Expand Down
2 changes: 0 additions & 2 deletions tests/4-MultilineTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public static function set_up_before_class() {
EOF
);
self::$config_transformer = new WPConfigTransformer( self::$test_config_path );

}


Expand All @@ -39,6 +38,5 @@ public function testConfigValues() {
$this->assertTrue( defined( 'SECOND_CONSTANT' ), 'SECOND_CONSTANT not defined' );
$this->assertNotSame( 'oldvalue', constant( 'SECOND_CONSTANT' ), 'SECOND_CONSTANT is still "oldvalue"' );
$this->assertEquals( 'newvalue', constant( 'SECOND_CONSTANT' ), 'SECOND_CONSTANT is not "newvalue"' );

}
}

0 comments on commit 1f80df4

Please sign in to comment.