Skip to content

Commit

Permalink
Deprecate StateBadge and StateBadges
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed Jul 21, 2023
1 parent 482d588 commit 5f817a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Common/StateBadges.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
use ipl\Web\Widget\Link;
use ipl\Web\Widget\StateBadge;

/**
* @deprecated Use {@see \Icinga\Module\Icingadb\Common\StateBadges} instead.
*/
abstract class StateBadges extends BaseHtmlElement
{
use BaseFilter;
Expand Down
3 changes: 3 additions & 0 deletions src/Widget/StateBadge.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

use ipl\Html\BaseHtmlElement;

/**
* @deprecated Use {@see \Icinga\Module\Icingadb\Widget\StateBadge} instead.
*/
class StateBadge extends BaseHtmlElement
{
protected $defaultAttributes = ['class' => 'state-badge'];
Expand Down

0 comments on commit 5f817a4

Please sign in to comment.