8000 Merge branch '6.3' into 6.4 · zim32/symfony@8c48869 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8c48869

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: load function only if not loaded before Bump Symfony version to 6.2.15 Update VERSION for 6.2.14 Update CHANGELOG for 6.2.14 Bump Symfony version to 6.3.4 Update VERSION for 6.3.3 Update CHANGELOG for 6.3.3 Bump Symfony version to 5.4.28 Update VERSION for 5.4.27 Update CONTRIBUTORS for 5.4.27 Update CHANGELOG for 5.4.27
2 parents 67b3b0c + ea5f2e0 commit 8c48869

File tree

4 files changed

+20
-10
lines changed

4 files changed

+20
-10
lines changed

CHANGELOG-6.2.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ in 6.2 minor versions.
77
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
88
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v6.2.0...v6.2.1
99

10+
* 6.2.14 (2023-07-31)
11+
12+
* bug #51178 [Finder] Revert "Fix children condition in ExcludeDirectoryFilterIterator" (derrabus)
13+
1014
* 6.2.13 (2023-07-30)
1115

1216
* bug #50933 [Serializer] Fix deserializing nested arrays of objects with mixed keys (HypeMC)

CHANGELOG-6.3.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ in 6.3 minor versions.
77
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
88
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v6.3.0...v6.3.1
99

10+
* 6.3.3 (2023-07-31)
11+
12+
* bug #51178 [Finder] Revert "Fix children condition in ExcludeDirectoryFilterIterator" (derrabus)
13+
1014
* 6.3.2 (2023-07-30)
1115

1216
* bug #51138 [Scheduler] Postpone schedule creation (HypeMC)

CONTRIBUTORS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,14 @@ The Symfony Connect username in parenthesis allows to get more information
163163
- marc.weistroff
164164
- lenar
165165
- Jesse Rushlow (geeshoe)
166+
- Jacob Dreesen (jdreesen)
166167
- Théo FIDRY
167168
- Jeroen Spee (jeroens)
168169
- Michael Babker (mbabker)
169170
- Włodzimierz Gajda (gajdaw)
170171
- Hugo Alliaume (kocal)
171172
- Christian Scheb
172173
- Guillaume (guill)
173-
- Jacob Dreesen (jdreesen)
174174
- Olivier Dolbeau (odolbeau)
175175
- Florian Voutzinos (florianv)
176176
- zairig imad (zairigimad)

src/Symfony/Component/Clock/Resources/now.php

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@
1111

1212
namespace Symfony\Component\Clock;
1313

14-
/**
15-
* Returns the current time as a DateTimeImmutable.
16-
*
17-
* Note that you should prefer injecting a ClockInterface or using
18-
* ClockAwareTrait when possible instead of using this function.
19-
*/
20-
function now(): \DateTimeImmutable
21-
{
22-
return Clock::get()->now();
14+
if (!\function_exists(now::class)) {
15+
/**
16+
* Returns the current time as a DateTimeImmutable.
17+
*
18+
* Note that you should prefer injecting a ClockInterface or using
19+
* ClockAwareTrait when possible instead of using this function.
20+
*/
21+
function now(): \DateTimeImmutable
22+
{
23+
return Clock::get()->now();
24+
}
2325
}

0 commit comments

Comments
 (0)
0