Skip to content

syntax cleanup, set minimum PHP version to 5.6 #72

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

Merged
merged 3 commits into from
Apr 6, 2025

Conversation

TheDigitalOrchard
Copy link
Contributor

  • No functional changes

Minor syntax cleanup

  • changed else if to elseif

  • added curly braces to parsed strings

  • replaced double-quoted strings with single-quoted when parsing not needed

  • Updated composer to require minimum PHP 5.6, but should we bump this to at least 7.x? It would be nice to remove the usage of the now-defunct list() construct, for example.

Overall, very handy little library. Let's keep it fresh.

@Galbar
Copy link
Owner

Galbar commented Mar 26, 2025

Hello 👋
Thanks a lot for this PR.

Could you update this line to 5.6 so that the build passes?

php-version: '5.4'

should we bump this to at least 7.x?

Yes. I tried once some time ago but the testing library had been updated and changed quite a bit. I could not make the tests work in the time box I had at the time. Now life has me busy, but I'm open to discussing and reviewing PRs 😃

@TheDigitalOrchard
Copy link
Contributor Author

PHP version bumped to 5.6 in the workflow file.

@Galbar Galbar merged commit c0ceea4 into Galbar:master Apr 6, 2025
1 check failed
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.

2 participants