We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$SERVER['_']
Describe the bug
During running test.php encountered this notice
Notice: Undefined index: _ in /prep/wp-tests-config.php on line 84
(my line numbers might be a bit different due to other changes in the PRs submitted).
To Reproduce
From https://jira.mariadb.org/browse/MDBF-467 (Except using FROM php:7.4-cli as the Dockerfile start due to 8.0+ errors).
FROM php:7.4-cli
Expected behavior
No "Notice"
Additional context
I traced it down to: https://github.com/WordPress/phpunit-test-runner/blob/master/prepare.php#L99
I assume $_SERVER isn't set during CLI runs.
$_SERVER
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
During running test.php encountered this notice
Notice: Undefined index: _ in /prep/wp-tests-config.php on line 84
(my line numbers might be a bit different due to other changes in the PRs submitted).
To Reproduce
From https://jira.mariadb.org/browse/MDBF-467 (Except using
FROM php:7.4-cli
as the Dockerfile start due to 8.0+ errors).Expected behavior
No "Notice"
Additional context
I traced it down to:
https://github.com/WordPress/phpunit-test-runner/blob/master/prepare.php#L99
I assume
$_SERVER
isn't set during CLI runs.The text was updated successfully, but these errors were encountered: