Skip to content

Commit 63a51ad

Browse files
committed
chore: prepare for 1.2.0 release
1 parent 53685f6 commit 63a51ad

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stellarwp/admin-notices",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "A handy package for easily displaying admin notices in WordPress with simple to complex visibility conditions",
55
"minimum-stability": "stable",
66
"license": "MIT",

src/AdminNotice.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public function asError(): self
286286
/**
287287
* Uses the alternate WP notice styles
288288
*
289-
* @unreleased
289+
* @since 1.2.0
290290
*/
291291
public function alternateStyles(bool $altStyle = true): self
292292
{
@@ -298,7 +298,7 @@ public function alternateStyles(bool $altStyle = true): self
298298
/**
299299
* Uses the standard WP notice styles
300300
*
301-
* @unreleased
301+
* @since 1.2.0
302302
*/
303303
public function standardStyles(): self
304304
{
@@ -310,7 +310,7 @@ public function standardStyles(): self
310310
/**
311311
* Returns whether the notice uses the alternate WP notice styles
312312
*
313-
* @unreleased
313+
* @since 1.2.0
314314
*/
315315
public function usesAlternateStyles(): bool
316316
{
@@ -344,7 +344,7 @@ public function withoutWrapper(): self
344344
/**
345345
* Returns whether the notice is inline
346346
*
347-
* @unreleased
347+
* @since 1.2.0
348348
*/
349349
public function isInline(): bool
350350
{
@@ -354,7 +354,7 @@ public function isInline(): bool
354354
/**
355355
* Sets the notice to be inline
356356
*
357-
* @unreleased
357+
* @since 1.2.0
358358
*/
359359
public function inline(bool $inline = true): self
360360
{
@@ -366,7 +366,7 @@ public function inline(bool $inline = true): self
366366
/**
367367
* Sets the notice to be not inline
368368
*
369-
* @unreleased
369+
* @since 1.2.0
370370
*/
371371
public function notInline(): self
372372
{

tests/unit/AdminNoticeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public function testWithWrapper(): void
249249
* @covers ::notInline
250250
* @covers ::isInline
251251
*
252-
* @unreleased
252+
* @since 1.2.0
253253
*/
254254
public function testInline(): void
255255
{
@@ -422,7 +422,7 @@ public function testGetWhenCallback(): void
422422
* @covers ::standardStyles
423423
* @covers ::usesAlternateStyles
424424
*
425-
* @unreleased
425+
* @since 1.2.0
426426
*/
427427
public function testAlternateStyles(): void
428428
{

0 commit comments

Comments
 (0)