File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ function write_information($show_html)
311
311
define (
'PHP_QA_EMAIL ' ,
'[email protected] ' );
312
312
define ('QA_SUBMISSION_PAGE ' , 'http://qa.php.net/buildtest-process.php ' );
313
313
define ('QA_REPORTS_PAGE ' , 'http://qa.php.net/reports ' );
314
- define ('TRAVIS_CI ' , !! getenv ('TRAVIS_PHP_VERSION ' ));
314
+ define ('TRAVIS_CI ' , ( bool ) getenv ('TRAVIS_PHP_VERSION ' ));
315
315
316
316
function save_or_mail_results ()
317
317
{
@@ -349,9 +349,9 @@ function save_or_mail_results()
349
349
}
350
350
351
351
/* Ask the user to provide an email address, so that QA team can contact the user */
352
- if (TRAVIS_CI ) {
353
- $ user_email = 'travis at php dot net ' ;
354
- } elseif (!strncasecmp ($ user_input , 'y ' , 1 ) || strlen (trim ($ user_input )) == 0 ) {
352
+ if (TRAVIS_CI ) {
353
+ $ user_email = 'travis at php dot net ' ;
354
+ } elseif (!strncasecmp ($ user_input , 'y ' , 1 ) || strlen (trim ($ user_input )) == 0 ) {
355
355
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): " ;
356
356
flush ();
357
357
$ user_email = trim (fgets ($ fp , 1024 ));
You can’t perform that action at this time.
0 commit comments