Skip to content

Commit

Permalink
Address some dynamic property creation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Nov 14, 2023
1 parent d417e87 commit 9222e1a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/phpunit/tests/Checker/Check_Categories_Tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
use WordPress\Plugin_Check\Test_Data\Category_Check_Two;

class Check_Categories_Tests extends WP_UnitTestCase {
/**
* @var Default_Check_Repository
*/
protected $repository;

public function set_up() {
parent::set_up();
Expand Down
10 changes: 10 additions & 0 deletions tests/phpunit/tests/Checker/Check_Context_Tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
use WordPress\Plugin_Check\Checker\Check_Context;

class Check_Context_Tests extends WP_UnitTestCase {
/**
* @var string
*/
protected $plugin_name;

/**
* @var Check_Context
*/
protected $check_context;

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

Expand Down
10 changes: 10 additions & 0 deletions tests/phpunit/tests/Plugin_Context_Tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
use WordPress\Plugin_Check\Plugin_Context;

class Plugin_Context_Tests extends WP_UnitTestCase {
/**
* @var string
*/
protected $plugin_name;

/**
* @var Plugin_Context
*/
protected $plugin_context;

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

Expand Down

0 comments on commit 9222e1a

Please sign in to comment.