Skip to content

Commit 41dc9ca

Browse files
Merge branch '4.3' into 4.4
* 4.3: (26 commits) [Console] Fix #33915, Detect dimensions using mode CON if vt100 is supported [HttpKernel][DataCollectorInterface] Ease compatibility Add tests to ensure defaultLocale is properly passed to the URL generator [DependencyInjection] Fix broken references in tests [HttpClient] Retry safe requests when then fail before the body arrives Avoid using of kernel after shutdown Simplify PHP CS Fixer configuration [PropertyInfo] Fixed type extraction for nullable collections of non-nullable elements [FrameworkBundle] [HttpKernel] fixed correct EOL and EOM month [Serializer] Fix property name usage for denormalization Name test accordingly to the tested class Fix MockFileSessionStorageTest::sessionDir being used after it's unset bumped Symfony version to 4.3.7 updated VERSION for 4.3.6 updated CHANGELOG for 4.3.6 bumped Symfony version to 3.4.34 updated VERSION for 3.4.33 update CONTRIBUTORS for 3.4.33 updated CHANGELOG for 3.4.33 [HttpClient] Fix perf issue when doing thousands of requests with curl ...
2 parents b311017 + 6336efc commit 41dc9ca

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Command/AboutCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private static function formatFileSize(string $path): string
125125

126126
private static function isExpired(string $date): bool
127127
{
128-
$date = \DateTime::createFromFormat('m/Y', $date);
128+
$date = \DateTime::createFromFormat('d/m/Y', '01/'.$date);
129129

130130
return false !== $date && new \DateTime() > $date->modify('last day of this month 23:59:59');
131131
}

Test/KernelTestCase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ abstract class KernelTestCase extends TestCase
4444
private function doTearDown()
4545
{
4646
static::ensureKernelShutdown();
47+
static::$kernel = null;
4748
}
4849

4950
/**

0 commit comments

Comments
 (0)