Skip to content

Commit

Permalink
Fix dynamic properties. PHP 8.2 doesn't support dynamic properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-vlasenko committed Dec 15, 2022
1 parent 7550ed9 commit fd9a0a2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions phpunit/wp-theme-json-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@
*/

class WP_Theme_Json_Test extends WP_UnitTestCase {
/**
* @var string|null
*/
private $theme_root;

/**
* @var array|null
*/
private $orig_theme_dir;

/**
* @var array|null
*/
private $queries;

public function set_up() {
parent::set_up();
Expand Down

0 comments on commit fd9a0a2

Please sign in to comment.