Skip to content

Removes deprecated Zone Settings list and corrects coverage - #71

Merged
SergkeiM merged 1 commit into
masterfrom
feature/dep-settings
Aug 14, 2026
Merged

SergkeiM merged 1 commit into
masterfrom
feature/dep-settings

Conversation

@SergkeiM

Copy link
Copy Markdown
Owner

Removes the Zones/Settings::list operation, as Cloudflare deprecated its corresponding API endpoint without providing a replacement. Users needing this functionality can still issue direct HTTP requests.

Introduces a new utility that strips comments from PHP source files before calculating API coverage. This prevents example requests written in docblocks from being mistakenly counted as implemented operations, ensuring more accurate coverage metrics.

Updates API coverage documentation to reflect these changes, showing a refined count of implemented operations.

The `GET /zones/{}/settings` endpoint for listing all zone settings was deprecated by Cloudflare and has no replacement. This change removes its wrapper from the client.

Additionally, a utility function `withoutComments` is introduced to accurately parse endpoint source code, preventing example HTTP requests found in docblocks from being mistakenly included in the API coverage count. This improves the accuracy of the reported coverage metrics.
@SergkeiM
SergkeiM merged commit e35ec13 into master Aug 14, 2026
10 checks passed
@SergkeiM
SergkeiM deleted the feature/dep-settings branch August 14, 2026 22:09
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.

1 participant