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

What should PHPCompatibility rules be? #48

Open
iandunn opened this issue Apr 16, 2021 · 0 comments
Open

What should PHPCompatibility rules be? #48

iandunn opened this issue Apr 16, 2021 · 0 comments
Labels
question Further information is requested

Comments

@iandunn
Copy link
Member

iandunn commented Apr 16, 2021

The PRT doesn't have a policy on PHP version support. It could be helpful, though, to check if plugins are gracefully handling cases where they don't support a version.

If a plugin uses PHP 7 syntax, it should define the Requires PHP header, and maybe have an explicit version_compare() check too?

@iandunn iandunn added the question Further information is requested label Apr 16, 2021
@iandunn iandunn added this to the 1: Create Plugin Standard milestone Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant