@@ -908,11 +908,11 @@ function save_or_mail_results()
908
908
}
909
909
910
910
foreach ($ test_dirs as $ dir ) {
911
- find_files (TEST_PHP_SRCDIR ."/ {$ dir }" , ( $ dir == 'ext ' ) );
911
+ find_files (TEST_PHP_SRCDIR ."/ {$ dir }" , $ dir == 'ext ' );
912
912
}
913
913
914
914
foreach ($ user_tests as $ dir ) {
915
- find_files ($ dir , ( $ dir == 'ext ' ) );
915
+ find_files ($ dir , $ dir == 'ext ' );
916
916
}
917
917
918
918
function find_files ($ dir , $ is_ext_dir = false , $ ignore = false )
@@ -1028,7 +1028,7 @@ function mail_qa_team($data, $status = false)
1028
1028
{
1029
1029
$ url_bits = parse_url (QA_SUBMISSION_PAGE );
1030
1030
1031
- if (( $ proxy = getenv ('http_proxy ' ) )) {
1031
+ if ($ proxy = getenv ('http_proxy ' )) {
1032
1032
$ proxy = parse_url ($ proxy );
1033
1033
$ path = $ url_bits ['host ' ].$ url_bits ['path ' ];
1034
1034
$ host = $ proxy ['host ' ];
@@ -2069,10 +2069,10 @@ function run_test($php, $file, $env)
2069
2069
$ start = $ end = $ length ;
2070
2070
}
2071
2071
// quote a non re portion of the string
2072
- $ temp = $ temp . preg_quote (substr ($ wanted_re , $ startOffset , ( $ start - $ startOffset) ), '/ ' );
2072
+ $ temp = $ temp . preg_quote (substr ($ wanted_re , $ startOffset , $ start - $ startOffset ), '/ ' );
2073
2073
// add the re unquoted.
2074
2074
if ($ end > $ start ) {
2075
- $ temp = $ temp . '( ' . substr ($ wanted_re , $ start +2 , ( $ end - $ start -2 ) ). ') ' ;
2075
+ $ temp = $ temp . '( ' . substr ($ wanted_re , $ start +2 , $ end - $ start -2 ). ') ' ;
2076
2076
}
2077
2077
$ startOffset = $ end + 2 ;
2078
2078
}
0 commit comments