Browse Source

Use HTTPS for various other URLs

Marc Würth 8 years ago
parent
commit
8d4a13a3d1

+ 1 - 1
src/Cache/Engine/ApcEngine.php

@@ -170,7 +170,7 @@ class ApcEngine extends CacheEngine
      * @param string $key Identifier for the data.
      * @param mixed $value Data to be cached.
      * @return bool True if the data was successfully cached, false on failure.
-     * @link http://php.net/manual/en/function.apc-add.php
+     * @link https://secure.php.net/manual/en/function.apc-add.php
      */
     public function add($key, $value)
     {

+ 1 - 1
src/Cache/Engine/MemcachedEngine.php

@@ -276,7 +276,7 @@ class MemcachedEngine extends CacheEngine
      * @param string $key Identifier for the data
      * @param mixed $value Data to be cached
      * @return bool True if the data was successfully cached, false on failure
-     * @see http://php.net/manual/en/memcache.set.php
+     * @see https://secure.php.net/manual/en/memcache.set.php
      */
     public function write($key, $value)
     {

+ 1 - 1
src/Console/ConsoleErrorHandler.php

@@ -61,7 +61,7 @@ class ConsoleErrorHandler extends BaseErrorHandler
      * @param \Exception $exception Exception instance.
      * @return void
      * @throws \Exception When renderer class not found
-     * @see http://php.net/manual/en/function.set-exception-handler.php
+     * @see https://secure.php.net/manual/en/function.set-exception-handler.php
      */
     public function handleException(Exception $exception)
     {

+ 1 - 1
src/Console/Shell.php

@@ -882,7 +882,7 @@ class Shell
      * Stop execution of the current script.
      * Raises a StopException to try and halt the execution.
      *
-     * @param int|string $status see http://php.net/exit for values
+     * @param int|string $status see https://secure.php.net/exit for values
      * @throws \Cake\Console\Exception\StopException
      * @return void
      */

+ 1 - 1
src/Core/Configure/Engine/IniConfig.php

@@ -49,7 +49,7 @@ use Cake\Utility\Hash;
  * 'yes', 'no', 'on', 'off', 'null' are handled. These values will be
  * converted to their boolean equivalents.
  *
- * @see http://php.net/parse_ini_file
+ * @see https://secure.php.net/parse_ini_file
  */
 class IniConfig implements ConfigEngineInterface
 {

+ 1 - 1
src/Database/Schema/SqlserverSchema.php

@@ -76,7 +76,7 @@ class SqlserverSchema extends BaseSchema
      * @param int|null $precision The column precision
      * @param int|null $scale The column scale
      * @return array Array of column information.
-     * @link http://technet.microsoft.com/en-us/library/ms187752.aspx
+     * @link https://technet.microsoft.com/en-us/library/ms187752.aspx
      */
     protected function _convertColumn($col, $length = null, $precision = null, $scale = null)
     {

+ 1 - 1
src/Error/BaseErrorHandler.php

@@ -180,7 +180,7 @@ abstract class BaseErrorHandler
      * @param \Exception $exception Exception instance.
      * @return void
      * @throws \Exception When renderer class not found
-     * @see http://php.net/manual/en/function.set-exception-handler.php
+     * @see https://secure.php.net/manual/en/function.set-exception-handler.php
      */
     public function handleException(Exception $exception)
     {

+ 2 - 2
src/Error/Debugger.php

@@ -111,7 +111,7 @@ class Debugger
         $docRef = ini_get('docref_root');
 
         if (empty($docRef) && function_exists('ini_set')) {
-            ini_set('docref_root', 'http://php.net/');
+            ini_set('docref_root', 'https://secure.php.net/');
         }
         if (!defined('E_RECOVERABLE_ERROR')) {
             define('E_RECOVERABLE_ERROR', 4096);
@@ -405,7 +405,7 @@ class Debugger
      * @param int $line Line number to highlight.
      * @param int $context Number of lines of context to extract above and below $line.
      * @return array Set of lines highlighted
-     * @see http://php.net/highlight_string
+     * @see https://secure.php.net/highlight_string
      * @link https://book.cakephp.org/3.0/en/development/debugging.html#getting-an-excerpt-from-a-file
      */
     public static function excerpt($file, $line, $context = 2)

+ 1 - 1
src/Event/Decorator/AbstractDecorator.php

@@ -49,7 +49,7 @@ abstract class AbstractDecorator
     /**
      * Invoke
      *
-     * @link http://php.net/manual/en/language.oop5.magic.php#object.invoke
+     * @link https://secure.php.net/manual/en/language.oop5.magic.php#object.invoke
      * @return mixed
      */
     public function __invoke()

+ 5 - 5
src/Event/EventList.php

@@ -54,7 +54,7 @@ class EventList implements ArrayAccess, Countable
     /**
      * Whether a offset exists
      *
-     * @link http://php.net/manual/en/arrayaccess.offsetexists.php
+     * @link https://secure.php.net/manual/en/arrayaccess.offsetexists.php
      * @param mixed $offset An offset to check for.
      * @return bool True on success or false on failure.
      */
@@ -66,7 +66,7 @@ class EventList implements ArrayAccess, Countable
     /**
      * Offset to retrieve
      *
-     * @link http://php.net/manual/en/arrayaccess.offsetget.php
+     * @link https://secure.php.net/manual/en/arrayaccess.offsetget.php
      * @param mixed $offset The offset to retrieve.
      * @return mixed Can return all value types.
      */
@@ -82,7 +82,7 @@ class EventList implements ArrayAccess, Countable
     /**
      * Offset to set
      *
-     * @link http://php.net/manual/en/arrayaccess.offsetset.php
+     * @link https://secure.php.net/manual/en/arrayaccess.offsetset.php
      * @param mixed $offset The offset to assign the value to.
      * @param mixed $value The value to set.
      * @return void
@@ -95,7 +95,7 @@ class EventList implements ArrayAccess, Countable
     /**
      * Offset to unset
      *
-     * @link http://php.net/manual/en/arrayaccess.offsetunset.php
+     * @link https://secure.php.net/manual/en/arrayaccess.offsetunset.php
      * @param mixed $offset The offset to unset.
      * @return void
      */
@@ -107,7 +107,7 @@ class EventList implements ArrayAccess, Countable
     /**
      * Count elements of an object
      *
-     * @link http://php.net/manual/en/countable.count.php
+     * @link https://secure.php.net/manual/en/countable.count.php
      * @return int The custom count as an integer.
      */
     public function count()

+ 2 - 2
src/Filesystem/File.php

@@ -218,7 +218,7 @@ class File
      * Write given data to this file.
      *
      * @param string $data Data to write to this File.
-     * @param string $mode Mode of writing. {@link http://php.net/fwrite See fwrite()}.
+     * @param string $mode Mode of writing. {@link https://secure.php.net/fwrite See fwrite()}.
      * @param bool $force Force the file to open
      * @return bool Success
      */
@@ -375,7 +375,7 @@ class File
      * Get md5 Checksum of file with previous check of Filesize
      *
      * @param int|bool $maxsize in MB or true to force
-     * @return string|false md5 Checksum {@link http://php.net/md5_file See md5_file()}, or false in case of an error
+     * @return string|false md5 Checksum {@link https://secure.php.net/md5_file See md5_file()}, or false in case of an error
      */
     public function md5($maxsize = 5)
     {

+ 2 - 2
src/Http/Client/Auth/Basic.php

@@ -30,7 +30,7 @@ class Basic
      * @param \Cake\Http\Client\Request $request Request instance.
      * @param array $credentials Credentials.
      * @return \Cake\Http\Client\Request The updated request.
-     * @see http://www.ietf.org/rfc/rfc2617.txt
+     * @see https://www.ietf.org/rfc/rfc2617.txt
      */
     public function authentication(Request $request, array $credentials)
     {
@@ -48,7 +48,7 @@ class Basic
      * @param \Cake\Http\Client\Request $request Request instance.
      * @param array $credentials Credentials.
      * @return \Cake\Http\Client\Request The updated request.
-     * @see http://www.ietf.org/rfc/rfc2617.txt
+     * @see https://www.ietf.org/rfc/rfc2617.txt
      */
     public function proxyAuthentication(Request $request, array $credentials)
     {

+ 1 - 1
src/Http/Client/Auth/Digest.php

@@ -49,7 +49,7 @@ class Digest
      * @param \Cake\Http\Client\Request $request The request object.
      * @param array $credentials Authentication credentials.
      * @return \Cake\Http\Client\Request The updated request.
-     * @see http://www.ietf.org/rfc/rfc2617.txt
+     * @see https://www.ietf.org/rfc/rfc2617.txt
      */
     public function authentication(Request $request, array $credentials)
     {

+ 4 - 4
src/Http/Response.php

@@ -912,8 +912,8 @@ class Response implements ResponseInterface
      * If the status code is 304 or 204, the existing Content-Type header
      * will be cleared, as these response codes have no body.
      *
-     * @link http://tools.ietf.org/html/rfc7231#section-6
-     * @link http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
+     * @link https://tools.ietf.org/html/rfc7231#section-6
+     * @link https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
      * @param int $code The 3-digit integer result code to set.
      * @param string $reasonPhrase The reason phrase to use with the
      *     provided status code; if none is provided, implementations MAY
@@ -943,7 +943,7 @@ class Response implements ResponseInterface
      * listed in the IANA HTTP Status Code Registry) for the response's
      * status code.
      *
-     * @link http://tools.ietf.org/html/rfc7231#section-6
+     * @link https://tools.ietf.org/html/rfc7231#section-6
      * @link http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
      * @return string Reason phrase; must return an empty string if none present.
      */
@@ -2422,7 +2422,7 @@ class Response implements ResponseInterface
      * Stop execution of the current script. Wraps exit() making
      * testing easier.
      *
-     * @param int|string $status See http://php.net/exit for values
+     * @param int|string $status See https://secure.php.net/exit for values
      * @return void
      * @deprecated 3.4.0 Will be removed in 4.0.0
      */

+ 2 - 2
src/Http/ResponseEmitter.php

@@ -14,7 +14,7 @@
  *
  * Parts of this file are derived from Zend-Diactoros
  *
- * @copyright Copyright (c) 2015-2016 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2015-2016 Zend Technologies USA Inc. (https://www.zend.com/)
  * @license   https://github.com/zendframework/zend-diactoros/blob/master/LICENSE.md New BSD License
  */
 namespace Cake\Http;
@@ -272,7 +272,7 @@ class ResponseEmitter implements EmitterInterface
 
     /**
      * Parse content-range header
-     * http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.16
+     * https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.16
      *
      * @param string $header The Content-Range header to parse.
      * @return false|array [unit, first, last, length]; returns false if no

+ 1 - 1
src/Http/ServerRequest.php

@@ -2055,7 +2055,7 @@ class ServerRequest implements ArrayAccess, ServerRequestInterface
      * inferred from the request's Uri. This also lets you change the request
      * target's form to an absolute-form, authority-form or asterisk-form
      *
-     * @link http://tools.ietf.org/html/rfc7230#section-2.7 (for the various
+     * @link https://tools.ietf.org/html/rfc7230#section-2.7 (for the various
      *   request-target forms allowed in request messages)
      * @param string $target The request target.
      * @return static

+ 2 - 2
src/I18n/Date.php

@@ -32,7 +32,7 @@ class Date extends MutableDate implements JsonSerializable
      * and `__toString`
      *
      * The format should be either the formatting constants from IntlDateFormatter as
-     * described in (http://www.php.net/manual/en/class.intldateformatter.php) or a pattern
+     * described in (https://secure.php.net/manual/en/class.intldateformatter.php) or a pattern
      * as specified in (http://www.icu-project.org/apiref/icu4c/classSimpleDateFormat.html#details)
      *
      * It is possible to provide an array of 2 constants. In this case, the first position
@@ -57,7 +57,7 @@ class Date extends MutableDate implements JsonSerializable
      * The format to use when formatting a time using `Cake\I18n\Date::nice()`
      *
      * The format should be either the formatting constants from IntlDateFormatter as
-     * described in (http://www.php.net/manual/en/class.intldateformatter.php) or a pattern
+     * described in (https://secure.php.net/manual/en/class.intldateformatter.php) or a pattern
      * as specified in (http://www.icu-project.org/apiref/icu4c/classSimpleDateFormat.html#details)
      *
      * It is possible to provide an array of 2 constants. In this case, the first position

+ 2 - 2
src/I18n/DateFormatTrait.php

@@ -45,7 +45,7 @@ trait DateFormatTrait
      * The format to use when when converting this object to json
      *
      * The format should be either the formatting constants from IntlDateFormatter as
-     * described in (http://www.php.net/manual/en/class.intldateformatter.php) or a pattern
+     * described in (https://secure.php.net/manual/en/class.intldateformatter.php) or a pattern
      * as specified in (http://www.icu-project.org/apiref/icu4c/classSimpleDateFormat.html#details)
      *
      * It is possible to provide an array of 2 constants. In this case, the first position
@@ -129,7 +129,7 @@ trait DateFormatTrait
      * possible formats accepted by this function.
      *
      * You can read about the available IntlDateFormatter constants at
-     * http://www.php.net/manual/en/class.intldateformatter.php
+     * https://secure.php.net/manual/en/class.intldateformatter.php
      *
      * If you need to display the date in a different timezone than the one being used for
      * this Time object without altering its internal state, you can pass a timezone

+ 2 - 2
src/I18n/FrozenDate.php

@@ -34,7 +34,7 @@ class FrozenDate extends ChronosDate implements JsonSerializable
      * and `__toString`
      *
      * The format should be either the formatting constants from IntlDateFormatter as
-     * described in (http://www.php.net/manual/en/class.intldateformatter.php) or a pattern
+     * described in (https://secure.php.net/manual/en/class.intldateformatter.php) or a pattern
      * as specified in (http://www.icu-project.org/apiref/icu4c/classSimpleDateFormat.html#details)
      *
      * It is possible to provide an array of 2 constants. In this case, the first position
@@ -59,7 +59,7 @@ class FrozenDate extends ChronosDate implements JsonSerializable
      * The format to use when formatting a time using `Cake\I18n\Date::nice()`
      *
      * The format should be either the formatting constants from IntlDateFormatter as
-     * described in (http://www.php.net/manual/en/class.intldateformatter.php) or a pattern
+     * described in (https://secure.php.net/manual/en/class.intldateformatter.php) or a pattern
      * as specified in (http://www.icu-project.org/apiref/icu4c/classSimpleDateFormat.html#details)
      *
      * It is possible to provide an array of 2 constants. In this case, the first position

+ 2 - 2
src/I18n/FrozenTime.php

@@ -35,7 +35,7 @@ class FrozenTime extends Chronos implements JsonSerializable
      * and `__toString`
      *
      * The format should be either the formatting constants from IntlDateFormatter as
-     * described in (http://www.php.net/manual/en/class.intldateformatter.php) or a pattern
+     * described in (https://secure.php.net/manual/en/class.intldateformatter.php) or a pattern
      * as specified in (http://www.icu-project.org/apiref/icu4c/classSimpleDateFormat.html#details)
      *
      * It is possible to provide an array of 2 constants. In this case, the first position
@@ -51,7 +51,7 @@ class FrozenTime extends Chronos implements JsonSerializable
      * The format to use when formatting a time using `Cake\I18n\FrozenTime::nice()`
      *
      * The format should be either the formatting constants from IntlDateFormatter as
-     * described in (http://www.php.net/manual/en/class.intldateformatter.php) or a pattern
+     * described in (https://secure.php.net/manual/en/class.intldateformatter.php) or a pattern
      * as specified in (http://www.icu-project.org/apiref/icu4c/classSimpleDateFormat.html#details)
      *
      * It is possible to provide an array of 2 constants. In this case, the first position

+ 1 - 1
src/I18n/Parser/PoFileParser.php

@@ -27,7 +27,7 @@ class PoFileParser
     /**
      * Parses portable object (PO) format.
      *
-     * From http://www.gnu.org/software/gettext/manual/gettext.html#PO-Files
+     * From https://www.gnu.org/software/gettext/manual/gettext.html#PO-Files
      * we should be able to parse files having:
      *
      * white-space

+ 2 - 2
src/I18n/Time.php

@@ -33,7 +33,7 @@ class Time extends MutableDateTime implements JsonSerializable
      * and `__toString`
      *
      * The format should be either the formatting constants from IntlDateFormatter as
-     * described in (http://www.php.net/manual/en/class.intldateformatter.php) or a pattern
+     * described in (https://secure.php.net/manual/en/class.intldateformatter.php) or a pattern
      * as specified in (http://www.icu-project.org/apiref/icu4c/classSimpleDateFormat.html#details)
      *
      * It is possible to provide an array of 2 constants. In this case, the first position
@@ -49,7 +49,7 @@ class Time extends MutableDateTime implements JsonSerializable
      * The format to use when formatting a time using `Cake\I18n\Time::nice()`
      *
      * The format should be either the formatting constants from IntlDateFormatter as
-     * described in (http://www.php.net/manual/en/class.intldateformatter.php) or a pattern
+     * described in (https://secure.php.net/manual/en/class.intldateformatter.php) or a pattern
      * as specified in (http://www.icu-project.org/apiref/icu4c/classSimpleDateFormat.html#details)
      *
      * It is possible to provide an array of 2 constants. In this case, the first position

+ 1 - 1
src/I18n/Translator.php

@@ -16,7 +16,7 @@
  * The Aura Project for PHP.
  *
  * @package Aura.Intl
- * @license http://opensource.org/licenses/bsd-license.php BSD
+ * @license https://opensource.org/licenses/bsd-license.php BSD
  */
 namespace Cake\I18n;
 

+ 1 - 1
src/Log/Engine/BaseLog.php

@@ -8,7 +8,7 @@
  * Redistributions of files must retain the above copyright notice.
  *
  * @copyright     Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
- * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
+ * @link          https://cakefoundation.org CakePHP(tm) Project
  * @since         2.2.0
  * @license       https://opensource.org/licenses/mit-license.php MIT License
  */

+ 1 - 1
src/Log/Engine/ConsoleLog.php

@@ -8,7 +8,7 @@
  * Redistributions of files must retain the above copyright notice.
  *
  * @copyright     Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
- * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
+ * @link          https://cakefoundation.org CakePHP(tm) Project
  * @since         2.2.0
  * @license       https://opensource.org/licenses/mit-license.php MIT License
  */

+ 1 - 1
src/Log/Engine/FileLog.php

@@ -8,7 +8,7 @@
  * Redistributions of files must retain the above copyright notice.
  *
  * @copyright     Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
- * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
+ * @link          https://cakefoundation.org CakePHP(tm) Project
  * @since         1.3.0
  * @license       https://opensource.org/licenses/mit-license.php MIT License
  */

+ 1 - 1
src/Log/Engine/SyslogLog.php

@@ -8,7 +8,7 @@
  * Redistributions of files must retain the above copyright notice.
  *
  * @copyright     Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
- * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
+ * @link          https://cakefoundation.org CakePHP(tm) Project
  * @since         2.4.0
  * @license       https://opensource.org/licenses/mit-license.php MIT License
  */

+ 1 - 1
src/Log/Log.php

@@ -151,7 +151,7 @@ class Log
 
     /**
      * Log levels as detailed in RFC 5424
-     * http://tools.ietf.org/html/rfc5424
+     * https://tools.ietf.org/html/rfc5424
      *
      * @var array
      */

+ 1 - 1
src/Mailer/Email.php

@@ -39,7 +39,7 @@ use SimpleXmlElement;
  * CakePHP Email class.
  *
  * This class is used for sending Internet Message Format based
- * on the standard outlined in http://www.rfc-editor.org/rfc/rfc2822.txt
+ * on the standard outlined in https://www.rfc-editor.org/rfc/rfc2822.txt
  *
  * ### Configuration
  *

+ 1 - 1
src/ORM/Behavior/TreeBehavior.php

@@ -33,7 +33,7 @@ use RuntimeException;
  * order will be cached.
  *
  * For more information on what is a nested set and a how it works refer to
- * http://www.sitepoint.com/hierarchical-data-database-2/
+ * https://www.sitepoint.com/hierarchical-data-database-2/
  */
 class TreeBehavior extends Behavior
 {

+ 2 - 2
src/Utility/Text.php

@@ -35,7 +35,7 @@ class Text
      * Warning: This method should not be used as a random seed for any cryptographic operations.
      * Instead you should use the openssl or mcrypt extensions.
      *
-     * @see http://www.ietf.org/rfc/rfc4122.txt
+     * @see https://www.ietf.org/rfc/rfc4122.txt
      * @return string RFC 4122 UUID
      * @copyright Matt Farina MIT License https://github.com/lootils/uuid/blob/master/LICENSE
      */
@@ -1061,7 +1061,7 @@ class Text
      * @param string|null $transliteratorId Transliterator identifier. If null
      *   Text::$_defaultTransliteratorId will be used.
      * @return string
-     * @see http://php.net/manual/en/transliterator.transliterate.php
+     * @see https://secure.php.net/manual/en/transliterator.transliterate.php
      */
     public static function transliterate($string, $transliteratorId = null)
     {

+ 1 - 1
src/Utility/Xml.php

@@ -282,7 +282,7 @@ class Xml
                     if ($key[0] !== '@' && $format === 'tags') {
                         if (!is_numeric($value)) {
                             // Escape special characters
-                            // http://www.w3.org/TR/REC-xml/#syntax
+                            // https://www.w3.org/TR/REC-xml/#syntax
                             // https://bugs.php.net/bug.php?id=36795
                             $child = $dom->createElement($key, '');
                             $child->appendChild(new DOMText($value));

+ 6 - 6
src/Validation/Validation.php

@@ -859,7 +859,7 @@ class Validation
      * @param string $check Value to check
      * @param bool $allowZero Set true to allow zero, defaults to false
      * @return bool Success
-     * @see http://en.wikipedia.org/wiki/Natural_number
+     * @see https://en.wikipedia.org/wiki/Natural_number
      */
     public static function naturalNumber($check, $allowZero = false)
     {
@@ -896,13 +896,13 @@ class Validation
     }
 
     /**
-     * Checks that a value is a valid URL according to http://www.w3.org/Addressing/URL/url-spec.txt
+     * Checks that a value is a valid URL according to https://www.w3.org/Addressing/URL/url-spec.txt
      *
      * The regex checks for the following component parts:
      *
      * - a valid, optional, scheme
      * - a valid ip address OR
-     *   a valid domain name as defined by section 2.3.1 of http://www.ietf.org/rfc/rfc1035.txt
+     *   a valid domain name as defined by section 2.3.1 of https://www.ietf.org/rfc/rfc1035.txt
      *   with an optional port number
      * - an optional valid path
      * - an optional query string (get parameters)
@@ -966,7 +966,7 @@ class Validation
     }
 
     /**
-     * Checks that a value is a valid UUID - http://tools.ietf.org/html/rfc4122
+     * Checks that a value is a valid UUID - https://tools.ietf.org/html/rfc4122
      *
      * @param string $check Value to check
      * @return bool Success
@@ -995,7 +995,7 @@ class Validation
      *
      * @param string|array $check Value to check.
      * @return bool Success
-     * @see http://en.wikipedia.org/wiki/Luhn_algorithm
+     * @see https://en.wikipedia.org/wiki/Luhn_algorithm
      */
     public static function luhn($check)
     {
@@ -1122,7 +1122,7 @@ class Validation
      * @param string|array|\Psr\Http\Message\UploadedFileInterface $check Value to check.
      * @param bool $allowNoFile Set to true to allow UPLOAD_ERR_NO_FILE as a pass.
      * @return bool
-     * @see http://www.php.net/manual/en/features.file-upload.errors.php
+     * @see https://secure.php.net/manual/en/features.file-upload.errors.php
      */
     public static function uploadError($check, $allowNoFile = false)
     {

+ 1 - 1
tests/TestCase/Error/DebuggerTest.php

@@ -92,7 +92,7 @@ class DebuggerTest extends TestCase
         ini_set('docref_root', '');
         $this->assertEquals(ini_get('docref_root'), '');
         new Debugger();
-        $this->assertEquals(ini_get('docref_root'), 'http://php.net/');
+        $this->assertEquals(ini_get('docref_root'), 'https://secure.php.net/');
     }
 
     /**