From 7dccdd1e09cd02d5e6e3afbb7219f596b798bbfb Mon Sep 17 00:00:00 2001 From: Alexandre Quercia Date: Wed, 10 Apr 2024 21:03:25 +0200 Subject: [PATCH] Allow having pretty method name for test cases --- .php-cs-fixer.dist.php | 1 + test/unit/vendor/lime/lime_harnessTest.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index b4df1a67a..a7a7c49f0 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -33,6 +33,7 @@ '@PhpCsFixer' => true, '@Symfony' => true, 'array_syntax' => ['syntax' => 'short'], + 'php_unit_method_casing' => false, ]) ->setCacheFile('.cache/php-cs-fixer.cache') ->setFinder($finder) diff --git a/test/unit/vendor/lime/lime_harnessTest.php b/test/unit/vendor/lime/lime_harnessTest.php index 162c23074..5dfb4d122 100644 --- a/test/unit/vendor/lime/lime_harnessTest.php +++ b/test/unit/vendor/lime/lime_harnessTest.php @@ -207,7 +207,7 @@ private function provideOnlyOneTestFile(): iterable ]; } - public function testRegisterFilesWithGlobThenRunThemAll(): void + public function test_registerFilesWithGlob_thenRunThemAll(): void { $harness = $this->makeHarness();