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

Enhancement: Ensure Recipient is set for specific actions #75

Merged
merged 9 commits into from
Sep 2, 2024

Conversation

OskarStark
Copy link
Contributor

@OskarStark OskarStark commented Aug 30, 2024

  • refactored the GroupsClient

@OskarStark OskarStark force-pushed the feature/ensure-recipient branch from 0bd1cff to cd2fd44 Compare August 30, 2024 10:21
@OskarStark OskarStark marked this pull request as ready for review August 30, 2024 10:21
Copy link
Contributor

@Vitexus Vitexus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much better code than before :)

src/Client/GroupsClient.php Show resolved Hide resolved
tests/Client/GroupsClientTest.php Show resolved Hide resolved
@OskarStark
Copy link
Contributor Author

Ready to merge from my side

@OskarStark OskarStark force-pushed the feature/ensure-recipient branch 2 times, most recently from 959a0ce to 7825f55 Compare September 2, 2024 10:36
@OskarStark
Copy link
Contributor Author

Rebased

@slunak
Copy link
Owner

slunak commented Sep 2, 2024

Would you mind to merge master into this one please?

@OskarStark OskarStark force-pushed the feature/ensure-recipient branch from 7825f55 to 3e81c9d Compare September 2, 2024 10:48
@OskarStark OskarStark force-pushed the feature/ensure-recipient branch from 3e81c9d to 98f8a19 Compare September 2, 2024 10:49
@OskarStark
Copy link
Contributor Author

I rebased master again

@@ -34,69 +34,104 @@ public function testCanBeConstructed(): void
$this->assertInstanceOf(GroupsClient::class, $client);
}

public function testBuildApiUrl(): void
/**
* @dataProvider buildApiUrlProvider
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use attributes? Because of

1) Metadata found in doc-comment for method Client\GroupsClientTest::testBuildApiUrl(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@slunak slunak merged commit abb4eb1 into slunak:master Sep 2, 2024
6 checks passed
@OskarStark OskarStark deleted the feature/ensure-recipient branch September 3, 2024 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants