Skip to content

Conversation

@gaambo
Copy link
Contributor

@gaambo gaambo commented Jan 29, 2024

This PR updates fixes some code formating errors from merging gutenberg into core.
See:
WordPress/wordpress-develop#5922 (comment)
WordPress/wordpress-develop#5922 (comment)

Additionally, the rest of the file (navigation-link/index.php) and post-terms/index.php (since it was changed in similar manners because of the WP_Block_Type::$variations changes) were checked and fixed as well.

Question: Any way to check for these coding standards locally? I was running npm run lint:php but it never complained about those - are those some core only style guides which don't get enforced in Gutenberg?

@youknowriad
Copy link
Contributor

@gaambo Yes, the phpcs tests don't seem to fail for these (in both Gutenberg and core)

Copy link
Contributor

@youknowriad youknowriad left a comment

Choose a reason for hiding this comment

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

I guess some of these files will be changed with the timeout fixes

@gaambo
Copy link
Contributor Author

gaambo commented Jan 30, 2024

Changes were incorporated in #58389.

@gaambo gaambo closed this Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Code Quality Issues or PRs that relate to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants