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

Use current php version parser #38

Merged
merged 5 commits into from
Feb 20, 2025

Conversation

reinfi
Copy link
Contributor

@reinfi reinfi commented Feb 20, 2025

Fixes issue #37.

Hopefully the test is enough, without the change it fails locally. But then every test fails cause the PHPParser cannot parse the test file anymore.

@reinfi
Copy link
Contributor Author

reinfi commented Feb 20, 2025

Adding this in the same file does not work for running the test suite in PHP7.4. I would need to extract it to either an own TestClass or include the definition of the array when the test is executed.

@BenMorel
Copy link
Member

I don't mind raising the minimum PHP requirement to 8.1 either. This is currently the oldest supported version, and most brick libraries already require PHP 8.1.

@reinfi
Copy link
Contributor Author

reinfi commented Feb 20, 2025

should I do it in this pull request or in a separate one to keep them distinct?

@BenMorel
Copy link
Member

It would be nice to do it in another PR!

@reinfi reinfi force-pushed the use-current-php-version-parser branch from f00d71b to f6084bf Compare February 20, 2025 11:28
@BenMorel BenMorel merged commit 7591071 into brick:master Feb 20, 2025
6 checks passed
@BenMorel
Copy link
Member

Thank you, @reinfi!

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