8000 minor #32800 Improve some URLs (Arman-Hosseini) · symfony/symfony@e4bb3a2 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e4bb3a2

Browse files
minor #32800 Improve some URLs (Arman-Hosseini)
This PR was squashed before being merged into the 3.4 branch (closes #32800). Discussion ---------- Improve some URLs | Q | A | ------------- | --- | Branch? | 3.4 <!-- see below --> | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | N/A <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | N/A <!-- required for new features --> <!-- Replace this notice by a short README for your feature/bugfix. This will help people understand your PR and can be used as a start for the documentation. Additionally (see https://symfony.com/roadmap): - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against branch 4.4. - Legacy code removals go to the master branch. --> Commits ------- fab17a4 Improve some URLs
2 parents 889f454 + fab17a4 commit e4bb3a2

File tree

56 files changed

+147
-148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+147
-148
lines changed

src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ private function getEventManagerDef(ContainerBuilder $container, $name)
120120
* and knowing that the \SplPriorityQueue class does not respect the FIFO method,
121121
* we should not use this class.
122122
*
123-
* @see https://bugs.php.net/bug.php?id=53710
124-
* @see https://bugs.php.net/bug.php?id=60926
123+
* @see https://bugs.php.net/53710
124+
* @see https://bugs.php.net/60926
125125
*
126126
* @param string $tagName
127127
* @param ContainerBuilder $container

src/Symfony/Bridge/Twig/Extension/CodeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function fileExcerpt($file, $line, $srcContext = 3)
136136
{
137137
if (is_file($file) && is_readable($file)) {
138138
// highlight_file could throw warnings
139-
// see https://bugs.php.net/bug.php?id=25725
139+
// see https://bugs.php.net/25725
140140
$code = @highlight_file($file, true);
141141
// remove main code/span tags
142142
$code = preg_replace('#^<code.*?>\s*<span.*?>(.*)</span>\s*</code>#s', '\\1', $code);

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public function load(array $configs, ContainerBuilder $container)
234234

235235
if ($this->isConfigEnabled($container, $config['session'])) {
236236
if (!\extension_loaded('session')) {
237 F438 -
throw new LogicException('Session support cannot be enabled as the session extension is not installed. See https://www.php.net/session.installation for instructions.');
237+
throw new LogicException('Session support cannot be enabled as the session extension is not installed. See https://php.net/session.installation for instructions.');
238238
}
239239

240240
$this->sessionConfigEnabled = true;

src/Symfony/Bundle/FrameworkBundle/Templating/Helper/CodeHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function fileExcerpt($file, $line)
125125
}
126126

127127
// highlight_file could throw warnings
128-
// see https://bugs.php.net/bug.php?id=25725
128+
// see https://bugs.php.net/25725
129129
$code = @highlight_file($file, true);
130130
// remove main code/span tags
131131
$code = preg_replace('#^<code.*?>\s*<span.*?>(.*)</span>\s*</code>#s', '\\1', $code);

src/Symfony/Bundle/FrameworkBundle/Tests/Controller/ControllerTraitTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,10 +425,10 @@ public function testGenerateUrl()
425425
public function testRedirect()
426426
{
427427
$controller = $this->createController();
428-
$response = $controller->redirect('http://dunglas.fr', 301);
428+
$response = $controller->redirect('https://dunglas.fr', 301);
429429

430430
$this->assertInstanceOf('Symfony\Component\HttpFoundation\RedirectResponse', $response);
431-
$this->assertSame('http://dunglas.fr', $response->getTargetUrl());
431+
$this->assertSame('https://dunglas.fr', $response->getTargetUrl());
432432
$this->assertSame(301, $response->getStatusCode());
433433
}
434434

src/Symfony/Bundle/WebServerBundle/Command/ServerRunCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ protected function configure()
7676
7777
<info>%command.full_name% --router=app/config/router.php</info>
7878
79-
See also: http://www.php.net/manual/en/features.commandline.webserver.php
79+
See also: https://php.net/features.commandline.webserver
8080
EOF
8181
)
8282
;

src/Symfony/Bundle/WebServerBundle/Command/ServerStartCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ protected function configure()
7676
7777
<info>php %command.full_name% --router=app/config/router.php</info>
7878
79-
See also: http://www.php.net/manual/en/features.commandline.webserver.php
79+
See also: https://php.net/features.commandline.webserver
8080
EOF
8181
)
8282
;

src/Symfony/Bundle/WebServerBundle/Resources/router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/*
1313
* This file implements rewrite rules for PHP built-in web server.
1414
*
15-
* See: http://www.php.net/manual/en/features.commandline.webserver.php
15+
* See: https://php.net/features.commandline.webserver
1616
*
1717
* If you have custom directory layout, then you have to write your own router
1818
* and pass it as a value to 'router' option of server:run command.

src/Symfony/Component/Console/Command/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public function setCode(callable $code)
278278
$r = new \ReflectionFunction($code);
279279
if (null === $r->getClosureThis()) {
280280
if (\PHP_VERSION_ID < 70000) {
281-
// Bug in PHP5: https://bugs.php.net/bug.php?id=64761
281+
// Bug in PHP5: https://bugs.php.net/64761
282282
// This means that we cannot bind static closures and therefore we must
283283
// ignore any errors here. There is no way to test if the closure is
284284
// bindable.

src/Symfony/Component/Console/Input/ArgvInput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ private function parseLongOption($token)
148148
if (false !== $pos = strpos($name, '=')) {
149149
if (0 === \strlen($value = substr($name, $pos + 1))) {
150150
// if no value after "=" then substr() returns "" since php7 only, false before
151-
// see http://php.net/manual/fr/migration70.incompatible.php#119151
151+
// see https://php.net/migration70.incompatible.php#119151
152152
if (\PHP_VERSION_ID < 70000 && false === $value) {
153153
$value = '';
154154
}

src/Symfony/Component/Console/Logger/ConsoleLogger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @author Kévin Dunglas <dunglas@gmail.com>
2424
*
25-
* @see http://www.php-fig.org/psr/psr-3/
25+
* @see https://www.php-fig.org/psr/psr-3/
2626
*/
2727
class ConsoleLogger extends AbstractLogger
2828
{

src/Symfony/Component/Debug/Tests/ExceptionHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function testHandleWithACustomHandlerThatOutputsSomething()
116116
});
117117

