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

Allow PHP 7.2 code to pass sniffs #10

Open
shohel opened this issue Nov 26, 2024 · 0 comments
Open

Allow PHP 7.2 code to pass sniffs #10

shohel opened this issue Nov 26, 2024 · 0 comments

Comments

@shohel
Copy link
Contributor

shohel commented Nov 26, 2024

Problem Description

Currently, the ruleset.xml enforces compatibility with PHP 7.0.

FYI, D5 PHP minimum support is 7.4. So, once D5 final version release, we will automatically switch to 7.4. (edited)

For now, we need to update the PHP version to 7.2

How to test

To auto fix - ./vendor/bin/phpcbf /your/script/path
To check - ./vendor/bin/phpcs /your/script/path


Attached PR

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

No branches or pull requests

3 participants