Skip to content

Conversation

@retlehs
Copy link
Member

@retlehs retlehs commented Dec 13, 2024

No description provided.

@retlehs retlehs self-assigned this Dec 13, 2024
@vinkla
Copy link

vinkla commented Dec 13, 2024

I recommend switching to PER-CS which is the successor to PSR-12.

This specification extends, expands and replaces PSR-12, the extended coding style guide and requires adherence to PSR-1, the basic coding standard.

@retlehs
Copy link
Member Author

retlehs commented Dec 13, 2024

Looks like we'll have to bump to a minimum of PHP 8.1 in order to grab a Pint release that supports that, which I'm fine with. Thanks for the call out @vinkla 🙏

Might also reconsider the PHP minimum version bump here: roots/wordpress-core-installer#7

@vinkla
Copy link

vinkla commented Dec 13, 2024

Another idea is to use PHP-CS-Fixer directly. The setup is similar to Pint, which is a wrapper library. You won't even have to use a config file if you only want it for checking pull requests.

https://github.com/vinkla/extended-acf/blob/master/.github/workflows/php-cs-fixer.yml

@retlehs
Copy link
Member Author

retlehs commented Dec 14, 2024

#749

@retlehs retlehs closed this Dec 14, 2024
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.

3 participants