Commit: f24bc9fccccec69b29684ba2e1f9aa947cd9a2b8 Author: Peter Kokot <peterko...@gmail.com> Fri, 26 Oct 2018 01:03:37 +0200 Parents: 0ff9b622a13b3a4fb2553ea1215ec6480f773934 Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=f24bc9fccccec69b29684ba2e1f9aa947cd9a2b8 Log: Update http to https Changed paths: M api.php M buildtest-process.php M buildtest-submit.php M handling-bugs.php M howto_phpt.php M howto_phpunit.php M include/release-qa.php M index.php M pftt.php M pulls/Markdown.Converter.js M pulls/api.php M pulls/index.php M reports/README M reports/details.php M reports/parse_ciqa.php M reports/parserfunc.php M reports/reportsfunctions.php M reports/run_tests.php M reports/test-insert.php M reports/todo.txt M reports/viewreports.php M running-tests.php M sample_tests/sample001.php M write-test.php
diff --git a/api.php b/api.php index 2f43389..99fe0a4 100644 --- a/api.php +++ b/api.php @@ -48,8 +48,8 @@ Pass in type=qa-releases (the only type currently), along with the desired forma <p> Example URLs: <ul> -<li>All information, serialized: <a href="api.php?type=qa-releases&format=serialize">http://qa.php.net/api.php?type=qa-releases&format=serialize</a></li> -<li>Only dev version numbers, json: <a href="api.php?type=qa-releases&format=json&only=dev_versions">http://qa.php.net/api.php?type=qa-releases&format=json&only=dev_versions</a></li> +<li>All information, serialized: <a href="api.php?type=qa-releases&format=serialize">https://qa.php.net/api.php?type=qa-releases&format=serialize</a></li> +<li>Only dev version numbers, json: <a href="api.php?type=qa-releases&format=json&only=dev_versions">https://qa.php.net/api.php?type=qa-releases&format=json&only=dev_versions</a></li> </ul> </p> <?php diff --git a/buildtest-process.php b/buildtest-process.php index b703cf6..5e3770c 100644 --- a/buildtest-process.php +++ b/buildtest-process.php @@ -29,7 +29,7 @@ mail ("qa-repo...@lists.php.net", "Test results for $version [$status]", base64_decode($_POST['php_test_data']), "From: nore...@php.net"); } - // Aggregator (http://qa.php.net/reports/) + // Aggregator (https://qa.php.net/reports/) include 'reports/parserfunc.php'; $array = parse_phpmaketest($version, $status, base64_decode($_POST['php_test_data'])); insertToDb_phpmaketest($array, $QA_RELEASES); diff --git a/buildtest-submit.php b/buildtest-submit.php index 57418a1..b128331 100644 --- a/buildtest-submit.php +++ b/buildtest-submit.php @@ -1,3 +1,3 @@ <?php -header("Location: http://qa.php.net/running-tests.php"); +header("Location: https://qa.php.net/running-tests.php"); ?> diff --git a/handling-bugs.php b/handling-bugs.php index 9d482e3..178436a 100644 --- a/handling-bugs.php +++ b/handling-bugs.php @@ -11,7 +11,7 @@ common_header(); <p> Welcome to the HOWTO on managing PHP bugs via <a -href="http://bugs.php.net/">bugs.php.net</a>. PHP is a large project with many +href="https://bugs.php.net/">bugs.php.net</a>. PHP is a large project with many bugs being submitted daily. Bug topics range from the PHP website itself, various PHP extensions, PEAR, etc. This document is for all PHP developers using the bug system. Because there are so many members using the system it's @@ -36,7 +36,7 @@ so (with 20406 being an example):</p> <ul> <li> - <a href="http://bugs.php.net/20406">http://bugs.php.net/20406</a> + <a href="https://bugs.php.net/20406">https://bugs.php.net/20406</a> </li> </ul> @@ -44,7 +44,7 @@ so (with 20406 being an example):</p> <ul> <li> - <a href="http://bugs.php.net/bug.php?id=20406">http://bugs.php.net/bug.php?id=20406</a> + <a href="https://bugs.php.net/bug.php?id=20406">https://bugs.php.net/bug.php?id=20406</a> </li> </ul> @@ -53,7 +53,7 @@ will choose the developer option which will then put you here:</p> <ul> <li> - <a href="http://bugs.php.net/bug.php?id=20406&edit=1">http://bugs.php.net/bug.php?id=20406&edit=1</a> + <a href="https://bugs.php.net/bug.php?id=20406&edit=1">https://bugs.php.net/bug.php?id=20406&edit=1</a> </li> </ul> @@ -64,7 +64,7 @@ the bug report and change the bug status. Please understand what text and status will be used and only choose a quickfix option if an appropriate quickfix exists. Choosing a quickfix that's not 100% correct will confuse and sometimes irritate the reporter. The following table lists them (see -also <a href="http://bugs.php.net/quick-fix-desc.php">quick-fix-desc.php</a>):</p> +also <a href="https://bugs.php.net/quick-fix-desc.php">quick-fix-desc.php</a>):</p> <h2>Manual answers</h2> @@ -190,10 +190,10 @@ So, be sure to leave a comment.</p> <ul> <li> The Jani Javascript bug popup window (right click to bookmark): - <a href='javascript:void(t=prompt("Get BUG report # ..",""));if(t){ void(top.location.href="http://bugs.php.net/bug.php?edit=1&id="+t);}'>here</a> + <a href='javascript:void(t=prompt("Get BUG report # ..",""));if(t){ void(top.location.href="https://bugs.php.net/bug.php?edit=1&id="+t);}'>here</a> </li> <li> - Look at the <a href="http://bugs.php.net/stats.php">raw bug stats</a>. + Look at the <a href="https://bugs.php.net/stats.php">raw bug stats</a>. </li> <li> Not leaving a comment means no email will be sent to the mailing list. diff --git a/howto_phpt.php b/howto_phpt.php index 51fa1d9..065bcc2 100644 --- a/howto_phpt.php +++ b/howto_phpt.php @@ -11,7 +11,7 @@ common_header(NULL, $TITLE); <img src="howto_phpt.png" /> -<p><strong>PFTT Command</strong> - Run this command in the <b>PFTT Shell</b> to reproduce the same tests. Use the `<b>rg</b>` command to get the same release if you don't already have it. Download and install PFTT from <a href="http://qa.php.net/pftt.php" target="_blank">http://qa.php.net/pftt.php</a>.</p> +<p><strong>PFTT Command</strong> - Run this command in the <b>PFTT Shell</b> to reproduce the same tests. Use the `<b>rg</b>` command to get the same release if you don't already have it. Download and install PFTT from <a href="https://qa.php.net/pftt.php" target="_blank">https://qa.php.net/pftt.php</a>.</p> <p><strong>Scenario Set</strong> - Scenarios that are tested (CLI, Apache mod_php ; Opcache, Filesystem, etc...)</p> @@ -23,7 +23,7 @@ common_header(NULL, $TITLE); <p>Report compares ERROR, FAILURE, TIMEOUT, CRASH and PASS for two PHP Builds, the <strong>Base Build</strong> with the <strong>Test Build</strong>. A +X indicates the count increased from Base to Test. A -X indicates the count decreased from Base to Test. If the difference is <font color="green">good</font>, it is shown in <font color="green">green</font> (fe increase in PASS, decrease in FAIL). If the difference is <font color="red">bad</font>, it is shown in <font color="red">red</font> (fe increase in FAIL).</p> -<p><a href="http://git.php.net/?p=pftt2.git;a=blob;f=src/com/mostc/pftt/model/core/EPhptTestStatus.java;h=9c0e00a92b05e1f0bd21601e197ccb4466e2b6d4;hb=HEAD" target="_blank">Full info on PHPT Test Statuses</a></p> +<p><a href="https://git.php.net/?p=pftt2.git;a=blob;f=src/com/mostc/pftt/model/core/EPhptTestStatus.java;h=9c0e00a92b05e1f0bd21601e197ccb4466e2b6d4;hb=HEAD" target="_blank">Full info on PHPT Test Statuses</a></p> <p><strong>Result-Pack</strong> All the test logs are compressed into result-packs, which can be downloaded using the two links in the report.</p> diff --git a/howto_phpunit.php b/howto_phpunit.php index 2bffa4c..4bad4da 100644 --- a/howto_phpunit.php +++ b/howto_phpunit.php @@ -21,7 +21,7 @@ common_header(NULL, $TITLE); <p>Report compares ERROR, FAILURE, TIMEOUT, CRASH and PASS for two PHP Builds, the <strong>Base Build</strong> with the <strong>Test Build</strong>. A +X indicates the count increased from Base to Test. A -X indicates the count decreased from Base to Test. If the difference is <font color="green">good</font>, it is shown in <font color="green">green</font> (fe increase in PASS, decrease in ERROR). If the difference is <font color="red">bad</font>, it is shown in <font color="red">red</font> (fe increase in FAILURE).</p> -<p><a href="http://git.php.net/?p=pftt2.git;a=blob;f=src/com/mostc/pftt/model/app/EPhpUnitTestStatus.java;h=31aa09ba8ee577603af9f22d94f78c0ff830c038;hb=HEAD" target="_blank">Full Info on PFTT's PHPUnit Test Statuses</a></p> +<p><a href="https://git.php.net/?p=pftt2.git;a=blob;f=src/com/mostc/pftt/model/app/EPhpUnitTestStatus.java;h=31aa09ba8ee577603af9f22d94f78c0ff830c038;hb=HEAD" target="_blank">Full Info on PFTT's PHPUnit Test Statuses</a></p> <p><strong>Result-Pack</strong> All the test logs are compressed into result-packs, which can be downloaded using the two links in the report.</p> diff --git a/include/release-qa.php b/include/release-qa.php index ec8d5fc..1a596bb 100644 --- a/include/release-qa.php +++ b/include/release-qa.php @@ -57,7 +57,7 @@ $QA_RELEASES = [ 'sha256_gz' => '', 'sha256_xz' => '', 'date' => '05 January 2017', - 'baseurl' => 'http://downloads.php.net/tyrael/', + 'baseurl' => 'https://downloads.php.net/tyrael/', ], ], @@ -70,7 +70,7 @@ $QA_RELEASES = [ 'sha256_gz' => '', 'sha256_xz' => '', 'date' => '07 December 2017', - 'baseurl' => 'http://downloads.php.net/ab/', + 'baseurl' => 'https://downloads.php.net/ab/', ], ], @@ -83,7 +83,7 @@ $QA_RELEASES = [ 'sha256_gz' => '35fb2ad8279bbb26810d32bc71d78f55482dd6b3e2f401b46c155ee80a235cff', 'sha256_xz' => '994185b8b395a3f0448364999e72a7fe42c14daa978ba6a6a446a8039dad10a8', 'date' => '25 Oct 2018', - 'baseurl' => 'http://downloads.php.net/~remi/', + 'baseurl' => 'https://downloads.php.net/~remi/', ], ], diff --git a/index.php b/index.php index 53b7189..6c9627c 100644 --- a/index.php +++ b/index.php @@ -29,8 +29,8 @@ common_header(); <p> <br> <strong>Windows users:</strong> - See <a href="http://windows.php.net/qa/">here</a> for the Windows QA builds and - <a href="http://windows.php.net/snaps/">here</a> for the Windows Snapshot builds. + See <a href="https://windows.php.net/qa/">here</a> for the Windows QA builds and + <a href="https://windows.php.net/snaps/">here</a> for the Windows Snapshot builds. </p> <h3>How To Help</h3> diff --git a/pftt.php b/pftt.php index a82bdb3..4ab4240 100644 --- a/pftt.php +++ b/pftt.php @@ -57,9 +57,9 @@ if ($branches!==FALSE) { ?> -<p><strong>PFTT Source Code:</strong> <a href="http://git.php.net/?p=pftt2.git">http://git.php.net/?p=pftt2.git</a></p> +<p><strong>PFTT Source Code:</strong> <a href="https://git.php.net/?p=pftt2.git">https://git.php.net/?p=pftt2.git</a></p> -<p><strong>PFTT Binaries:</strong> <a href="http://windows.php.net/downloads/snaps/ostc/pftt/" target="_blank">http://windows.php.net/downloads/snaps/ostc/pftt/</a></p> +<p><strong>PFTT Binaries:</strong> <a href="https://windows.php.net/downloads/snaps/ostc/pftt/" target="_blank">https://windows.php.net/downloads/snaps/ostc/pftt/</a></p> <br/> <br/> diff --git a/pulls/Markdown.Converter.js b/pulls/Markdown.Converter.js index cfec79e..37a5086 100644 --- a/pulls/Markdown.Converter.js +++ b/pulls/Markdown.Converter.js @@ -88,7 +88,7 @@ else // caused an exception (and hence stopped the rendering) when the user entered // e.g. [push] or [__proto__]. Adding a prefix to the actual key prevents this // (since no builtin property starts with "s_"). See - // http://meta.stackoverflow.com/questions/64655/strange-wmd-bug + // https://meta.stackoverflow.com/questions/64655/strange-wmd-bug // (granted, switching from Array() to Object() alone would have left only __proto__ // to be a problem) function SaveHash() { } @@ -331,7 +331,7 @@ else [ ]{0,3} // attacklab: g_tab_width - 1 ( // save in $1 <! - (--(?:|(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--) // see http://www.w3.org/TR/html-markup/syntax.html#comments and http://meta.stackoverflow.com/q/95256 + (--(?:|(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--) // see https://www.w3.org/TR/html-markup/syntax.html#comments and https://meta.stackoverflow.com/q/95256 > [ \t]* (?=\n{2,}) // followed by a blank line @@ -421,7 +421,7 @@ else text = _DoImages(text); text = _DoAnchors(text); - // Make links out of things like `<http://example.com/>` + // Make links out of things like `<https://example.com/>` // Must come after _DoAnchors(), because you can use < and > // delimiters in inline links like [this](<url>). text = _DoAutoLinks(text); @@ -452,7 +452,7 @@ else text = text.replace(regex, function (wholeMatch) { var tag = wholeMatch.replace(/(.)<\/?code>(?=.)/g, "$1`"); - tag = escapeCharacters(tag, wholeMatch.charAt(1) == "!" ? "\\`*_/" : "\\`*_"); // also escape slashes in comments to prevent autolinking there -- http://meta.stackoverflow.com/questions/95987 + tag = escapeCharacters(tag, wholeMatch.charAt(1) == "!" ? "\\`*_/" : "\\`*_"); // also escape slashes in comments to prevent autolinking there -- https://meta.stackoverflow.com/questions/95987 return tag; }); @@ -760,7 +760,7 @@ else // // attacklab: add sentinel to hack around khtml/safari bug: - // http://bugs.webkit.org/show_bug.cgi?id=11231 + // https://bugs.webkit.org/show_bug.cgi?id=11231 text += "~0"; // Re-usable pattern to match any entirel ul or ol list: @@ -1198,13 +1198,13 @@ else function _DoAutoLinks(text) { // note that at this point, all other URL in the text are already hyperlinked as <a href=""></a> - // *except* for the <http://www.foo.com> case + // *except* for the <https://www.foo.com> case // automatically add < and > around unadorned raw hyperlinks // must be preceded by space/BOF and followed by non-word/EOF character text = text.replace(/(^|\s)(https?|ftp)(:\/\/[-A-Z0-9+&@#\/%?=~_|\[\]\(\)!:,\.;]*[-A-Z0-9+&@#\/%=~_|\[\]])($|\W)/gi, "$1<$2$3>$4"); - // autolink anything like <http://example.com> + // autolink anything like <https://example.com> var replacer = function (wholematch, m1) { return "<a href=\"" + m1 + "\">" + pluginHooks.plainLinkText(m1) + "</a>"; } text = text.replace(/<((https?|ftp):[^'">\s]+)>/gi, replacer); diff --git a/pulls/api.php b/pulls/api.php index c7b2f06..58260b7 100644 --- a/pulls/api.php +++ b/pulls/api.php @@ -1,7 +1,7 @@ <?php $errors = []; require('./config.php'); -define('USER_AGENT', 'PHP Pull Request Admin (http://qa.php.net/pulls php-qa@lists.php.net)'); +define('USER_AGENT', 'PHP Pull Request Admin (https://qa.php.net/pulls php-qa@lists.php.net)'); if ($_SERVER['SERVER_NAME'] === 'schlueters.de') { define('DEV', true); diff --git a/pulls/index.php b/pulls/index.php index 197eac2..b264e89 100644 --- a/pulls/index.php +++ b/pulls/index.php @@ -133,8 +133,8 @@ if (!constant('GITHUB_TOKEN')) { <div id="nextRepoPage"><a href="javascript:void(0);">Next-->>></a></div> <div id="mainContent"> <ul id="repolist"></ul> - <p>Even though the PHP project is using <a href="http://git.php.net">git.php.net</a> - as master location for Git repositories we provide official <a href="http://github.com/php">mirrors on GitHub</a>, + <p>Even though the PHP project is using <a href="https://git.php.net">git.php.net</a> + as master location for Git repositories we provide official <a href="https://github.com/php">mirrors on GitHub</a>, which can be used to create and discuss feature branches. This tool here tries to assist with the handling of GitHub pull requests. </p> <p>In general discussions about pull requests should be done in the appropriate places diff --git a/reports/README b/reports/README index 2d8de8c..472086c 100644 --- a/reports/README +++ b/reports/README @@ -53,7 +53,7 @@ When do we have new reports ? ----------------------------- When you do a 'make test' on your PHP sourcedir, you can send a report when something went wrong. If you do this, the test program will build a flat file containing all failed tests output/diff -and send it to http://qa.php.net/buildtest-process.php (via POST method). +and send it to https://qa.php.net/buildtest-process.php (via POST method). Previously, this page only sent the report to a dedicated mailing list (qa-reports at lists.php.net). We now add a parser that intercept the data and send it to the function located in reports/parserfunc.php:parse_phpmaketest() diff --git a/reports/details.php b/reports/details.php index 4dea89f..72f8e61 100644 --- a/reports/details.php +++ b/reports/details.php @@ -7,7 +7,7 @@ # | This source file is subject to version 3.01 of the PHP license, | # | that is bundled with this package in the file LICENSE, and is | # | available through the world-wide-web at the following url: | -# | http://www.php.net/license/3_01.txt | +# | https://php.net/license/3_01.txt | # | If you did not receive a copy of the PHP license and are unable to | # | obtain it through the world-wide-web, please send a note to | # | lice...@php.net so we can mail you a copy immediately. | diff --git a/reports/parse_ciqa.php b/reports/parse_ciqa.php index caa08e8..3fdbc2d 100644 --- a/reports/parse_ciqa.php +++ b/reports/parse_ciqa.php @@ -7,7 +7,7 @@ # | This source file is subject to version 3.01 of the PHP license, | # | that is bundled with this package in the file LICENSE, and is | # | available through the world-wide-web at the following url: | -# | http://www.php.net/license/3_01.txt | +# | https://php.net/license/3_01.txt | # | If you did not receive a copy of the PHP license and are unable to | # | obtain it through the world-wide-web, please send a note to | # | lice...@php.net so we can mail you a copy immediately. | diff --git a/reports/parserfunc.php b/reports/parserfunc.php index bbfae30..e0f98bf 100644 --- a/reports/parserfunc.php +++ b/reports/parserfunc.php @@ -7,7 +7,7 @@ # | This source file is subject to version 3.01 of the PHP license, | # | that is bundled with this package in the file LICENSE, and is | # | available through the world-wide-web at the following url: | -# | http://www.php.net/license/3_01.txt | +# | https://php.net/license/3_01.txt | # | If you did not receive a copy of the PHP license and are unable to | # | obtain it through the world-wide-web, please send a note to | # | lice...@php.net so we can mail you a copy immediately. | diff --git a/reports/reportsfunctions.php b/reports/reportsfunctions.php index 54f89ac..b5fcf3d 100644 --- a/reports/reportsfunctions.php +++ b/reports/reportsfunctions.php @@ -7,7 +7,7 @@ # | This source file is subject to version 3.01 of the PHP license, | # | that is bundled with this package in the file LICENSE, and is | # | available through the world-wide-web at the following url: | -# | http://www.php.net/license/3_01.txt | +# | https://php.net/license/3_01.txt | # | If you did not receive a copy of the PHP license and are unable to | # | obtain it through the world-wide-web, please send a note to | # | lice...@php.net so we can mail you a copy immediately. | diff --git a/reports/run_tests.php b/reports/run_tests.php index e47a7d0..233321e 100644 --- a/reports/run_tests.php +++ b/reports/run_tests.php @@ -7,7 +7,7 @@ # | This source file is subject to version 3.01 of the PHP license, | # | that is bundled with this package in the file LICENSE, and is | # | available through the world-wide-web at the following url: | -# | http://www.php.net/license/3_01.txt | +# | https://php.net/license/3_01.txt | # | If you did not receive a copy of the PHP license and are unable to | # | obtain it through the world-wide-web, please send a note to | # | lice...@php.net so we can mail you a copy immediately. | diff --git a/reports/test-insert.php b/reports/test-insert.php index 2767ea6..141a9e7 100644 --- a/reports/test-insert.php +++ b/reports/test-insert.php @@ -7,7 +7,7 @@ # | This source file is subject to version 3.01 of the PHP license, | # | that is bundled with this package in the file LICENSE, and is | # | available through the world-wide-web at the following url: | -# | http://www.php.net/license/3_01.txt | +# | https://php.net/license/3_01.txt | # | If you did not receive a copy of the PHP license and are unable to | # | obtain it through the world-wide-web, please send a note to | # | lice...@php.net so we can mail you a copy immediately. | diff --git a/reports/todo.txt b/reports/todo.txt index 0f113a9..3dc8152 100644 --- a/reports/todo.txt +++ b/reports/todo.txt @@ -4,7 +4,7 @@ GROUP BY VERSION,YEAR(DATE),WEEK(DATE) If we have time : graph to see reports sent by version and by date -use http://svn.php.net/viewvc/web/php/trunk/include/version.inc?view=co +use https://svn.php.net/viewvc/web/php/trunk/include/version.inc?view=co ----------------------------------------- Improve documentation functions, syntax, etc. diff --git a/reports/viewreports.php b/reports/viewreports.php index a850005..1ba03d2 100644 --- a/reports/viewreports.php +++ b/reports/viewreports.php @@ -7,7 +7,7 @@ # | This source file is subject to version 3.01 of the PHP license, | # | that is bundled with this package in the file LICENSE, and is | # | available through the world-wide-web at the following url: | -# | http://www.php.net/license/3_01.txt | +# | https://php.net/license/3_01.txt | # | If you did not receive a copy of the PHP license and are unable to | # | obtain it through the world-wide-web, please send a note to | # | lice...@php.net so we can mail you a copy immediately. | @@ -59,16 +59,16 @@ $database->close(); //URL test if (substr($version, 0, 3) == '5.2') { - $urlTest = 'http://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.2;f='. + $urlTest = 'https://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.2;f='. ltrim($testName, '/').''; } elseif (substr($version, 0, 3) == '5.3') { - $urlTest = 'http://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.3;f='. + $urlTest = 'https://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.3;f='. ltrim($testName, '/').''; } elseif (substr($version, 0, 3) == '5.4') { - $urlTest = 'http://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.4;f='. + $urlTest = 'https://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/PHP-5.4;f='. ltrim($testName, '/').''; } elseif (substr($version, 0, 3) == '5.5') { - $urlTest = 'http://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/master;f='. + $urlTest = 'https://git.php.net/?p=php-src.git;a=blob;hb=refs/heads/master;f='. ltrim($testName, '/').''; } else { $urlTest = ''; @@ -77,7 +77,7 @@ if (substr($version, 0, 3) == '5.2') { // BUG url if (preg_match('@bug([0-9]{1,}).phpt$@', $testName, $preg)) { $bugId = (int)$preg[1]; - $bugUrl = 'http://bugs.php.net/'.$preg[1]; + $bugUrl = 'https://bugs.php.net/'.$preg[1]; } else { $bugId = null; $bugUrl = ''; @@ -114,7 +114,7 @@ if ($bugId) { ?> <table style="width:100%; border-width=0"> <tr id="title"> - <th class="details" id="number"><a href="http://bugs.php.net/<?php echo $bugId; ?>"><?php echo htmlentities($bugxml->bug_type);?> #<?php echo $bugId; ?></a></th> + <th class="details" id="number"><a href="https://bugs.php.net/<?php echo $bugId; ?>"><?php echo htmlentities($bugxml->bug_type);?> #<?php echo $bugId; ?></a></th> <td id="summary" colspan="5"><?php echo htmlentities($bugxml->sdesc);?></td> </tr> <tr id="submission"> @@ -128,13 +128,13 @@ if ($bugId) { <th class="details">From:</th> <td><?php echo htmlentities(strtok($bugxml->email, '@'));?></td> <th class="details">Assigned:</th> - <td><a href="http://bugs.php.net/search.php?cmd=display&assign=<?php echo htmlentities($bugxml->assign, ENT_QUOTES);?>"><?php echo htmlentities($bugxml->assign); ?></a></td> + <td><a href="https://bugs.php.net/search.php?cmd=display&assign=<?php echo htmlentities($bugxml->assign, ENT_QUOTES);?>"><?php echo htmlentities($bugxml->assign); ?></a></td> </tr> <tr id="categorization"> <th class="details">Status:</th> <td><?php echo htmlentities($bugxml->status);?></td> <th class="details">Package:</th> - <td><a href="http://bugs.php.net/search.php?cmd=display&package_name[]=<?php echo htmlentities($bugxml->package_name, ENT_QUOTES);?>"><?php echo htmlentities($bugxml->package_name);?></a></td> + <td><a href="https://bugs.php.net/search.php?cmd=display&package_name[]=<?php echo htmlentities($bugxml->package_name, ENT_QUOTES);?>"><?php echo htmlentities($bugxml->package_name);?></a></td> </tr> <tr id="situation"> <th class="details">PHP Version:</th> diff --git a/running-tests.php b/running-tests.php index d382561..76c3596 100644 --- a/running-tests.php +++ b/running-tests.php @@ -86,7 +86,7 @@ ext/myext/tests/myext.diff - diff of .out and .exp (D) factors applying to the tester's environment, or there is a bug in PHP. If this is a known bug, we strive to provide bug numbers, in either the test name or the file name. You can check the status of such a bug, by going to: -http://bugs.php.net/12345 where 12345 is the bug number. For clarity and +https://bugs.php.net/12345 where 12345 is the bug number. For clarity and automated processing, bug numbers are prefixed by a hash sign '#' in test names and/or test cases are named bug12345.phpt.</p> diff --git a/sample_tests/sample001.php b/sample_tests/sample001.php index 441eafc..8feb2e1 100644 --- a/sample_tests/sample001.php +++ b/sample_tests/sample001.php @@ -23,7 +23,7 @@ precision=14 --SKIPIF-- <?php if (!extension_loaded("filter")) die("Skipped: filter extension required."); ?> --GET-- -a=<b>test</b>&b=http://example.com +a=<b>test</b>&b=https://example.com --POST-- c=<p>string</p>&d=12345.7 --FILE-- @@ -45,7 +45,7 @@ echo "Done\n"; ?> --EXPECTF-- string(4) "test" -string(18) "http://example.com" +string(19) "https://example.com" string(27) "&#60;b&#62;test&#60;/b&#62;" Notice: Object of class stdClass could not be converted to int in %ssample001.php on line %d diff --git a/write-test.php b/write-test.php index 5e6f047..33aa6bb 100644 --- a/write-test.php +++ b/write-test.php @@ -49,7 +49,7 @@ you have everything you need.</p> php functions available. You can write a test on a basic language function (a string function or an array function) , or a function provided by one of PHP's numerous extensions (a mysql function or a image function or a mcrypt function).</p> -<p>You can find out what functions already have phpt tests by looking in the <a href="http://git.php.net/?p=php-src.git;a=tree;">html +<p>You can find out what functions already have phpt tests by looking in the <a href="https://git.php.net/?p=php-src.git;a=tree;">html version</a> of the git repository (ext/standard/tests/ is a good place to start looking - though not <i>all</i> the tests currently written are in there). If you look at the <a href="http://gcov.php.net">gcov pages</a> you can see which functions have lots of tests and which need more, although these pages only @@ -220,7 +220,7 @@ of failures on other platforms. If you don't have karma to commit have a look at clean up any temporary resources (eg files) that you used in the test. There is a special --CLEAN-- section to help you do this - see <a href="#clean">here</a>. <p>Another good check is to look at what lines of code in the PHP source your test case covers. -This is easy to do, there are some instructions on the <a href="http://wiki.php.net/doc/articles/writing-tests">PHP Wiki</a>.</p> +This is easy to do, there are some instructions on the <a href="https://wiki.php.net/doc/articles/writing-tests">PHP Wiki</a>.</p> <h3><a name="whattodo" href="#whattodo" class="anchor">#</a>What should I do with my test case when I've written and tested it?</h3> <p>The next step is to get someone to review it. If it's short you can paste it into a note and