File tree Expand file tree Collapse file tree 4 files changed +20
-10
lines changed
src/Symfony/Component/Clock/Resources Expand file tree Collapse file tree 4 files changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ in 6.2 minor versions.
7
7
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
8
8
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v6.2.0...v6.2.1
9
9
10
+ * 6.2.14 (2023-07-31)
11
+
12
+ * bug #51178 [ Finder] Revert "Fix children condition in ExcludeDirectoryFilterIterator" (derrabus)
13
+
10
14
* 6.2.13 (2023-07-30)
11
15
12
16
* bug #50933 [ Serializer] Fix deserializing nested arrays of objects with mixed keys (HypeMC)
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ in 6.3 minor versions.
7
7
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
8
8
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v6.3.0...v6.3.1
9
9
10
+ * 6.3.3 (2023-07-31)
11
+
12
+ * bug #51178 [ Finder] Revert "Fix children condition in ExcludeDirectoryFilterIterator" (derrabus)
13
+
10
14
* 6.3.2 (2023-07-30)
11
15
12
16
* bug #51138 [ Scheduler] Postpone schedule creation (HypeMC)
Original file line number Diff line number Diff line change @@ -163,14 +163,14 @@ The Symfony Connect username in parenthesis allows to get more information
163
163
- marc.weistroff
164
164
- lenar
165
165
- Jesse Rushlow (geeshoe)
166
+ - Jacob Dreesen (jdreesen)
166
167
- Théo FIDRY
167
168
- Jeroen Spee (jeroens)
168
169
- Michael Babker (mbabker)
169
170
- Włodzimierz Gajda (gajdaw)
170
171
- Hugo Alliaume (kocal)
171
172
- Christian Scheb
172
173
- Guillaume (guill)
173
- - Jacob Dreesen (jdreesen)
174
174
- Olivier Dolbeau (odolbeau)
175
175
- Florian Voutzinos (florianv)
176
176
- zairig imad (zairigimad)
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Clock ;
13
13
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
+ }
23
25
}
You can’t perform that action at this time.
0 commit comments