mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Fix boolean casting and whitespace (@dsp / #68)
This commit is contained in:
parent
e2ebe6ce4e
commit
5ef46fe43c
@ -311,7 +311,7 @@ VALGRIND : " . ($leak_check ? $valgrind_header : 'Not used') . "
|
||||
define('PHP_QA_EMAIL', 'qa-reports@lists.php.net');
|
||||
define('QA_SUBMISSION_PAGE', 'http://qa.php.net/buildtest-process.php');
|
||||
define('QA_REPORTS_PAGE', 'http://qa.php.net/reports');
|
||||
define('TRAVIS_CI' , !!getenv('TRAVIS_PHP_VERSION'));
|
||||
define('TRAVIS_CI' , (bool) getenv('TRAVIS_PHP_VERSION'));
|
||||
|
||||
function save_or_mail_results()
|
||||
{
|
||||
@ -349,9 +349,9 @@ function save_or_mail_results()
|
||||
}
|
||||
|
||||
/* Ask the user to provide an email address, so that QA team can contact the user */
|
||||
if (TRAVIS_CI) {
|
||||
$user_email = 'travis at php dot net';
|
||||
} elseif (!strncasecmp($user_input, 'y', 1) || strlen(trim($user_input)) == 0) {
|
||||
if (TRAVIS_CI) {
|
||||
$user_email = 'travis at php dot net';
|
||||
} elseif (!strncasecmp($user_input, 'y', 1) || strlen(trim($user_input)) == 0) {
|
||||
echo "\nPlease enter your email address.\n(Your address will be mangled so that it will not go out on any\nmailinglist in plain text): ";
|
||||
flush();
|
||||
$user_email = trim(fgets($fp, 1024));
|
||||
|
Loading…
Reference in New Issue
Block a user