Skip to content

CS: normalize code style rules [1]#1238

Merged
jrfnl merged 5 commits into4.xfrom
phpcs-4.x/feature/155-normalize-some-code-style-rules-1
Sep 12, 2025
Merged

CS: normalize code style rules [1]#1238
jrfnl merged 5 commits into4.xfrom
phpcs-4.x/feature/155-normalize-some-code-style-rules-1

Conversation

@jrfnl
Copy link
Copy Markdown
Member

@jrfnl jrfnl commented Sep 12, 2025

Description

  • PHPCS config: sync an exclusion
    ... with the same exclusion in the .gitattributes file.
  • CS: don't use double quotes where not needed
  • CS: no unnecessary heredocs
  • CS: forbid join alias function
  • CS: enforce consistent formatting of return types

Suggested changelog entry

N/A

Related issues/external references

Part of a series of PRs to address #155

@jrfnl jrfnl added this to the 4.0.0 milestone Sep 12, 2025
@jrfnl jrfnl merged commit c5e7f48 into 4.x Sep 12, 2025
173 checks passed
@jrfnl jrfnl deleted the phpcs-4.x/feature/155-normalize-some-code-style-rules-1 branch September 12, 2025 00:51
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.

2 participants