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 92eb23d commit 55dd998
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions phpunit/block-supports/layout-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@
*/

class WP_Block_Supports_Layout_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();
$this->theme_root = realpath( __DIR__ . '/../data/themedir1' );
Expand Down

0 comments on commit 55dd998

Please sign in to comment.