Skip to content

[5.4] Github Actions: Automatic PHP codestyle fixes for PRs#46874

Closed
Hackwar wants to merge 41 commits into
joomla:5.4-devfrom
Hackwar:ghactions-codestyle
Closed

[5.4] Github Actions: Automatic PHP codestyle fixes for PRs#46874
Hackwar wants to merge 41 commits into
joomla:5.4-devfrom
Hackwar:ghactions-codestyle

Conversation

@Hackwar

@Hackwar Hackwar commented Feb 12, 2026

Copy link
Copy Markdown
Member

Summary of Changes

This PR implements automatic PHP codestyle fixes to pull requests. When a PR does not have the right codestyle, this will create suggestions to fix it.

This is an updated remake of #45652

@richard67 richard67 changed the title [5.4] Github Actions: Automatic codestyle fixes for PRs [5.4] Github Actions: Automatic PHP codestyle fixes for PRs Feb 15, 2026
@richard67

Copy link
Copy Markdown
Member

@Hackwar As this PR handles only PHP code style, I've allowed myself to add that to the title and description.

@richard67

Copy link
Copy Markdown
Member

@Hackwar What happens if both PHP code style checkers find some issue at the same place and both make suggestions? Will that work?

And how about JS and CSS code style fixes? Could those be handled, too, with a GitHub action (ans possibly new corresponding commands in our package.json)?

@richard67

Copy link
Copy Markdown
Member

Other question. The CI workflow runs on both push and pull_request events. Could this be an issue, and we should create code style suggestions only on pull_request but not on push?

@Hackwar

Hackwar commented Jun 11, 2026

Copy link
Copy Markdown
Member Author

Closing this one for #47914

@Hackwar Hackwar closed this Jun 11, 2026
@Hackwar Hackwar deleted the ghactions-codestyle branch June 11, 2026 09:07
@richard67

Copy link
Copy Markdown
Member

Closing this one for #47914

@Hackwar I assume you meant #47936 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants