Closed tfrommen closed 1 year ago
This PR is a follow-up to #40 that updates the tests to use static::assert* instead of global namespace functions.
static::assert*
Some tests were also missing a mock (e.g., is_ssl or home_url), or setting up the HTTP_HOST server value.
is_ssl
home_url
HTTP_HOST
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.
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
orhome_url
), or setting up theHTTP_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.