Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump friendsofphp/php-cs-fixer from 3.16.0 to 3.17.0 #71

Merged
merged 2 commits into from
Jun 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions src/DeveloperNotifications/OneTimePurchaseNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ public function getSku(): string
return $this->sku;
}

/**
* {@inheritDoc}
*/
public function getType(): string
{
return self::ONE_TIME_PRODUCT_NOTIFICATION;
Expand Down
3 changes: 0 additions & 3 deletions src/DeveloperNotifications/SubscriptionNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ public function getSubscriptionId(): string
return $this->subscriptionId;
}

/**
* {@inheritDoc}
*/
public function getType(): string
{
return self::SUBSCRIPTION_NOTIFICATION;
Expand Down
6 changes: 0 additions & 6 deletions src/DeveloperNotifications/TestNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,11 @@ public function getVersion(): string
return $this->version;
}

/**
* {@inheritDoc}
*/
public function getType(): string
{
return self::TEST_NOTIFICATION;
}

/**
* {@inheritDoc}
*/
public function getNotificationType(): int
{
return self::TEST_NOTIFICATION_TYPE;
Expand Down
2 changes: 1 addition & 1 deletion src/Products/ProductClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function get(): ProductPurchase
/**
* @throws GuzzleException
*/
public function acknowledge(?string $developerPayload = null): EmptyResponse
public function acknowledge(string $developerPayload = null): EmptyResponse
{
$uri = $this->getEndpoint(self::URI_ACKNOWLEDGE);

Expand Down
3 changes: 0 additions & 3 deletions src/Products/ProductPurchase.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,6 @@ public function toArray(): array
return $this->getPlainResponse();
}

/**
* {@inheritDoc}
*/
public function jsonSerialize(): array
{
return $this->toArray();
Expand Down
2 changes: 1 addition & 1 deletion src/Subscriptions/SubscriptionClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function __construct(ClientInterface $client, string $packageName, string
*
* @throws GuzzleException
*/
public function acknowledge(?string $developerPayload = null): EmptyResponse
public function acknowledge(string $developerPayload = null): EmptyResponse
{
$uri = $this->getEndpoint(self::URI_ACKNOWLEDGE);
$options = [
Expand Down
3 changes: 0 additions & 3 deletions src/Subscriptions/SubscriptionPurchase.php
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,6 @@ public function getCancelSurveyResult(): ?array
return $this->cancelSurveyResult;
}

/**
* {@inheritDoc}
*/
public function jsonSerialize(): array
{
return $this->toArray();
Expand Down
2 changes: 1 addition & 1 deletion src/ValueObjects/SubscriptionCancelSurveyResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ final class SubscriptionCancelSurveyResult
/**
* SubscriptionCancelSurveyResult constructor.
*/
public function __construct(int $cancelSurveyReason, ?string $userInputCancelReason = null)
public function __construct(int $cancelSurveyReason, string $userInputCancelReason = null)
{
$this->cancelSurveyReason = $cancelSurveyReason;
$this->userInputCancelReason = $userInputCancelReason;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ class OneTimePurchaseNotificationTest extends TestCase
*/
private $attributes;

/**
* {@inheritDoc}
*/
protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 0 additions & 3 deletions tests/DeveloperNotifications/SubscriptionNotificationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ class SubscriptionNotificationTest extends TestCase
*/
private $data;

/**
* {@inheritDoc}
*/
protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 0 additions & 3 deletions tests/DeveloperNotifications/TestNotificationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ class TestNotificationTest extends TestCase
*/
private $data;

/**
* {@inheritDoc}
*/
protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 0 additions & 3 deletions tests/Products/ProductClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ class ProductClientTest extends TestCase
*/
private $token;

/**
* {@inheritdoc}
*/
protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 0 additions & 3 deletions tests/Subscriptions/SubscriptionClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ class SubscriptionClientTest extends TestCase
*/
private $token;

/**
* {@inheritdoc}
*/
protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 0 additions & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase
*/
protected $faker;

/**
* {@inheritDoc}
*/
protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 0 additions & 3 deletions tests/ValueObjects/CancellationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ public function it_can_get_subscription_cancel_survey_result()
$this->assertNull($cancellation->getCancelSurveyResult());
}

/**
* @return mixed
*/
private function getRandomCancelReason()
{
return $this->faker->randomElement([
Expand Down
3 changes: 0 additions & 3 deletions tests/ValueObjects/IntroductoryPriceInfoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ class IntroductoryPriceInfoTest extends TestCase
*/
private $attributes;

/**
* {@inheritdoc}
*/
protected function setUp(): void
{
parent::setUp();
Expand Down
3 changes: 0 additions & 3 deletions tests/ValueObjects/SubscriptionPriceChangeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ class SubscriptionPriceChangeTest extends TestCase
*/
private $price;

/**
* {@inheritdoc}
*/
protected function setUp(): void
{
parent::setUp();
Expand Down