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

Update Webhook api calls #184

Merged
merged 10 commits into from
Mar 3, 2024
Merged

Update Webhook api calls #184

merged 10 commits into from
Mar 3, 2024

Conversation

SamuelWei
Copy link

@SamuelWei SamuelWei commented Feb 26, 2024

Fixes #183

@SamuelWei SamuelWei linked an issue Feb 26, 2024 that may be closed by this pull request
@SamuelWei
Copy link
Author

Should be part of 5.x due to the BC

@FelixJacobi
Copy link
Member

FelixJacobi commented Feb 27, 2024

Ok, we must start a 5.4 branch based on 5.3 then and merge this up to master later after merging this PR to that one.

}

public function hooksList(): HooksListResponse
public function hooksList(HooksListParameters $hooksListParameters): HooksListResponse
Copy link
Member

Choose a reason for hiding this comment

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

Hm, that is a breaking change, this parameter must not be a real parameter in 5.x and this method must trigger a deprecation notice when it is missing.

@@ -418,14 +419,14 @@ public function hooksCreate(HooksCreateParameters $hookCreateParams): HooksCreat
return new HooksCreateResponse($xml);
}

public function getHooksListUrl(): string
public function getHooksListUrl(HooksListParameters $hooksListParameters): string
Copy link
Member

Choose a reason for hiding this comment

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

Hm, that is a breaking change, this parameter must not be a real parameter in 5.x and this method must trigger a deprecation notice when it is missing.

tests/unit/Parameters/HooksListParametersTest.php Outdated Show resolved Hide resolved
tests/unit/Parameters/HooksListParametersTest.php Outdated Show resolved Hide resolved
src/Parameters/HooksListParameters.php Outdated Show resolved Hide resolved
tests/unit/Responses/HooksDestroyResponseTest.php Outdated Show resolved Hide resolved
tests/unit/Responses/HooksDestroyResponseTest.php Outdated Show resolved Hide resolved
@FelixJacobi FelixJacobi merged commit 06574cf into master Mar 3, 2024
14 checks passed
@FelixJacobi FelixJacobi deleted the 183-add-filter-to-hook-list branch March 3, 2024 00:32
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.

Add support to filter hook list by meetingID
2 participants