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

PHP 8.1 QA (Follow-Up) #41

Merged
merged 3 commits into from
Sep 18, 2023
Merged

Conversation

tfrommen
Copy link
Contributor

@tfrommen tfrommen commented Sep 5, 2023

This PR is a follow-up to #40 that updates the tests to use static::assert* instead of global namespace functions.

Some tests were also missing a mock (e.g., is_ssl or home_url), or setting up the HTTP_HOST server value.

The PR also adds a basic GitHub Action workflow for running tests and PHP compatibility checks (see here).

Feel free to discard this PR, in case you don't want to update all the tests etc., or if you want to do it differently.

@gmazzap gmazzap merged commit 86bec05 into Brain-WP:refactoring-fastroute Sep 18, 2023
@tfrommen tfrommen deleted the php81-qa branch September 18, 2023 08:19
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