Closed gabplch closed 10 months ago
What about the enums, I don't really think, that it is the place, where is is really needed.
What about the enums
A defined set of constants would be a fine case for a backed enum; however, I don't think it's worth bumping the language requirement of the package. Happy to keep things as they are in this PR.
Would you like to add more checks like phpstan/phpcs or others?
And when will you create new release?) I need it on my current project ^)
I fixed the Scrutinizer issue. Please remove the order imports
commit (https://github.com/jmikola/geojson/pull/42/commits/3b3d4fb4afea61aef1dfeac4e50d8499fe2a3cd5) from this PR and I can proceed with merging. I'm not sure why that was added but I'm not interested in those changes and prefer to keep use
statements for classes and functions grouped separately.
done
Thanks for the contribution. I'll look into the CI failure (related to my Scrutinizer CI account) when I get a chance and get this PR merged/released.
This would be a good use of enums; however, the install stats still show a significant number of pre-8.1 users so I don't think it'd be worth bumping for that reason alone.