Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Deprecate unused Helper properties.
  • Loading branch information
ADmad committed Jun 8, 2018
1 parent 754559d commit 35cb88c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 4 additions & 5 deletions src/View/Helper.php
Expand Up @@ -72,17 +72,18 @@ class Helper implements EventListenerInterface
public $request;

/**
* Holds the fields ['field_name' => ['type' => 'string', 'length' => 100]],
* primaryKey and validates ['field_name']
* Unused.
*
* @var array
* @deprecated 3.7.0 This property is unused and will be removed in 4.0.0.
*/
public $fieldset = [];

/**
* Holds tag templates.
* Unused.
*
* @var array
* @deprecated 3.7.0 This property is unused and will be removed in 4.0.0.
*/
public $tags = [];

Expand Down Expand Up @@ -302,8 +303,6 @@ public function __debugInfo()
{
return [
'helpers' => $this->helpers,
'fieldset' => $this->fieldset,
'tags' => $this->tags,
'implementedEvents' => $this->implementedEvents(),
'_config' => $this->getConfig(),
];
Expand Down
2 changes: 0 additions & 2 deletions tests/TestCase/View/HelperTest.php
Expand Up @@ -174,8 +174,6 @@ public function testDebugInfo()
'Html',
'TestPlugin.OtherHelper'
],
'fieldset' => [],
'tags' => [],
'implementedEvents' => [
],
'_config' => [
Expand Down

0 comments on commit 35cb88c

Please sign in to comment.