Skip to content

Commit fb47597

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 ------- fab17a4487 Improve some URLs
2 parents 1e3cec8 + 3cf173e commit fb47597

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Constraints/AbstractComparisonValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function validate($value, Constraint $constraint)
6464
// Convert strings to DateTimes if comparing another DateTime
6565
// This allows to compare with any date/time value supported by
6666
// the DateTime constructor:
67-
// http://php.net/manual/en/datetime.formats.php
67+
// https://php.net/datetime.formats
6868
if (\is_string($comparedValue)) {
6969
if ($value instanceof \DateTimeImmutable) {
7070
// If $value is immutable, convert the compared value to a

Constraints/RangeValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function validate($value, Constraint $constraint)
4848
// Convert strings to DateTimes if comparing another DateTime
4949
// This allows to compare with any date/time value supported by
5050
// the DateTime constructor:
51-
// http://php.net/manual/en/datetime.formats.php
51+
// https://php.net/datetime.formats
5252
if ($value instanceof \DateTimeInterface) {
5353
if (\is_string($min)) {
5454
$min = new \DateTime($min);

Tests/Constraints/IpValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ public function getInvalidReservedIpsV6()
326326
{
327327
// Quoting after official filter documentation:
328328
// "FILTER_FLAG_NO_RES_RANGE = This flag does not apply to IPv6 addresses."
329-
// Full description: http://php.net/manual/en/filter.filters.flags.php
329+
// Full description: https://php.net/filter.filters.flags
330330
return $this->getInvalidIpsV6();
331331
}
332332

0 commit comments

Comments
 (0)