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

Maintenance: move REST_NAMESPACE const to BaeBlock PHP class #2198

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

GP-Dan-Tovbein
Copy link
Contributor

[No ticket needed]

Description

This small change is because to avoid repeated code and easy to maintain. The REST_NAMESPACE constant is being used, at least, by two different blocks. These are the Spreadsheet and the Happypoint.

It helps to avoid duplicating code
@GP-Dan-Tovbein GP-Dan-Tovbein self-assigned this Jan 18, 2024
planet-4 added a commit to greenpeace/planet4-test-iocaste that referenced this pull request Jan 18, 2024
/unhold dda3b87f-a2e7-40b4-8f6c-e74cd3ad2d0b
@planet-4
Copy link
Contributor

Test instance is ready 🚀

🌑 iocaste | admin | blocks report | CircleCI | composer-local.json

⌚ 2024.01.18 19:39:55

Copy link
Contributor

@mleray mleray left a comment

Choose a reason for hiding this comment

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

👍

@GP-Dan-Tovbein GP-Dan-Tovbein merged commit 6196229 into main Jan 19, 2024
14 checks passed
@GP-Dan-Tovbein GP-Dan-Tovbein deleted the move-rest-namespace-const-to-base-block-class branch January 19, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants