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 16, 2022
1 parent 55dd998 commit f005a23
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions phpunit/class-wp-theme-json-resolver-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,21 @@ class WP_Theme_JSON_Resolver_Gutenberg_Test extends WP_UnitTestCase {
*/
private static $property_core_orig_value;

/**
* @var string|null
*/
private $theme_root;

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

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

public static function set_up_before_class() {
parent::set_up_before_class();

Expand Down

0 comments on commit f005a23

Please sign in to comment.