118118
$handler->handle(new \Exception());
119-
ob_end_flush(); // Necessary because of this PHP bug : https://bugs.php.net/bug.php?id=76563
119+
ob_end_flush(); // Necessary because of this PHP bug : https://bugs.php.net/76563
120120
$this->assertSame('ccc', ob_get_clean());
121121
}
122122

src/Symfony/Component/DependencyInjection/Compiler/PriorityTaggedServiceTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ trait PriorityTaggedServiceTrait
2828
* and knowing that the \SplPriorityQueue class does not respect the FIFO method,
2929
* we should not use that class.
3030
*
31-
* @see https://bugs.php.net/bug.php?id=53710
32-
* @see https://bugs.php.net/bug.php?id=60926
31+
* @see https://bugs.php.net/53710
32+
* @see https://bugs.php.net/60926
3333
*
3434
* @param string $tagName
3535
* @param ContainerBuilder $container

src/Symfony/Component/EventDispatcher/Tests/AbstractEventDispatcherTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public function testEventReceivesTheDispatcherInstanceAsArgument()
267267
}
268268

269269
/**
270-
* @see https://bugs.php.net/bug.php?id=62976
270+
* @see https://bugs.php.net/62976
271271
*
272272
* This bug affects:
273273
* - The PHP 5.3 branch for versions < 5.3.18

src/Symfony/Component/Filesystem/Filesystem.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function copy($originFile, $targetFile, $overwriteNewerFiles = false)
5252
}
5353

5454
if ($doCopy) {
55-
// https://bugs.php.net/bug.php?id=64634
55+
// https://bugs.php.net/64634
5656
if (false === $source = @fopen($originFile, 'r')) {
5757
throw new IOException(sprintf('Failed to copy "%s" to "%s" because source file could not be opened for reading.', $originFile, $targetFile), 0, null, $originFile);
5858
}
@@ -280,7 +280,7 @@ public function rename($origin, $target, $overwrite = false)
280280

281281
if (true !== @rename($origin, $target)) {
282282
if (is_dir($origin)) {
283-
// See https://bugs.php.net/bug.php?id=54097 & http://php.net/manual/en/function.rename.php#113943
283+
// See https://bugs.php.net/54097 & https://php.net/rename#113943
284284
$this->mirror($origin, $target, null, ['override' => $overwrite, 'delete' => $overwrite]);
285285
$this->remove($origin);
286286

src/Symfony/Component/Filesystem/Tests/FilesystemTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ protected function markAsSkippedIfSymlinkIsMissing($relative = false)
144144
$this->markTestSkipped('symlink requires "Create symbolic links" privilege on Windows');
145145
}
146146

147-
// https://bugs.php.net/bug.php?id=69473
147+
// https://bugs.php.net/69473
148148
if ($relative && '\\' === \DIRECTORY_SEPARATOR && 1 === PHP_ZTS) {
149149
$this->markTestSkipped('symlink does not support relative paths on thread safe Windows PHP versions');
150150
}

src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function reverseTransform($value)
136136
$dateTime = new \DateTime(sprintf('@%s', $timestamp));
137137
}
138138
// set timezone separately, as it would be ignored if set via the constructor,
139-
// see http://php.net/manual/en/datetime.construct.php
139+
// see https://php.net/datetime.construct
140140
$dateTime->setTimezone(new \DateTimeZone($this->outputTimezone));
141141
} catch (\Exception $e) {
142142
throw new TransformationFailedException($e->getMessage(), $e->getCode(), $e);
@@ -169,7 +169,7 @@ protected function getIntlDateFormatter($ignoreTimezone = false)
169169

170170
$intlDateFormatter = new \IntlDateFormatter(\Locale::getDefault(), $dateFormat, $timeFormat, $timezone, $calendar, $pattern);
171171

172-
// new \intlDateFormatter may return null instead of false in case of failure, see https://bugs.php.net/bug.php?id=66323
172+
// new \intlDateFormatter may return null instead of false in case of failure, see https://bugs.php.net/66323
173173
if (!$intlDateFormatter) {
174174
throw new TransformationFailedException(intl_get_error_message(), intl_get_error_code());
175175
}

src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToStringTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function __construct($inputTimezone = null, $outputTimezone = null, $form
5757

5858
$this->generateFormat = $this->parseFormat = $format;
5959

60-
// See http://php.net/manual/en/datetime.createfromformat.php
60+
// See https://php.net/datetime.createfromformat
6161
// The character "|" in the format makes sure that the parts of a date
6262
// that are *not* specified in the format are reset to the corresponding
6363
// values from 1970-01-01 00:00:00 instead of the current time.

src/Symfony/Component/Form/Extension/Core/Type/BaseType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function buildView(FormView $view, FormInterface $form, array $options)
7171

7272
// Strip leading underscores and digits. These are allowed in
7373
// form names, but not in HTML4 ID attributes.
74-
// http://www.w3.org/TR/html401/struct/global.html#adef-id
74+
// https://www.w3.org/TR/html401/struct/global#adef-id
7575
$id = ltrim($id, '_0123456789');
7676
}
7777

src/Symfony/Component/Form/Extension/Core/Type/DateType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ public function buildForm(FormBuilderInterface $builder, array $options)
107107
\Locale::getDefault(),
108108
$dateFormat,
109109
$timeFormat,
110-
// see https://bugs.php.net/bug.php?id=66323
110+
// see https://bugs.php.net/66323
111111
class_exists('IntlTimeZone', false) ? \IntlTimeZone::createDefault() : null,
112112
$calendar,
113113
$pattern
114114
);
115115

116-
// new \IntlDateFormatter may return null instead of false in case of failure, see https://bugs.php.net/bug.php?id=66323
116+
// new \IntlDateFormatter may return null instead of false in case of failure, see https://bugs.php.net/66323
117117
if (!$formatter) {
118118
throw new InvalidOptionsException(intl_get_error_message(), intl_get_error_code());
119119
}

src/Symfony/Component/HttpFoundation/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ CHANGELOG
2121
-----
2222

2323
* the `Request::setTrustedProxies()` method takes a new `$trustedHeaderSet` argument,
24-
see http://symfony.com/doc/current/components/http_foundation/trusting_proxies.html for more info,
24+
see https://symfony.com/doc/current/deployment/proxies.html for more info,
2525
* deprecated the `Request::setTrustedHeaderName()` and `Request::getTrustedHeaderName()` methods,
2626
* added `File\Stream`, to be passed to `BinaryFileResponse` when the size of the served file is unknown,
2727
disabling `Range` and `Content-Length` handling, switching to chunked encoding instead

src/Symfony/Component/HttpFoundation/File/MimeType/FileinfoMimeTypeGuesser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class FileinfoMimeTypeGuesser implements MimeTypeGuesserInterface
2626
/**
2727
* @param string $magicFile A magic file to use with the finfo instance
2828
*
29-
* @see http://www.php.net/manual/en/function.finfo-open.php
29+
* @see https://php.net/finfo-open
3030
*/
3131
public function __construct($magicFile = null)
3232
{

src/Symfony/Component/HttpFoundation/JsonResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static function fromJsonString($data = null, $status = 200, $headers = []
100100
public function setCallback($callback = null)
101101
{
102102
if (null !== $callback) {
103-
// partially taken from http://www.geekality.net/2011/08/03/valid-javascript-identifier/
103+
// partially taken from https://geekality.net/2011/08/03/valid-javascript-identifier/
104104
// partially taken from https://github.com/willdurand/JsonpCallbackValidator
105105
// JsonpCallbackValidator is released under the MIT License. See https://github.com/willdurand/JsonpCallbackValidator/blob/v1.1.0/LICENSE for details.
106106
// (c) William Durand <william.durand1@gmail.com>

src/Symfony/Component/HttpFoundation/ParameterBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function getBoolean($key, $default = false)
191191
* @param int $filter FILTER_* constant
192192
* @param mixed $options Filter options
193193
*
194-
* @see http://php.net/manual/en/function.filter-var.php
194+
* @see https://php.net/filter-var
195195
*
196196
* @return mixed
197197
*/

src/Symfony/Component/HttpFoundation/RedirectResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class RedirectResponse extends Response
3030
*
3131
* @throws \InvalidArgumentException
3232
*
33-
* @see http://tools.ietf.org/html/rfc2616#section-10.3
33+
* @see https://tools.ietf.org/html/rfc2616#section-10.3
3434
*/
3535
public function __construct($url, $status = 302, $headers = [])
3636
{

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ public function getClientIps()
915915
* @return string The client IP address
916916
*
917917
* @see getClientIps()
918-
* @see http://en.wikipedia.org/wiki/X-Forwarded-For
918+
* @see https://wikipedia.org/wiki/X-Forwarded-For
919919
*/
920920
public function getClientIp()
921921
{
10000
@@ -1204,7 +1204,7 @@ public function getRelativeUriForPath($path)
12041204
// A reference to the same base directory or an empty subdirectory must be prefixed with "./".
12051205
// This also applies to a segment with a colon character (e.g., "file:colon") that cannot be used
12061206
// as the first segment of a relative-path reference, as it would be mistaken for a scheme name
1207-
// (see http://tools.ietf.org/html/rfc3986#section-4.2).
1207+
// (see https://tools.ietf.org/html/rfc3986#section-4.2).
12081208
return !isset($path[0]) || '/' === $path[0]
12091209
|| false !== ($colonPos = strpos($path, ':')) && ($colonPos < ($slashPos = strpos($path, '/')) || false === $slashPos)
12101210
? "./$path" : $path;
@@ -1823,7 +1823,7 @@ public function getAcceptableContentTypes()
18231823
* It works if your JavaScript library sets an X-Requested-With HTTP header.
18241824
* It is known to work with common JavaScript frameworks:
18251825
*
1826-
* @see http://en.wikipedia.org/wiki/List_of_Ajax_frameworks#JavaScript
1826+
* @see https://wikipedia.org/wiki/List_of_Ajax_frameworks#JavaScript
18271827
*
18281828
* @return bool true if the request is an XMLHttpRequest, false otherwise
18291829
*/
@@ -1835,9 +1835,9 @@ public function isXmlHttpRequest()
18351835
/*
18361836
* The following methods are derived from code of the Zend Framework (1.10dev - 2010-01-24)
18371837
*
1838-
* Code subject to the new BSD license (http://framework.zend.com/license/new-bsd).
1838+
* Code subject to the new BSD license (https://framework.zend.com/license).
18391839
*
1840-
* Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
1840+
* Copyright (c) 2005-2010 Zend Technologies USA Inc. (https://www.zend.com/)
18411841
*/
18421842

18431843
protected function prepareRequestUri()

src/Symfony/Component/HttpFoundation/Response.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class Response
121121
* Status codes translation table.
122122
*
123123
* The list of codes is complete according to the
124-
* {@link http://www.iana.org/assignments/http-status-codes/ Hypertext Transfer Protocol (HTTP) Status Code Registry}
124+
* {@link https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml Hypertext Transfer Protocol (HTTP) Status Code Registry}
125125
* (last updated 2016-03-01).
126126
*
127127
* Unless otherwise noted, the status code is defined in RFC2616.
@@ -1025,7 +1025,7 @@ public function setCache(array $options)
10251025
*
10261026
* @return $this
10271027
*
1028-
* @see http://tools.ietf.org/html/rfc2616#section-10.3.5
1028+
* @see https://tools.ietf.org/html/rfc2616#section-10.3.5
10291029
*
10301030
* @final since version 3.3
10311031
*/
@@ -1133,7 +1133,7 @@ public function isNotModified(Request $request)
11331133
*
11341134
* @return bool
11351135
*
1136-
* @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
1136+
* @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
11371137
*
11381138
* @final since version 3.2
11391139
*/

src/Symfony/Component/HttpFoundation/ServerBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function getHeaders()
7979
/*
8080
* XXX: Since there is no PHP_AUTH_BEARER in PHP predefined variables,
8181
* I'll just set $headers['AUTHORIZATION'] here.
82-
* http://php.net/manual/en/reserved.variables.server.php
82+
* https://php.net/reserved.variables.server
8383
*/
8484
$headers['AUTHORIZATION'] = $authorizationHeader;
8585
}

src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MemcachedSessionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* Memcached based session storage handler based on the Memcached class
1616
* provided by the PHP memcached extension.
1717
*
18-
* @see http://php.net/memcached
18+
* @see https://php.net/memcached
1919
*
2020
* @author Drak <drak@zikula.org>
2121
*/

src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MongoDbSessionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class MongoDbSessionHandler extends AbstractSessionHandler
5656
* { "expireAfterSeconds": 0 }
5757
* )
5858
*
59-
* More details on: http://docs.mongodb.org/manual/tutorial/expire-data/
59+
* More details on: https://docs.mongodb.org/manual/tutorial/expire-data/
6060
*
6161
* If you use such an index, you can drop `gc_probability` to 0 since
6262
* no garbage-collection is required.

src/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class NativeFileSessionHandler extends NativeSessionHandler
2323
* Default null will leave setting as defined by PHP.
2424
* '/path', 'N;/path', or 'N;octal-mode;/path
2525
*
26-
* @see https://php.net/manual/session.configuration.php#ini.session.save-path for further details.
26+
* @see https://php.net/session.configuration#ini.session.save-path for further details.
2727
*
2828
* @throws \InvalidArgumentException On invalid $savePath
2929
* @throws \RuntimeException When failing to create the save directory

src/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeSessionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
/**
1515
* @deprecated since version 3.4, to be removed in 4.0. Use \SessionHandler instead.
16-
* @see http://php.net/sessionhandler
16+
* @see https://php.net/sessionhandler
1717
*/
1818
class NativeSessionHandler extends \SessionHandler
1919
{

0 commit comments

Comments
 (0)
0