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

CS Fixes #1372

Merged
merged 4 commits into from
Jan 18, 2025
Merged

CS Fixes #1372

merged 4 commits into from
Jan 18, 2025

Conversation

JimTools
Copy link
Contributor

@JimTools JimTools commented Jan 15, 2025

  • rename config file to default for auto-detection
  • Running php-cs-fixer across the codebase to fix CS drift.

closes #1336 #1369

@JimTools JimTools mentioned this pull request Jan 15, 2025
Changing php-cs-fixer config filename to the default so it's detected
without having to specify the config flag
Running php-cs-fixer to fix CS drift
when specifying multiple files php-cs-fixer needs to be provider rules
or the config file.

see PHP-CS-Fixer/PHP-CS-Fixer#4279
@JimTools
Copy link
Contributor Author

@makasim I've fixed the code style checks and that's now green.

But there's an issue with Symfony 6.2/6.3. I've spent some time debugging it but have not gotten anywhere yet. However, it doesn't look like the CS fixes have caused this.

I've checked out 0.10.24 and still get the failures.

@makasim makasim merged commit fcaa718 into php-enqueue:master Jan 18, 2025
27 of 30 checks passed
@makasim
Copy link
Member

makasim commented Jan 18, 2025

@JimTools thank you

@JimTools JimTools deleted the bugfix/cs-drift branch January 18, 2025 09:07
@JimTools
Copy link
Contributor Author

@makasim you’re welcome, the static analysis changes should be good to go as well.

I’ll continue looking into CI failures and fix the rest of the warnings in the test output

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.

Is not compatible with php8.2?
2 participants