Skip to content

Commit

Permalink
chore: prepare for 1.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonTheAdams committed Oct 17, 2024
1 parent 53685f6 commit 63a51ad
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stellarwp/admin-notices",
"version": "1.1.0",
"version": "1.2.0",
"description": "A handy package for easily displaying admin notices in WordPress with simple to complex visibility conditions",
"minimum-stability": "stable",
"license": "MIT",
Expand Down
12 changes: 6 additions & 6 deletions src/AdminNotice.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ public function asError(): self
/**
* Uses the alternate WP notice styles
*
* @unreleased
* @since 1.2.0
*/
public function alternateStyles(bool $altStyle = true): self
{
Expand All @@ -298,7 +298,7 @@ public function alternateStyles(bool $altStyle = true): self
/**
* Uses the standard WP notice styles
*
* @unreleased
* @since 1.2.0
*/
public function standardStyles(): self
{
Expand All @@ -310,7 +310,7 @@ public function standardStyles(): self
/**
* Returns whether the notice uses the alternate WP notice styles
*
* @unreleased
* @since 1.2.0
*/
public function usesAlternateStyles(): bool
{
Expand Down Expand Up @@ -344,7 +344,7 @@ public function withoutWrapper(): self
/**
* Returns whether the notice is inline
*
* @unreleased
* @since 1.2.0
*/
public function isInline(): bool
{
Expand All @@ -354,7 +354,7 @@ public function isInline(): bool
/**
* Sets the notice to be inline
*
* @unreleased
* @since 1.2.0
*/
public function inline(bool $inline = true): self
{
Expand All @@ -366,7 +366,7 @@ public function inline(bool $inline = true): self
/**
* Sets the notice to be not inline
*
* @unreleased
* @since 1.2.0
*/
public function notInline(): self
{
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/AdminNoticeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public function testWithWrapper(): void
* @covers ::notInline
* @covers ::isInline
*
* @unreleased
* @since 1.2.0
*/
public function testInline(): void
{
Expand Down Expand Up @@ -422,7 +422,7 @@ public function testGetWhenCallback(): void
* @covers ::standardStyles
* @covers ::usesAlternateStyles
*
* @unreleased
* @since 1.2.0
*/
public function testAlternateStyles(): void
{
Expand Down

0 comments on commit 63a51ad

Please sign in to comment.