From 398104c41a8fac5a032ced9b20743b2ead59a175 Mon Sep 17 00:00:00 2001 From: SonataCI Date: Mon, 22 Jan 2024 12:13:16 +0000 Subject: [PATCH 1/2] DevKit updates --- phpstan.neon.dist | 1 + 1 file changed, 1 insertion(+) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 43e76c77..691ac37a 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -22,6 +22,7 @@ parameters: featureToggles: skipCheckGenericClasses: - Symfony\Component\Form\AbstractType + - Symfony\Component\Form\FormBuilderInterface - Symfony\Component\Form\FormInterface - Symfony\Component\Form\FormTypeExtensionInterface - Symfony\Component\Form\FormTypeInterface From 743c52d2ed7c52256d576aadeefabc48747a1cd8 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Mon, 22 Jan 2024 23:10:40 +0100 Subject: [PATCH 2/2] Fix --- composer.json | 2 +- tests/Date/JavaScriptFormatConverterTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 01caa78f..96c9539f 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "phpunit/phpunit": "^9.5", "psalm/plugin-phpunit": "^0.18", "psalm/plugin-symfony": "^5.0", - "rector/rector": "^0.18", + "rector/rector": "^0.19", "symfony/config": "^5.4 || ^6.2 || ^7.0", "symfony/dependency-injection": "^5.4 || ^6.2 || ^7.0", "symfony/framework-bundle": "^5.4 || ^6.2 || ^7.0", diff --git a/tests/Date/JavaScriptFormatConverterTest.php b/tests/Date/JavaScriptFormatConverterTest.php index 3ab72bad..353f0f3b 100644 --- a/tests/Date/JavaScriptFormatConverterTest.php +++ b/tests/Date/JavaScriptFormatConverterTest.php @@ -23,7 +23,7 @@ final class JavaScriptFormatConverterTest extends TestCase { public function testPhpToJavaScript(): void { - $mfc = new JavascriptFormatConverter(); + $mfc = new JavaScriptFormatConverter(); $phpFormat = "yyyy-MM-dd'T'HH:mm:ss"; static::assertSame('yyyy-MM-ddTHH:mm:ss', $mfc->convert($phpFormat));