mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
cs: Enable risky rule static_lambda
.
This commit is contained in:
@@ -50,7 +50,7 @@ class ExtractDateFromPatternTest extends TestCase
|
||||
$this->assertContainsOnlyInstancesOf(DateTimeImmutable::class, $result->getFound());
|
||||
|
||||
$dates = array_map(
|
||||
function (DateTimeImmutable $d) {
|
||||
static function (DateTimeImmutable $d) {
|
||||
return $d->format('Y-m-d');
|
||||
},
|
||||
$result->getFound()
|
||||
|
Reference in New Issue
Block a user