Skip to content

Commit

Permalink
docs: update since tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Waldstein committed Jul 17, 2024
1 parent 031fb45 commit 831ed6d
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/DonationForms/DataTransferObjects/DonateFormRouteData.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static function fromRequest(array $requestData): self
* compares the request against the individual fields,
* their types and validation rules.
*
* @unreleased Added form status validation
* @since 3.14.0 Added form status validation
* @since 3.0.0
*
* @throws DonationFormFieldErrorsException|NameCollisionException|DonationFormForbidden
Expand Down Expand Up @@ -138,7 +138,7 @@ public function toArray(): array
}

/**
* @unreleased
* @since 3.14.0
*/
private function isValidForm(DonationForm $form): bool
{
Expand Down
2 changes: 1 addition & 1 deletion src/DonationForms/Exceptions/DonationFormForbidden.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Throwable;

/**
* @unreleased
* @since 3.14.0
*/
class DonationFormForbidden extends Exception
{
Expand Down
2 changes: 1 addition & 1 deletion src/DonationForms/V2/Endpoints/Endpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function validateInt($value)
}

/**
* @unreleased
* @since 3.14.0
* @param string $id
* @return bool
*/
Expand Down
2 changes: 1 addition & 1 deletion src/DonationForms/V2/Endpoints/FormActions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use WP_REST_Response;

/**
* @unreleased updated to validate form id is a donation form post type
* @since 3.14.0 updated to validate form id is a donation form post type
* @since 2.19.0
*/
class FormActions extends Endpoint
Expand Down
2 changes: 1 addition & 1 deletion src/DonorDashboards/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static function getCurrentDonorId()
* Retrieve donor logged in status
*
* @since 2.20.2
* @unreleased Add user capability and user role check
* @since 3.14.0 Add user capability and user role check
*/
public static function isDonorLoggedIn(): bool
{
Expand Down
2 changes: 1 addition & 1 deletion src/EventTickets/Routes/UpdateEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

/**
* @since 3.6.0
* @unreleased add permission callback check
* @since 3.14.0 add permission callback check
*/
class UpdateEvent implements RestRoute
{
Expand Down
2 changes: 1 addition & 1 deletion src/EventTickets/Routes/UpdateEventTicketType.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/**
* @since 3.6.0
* @unreleased add permission callback check
* @since 3.14.0 add permission callback check
*/
class UpdateEventTicketType implements RestRoute
{
Expand Down
6 changes: 3 additions & 3 deletions tests/Unit/DataTransferObjects/DonateFormRouteDataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public function testValidatedShouldReturnValidatedDataWithSubscriptionData()
}

/**
* @unreleased
* @since 3.14.0
* @dataProvider donationFormStatusProvider
* @throws Exception
*/
Expand Down Expand Up @@ -289,7 +289,7 @@ public function testValidatedShouldThrowExceptionDonationFormForbidden(DonationF
}

/**
* @unreleased
* @since 3.14.0
* @throws Exception
*/
public function testValidatedShouldThrowExceptionDonationFormFieldErrorsException(): void
Expand Down Expand Up @@ -366,7 +366,7 @@ public function testValidatedShouldThrowExceptionDonationFormFieldErrorsExceptio
}

/**
* @unreleased
* @since 3.14.0
*/
public function donationFormStatusProvider(): array
{
Expand Down

0 comments on commit 831ed6d

Please sign in to comment.