From e12892de5a00497452b0f94338fc3c929eee8ce0 Mon Sep 17 00:00:00 2001 From: Basil Baumgartner Date: Fri, 1 Apr 2022 10:53:46 +0200 Subject: [PATCH 1/2] fix: used finder->exclude instead of notPath for excludedDirs --- Command/ExtractCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/ExtractCommand.php b/Command/ExtractCommand.php index 065c6e4..7dd27bf 100644 --- a/Command/ExtractCommand.php +++ b/Command/ExtractCommand.php @@ -143,7 +143,7 @@ private function getConfiguredFinder(Configuration $config): Finder $finder->in($config->getDirs()); foreach ($config->getExcludedDirs() as $exclude) { - $finder->notPath($exclude); + $finder->exclude($exclude); } foreach ($config->getExcludedNames() as $exclude) { From 52cb49145937f5219eefb19b66ff66c91fe7bdbb Mon Sep 17 00:00:00 2001 From: Basil Baumgartner Date: Fri, 1 Apr 2022 11:12:17 +0200 Subject: [PATCH 2/2] docu: updated php comment in SymfonyProfilerController --- Controller/SymfonyProfilerController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/SymfonyProfilerController.php b/Controller/SymfonyProfilerController.php index 58be70c..d36e54e 100644 --- a/Controller/SymfonyProfilerController.php +++ b/Controller/SymfonyProfilerController.php @@ -71,7 +71,7 @@ public function editAction(Request $request, string $token): Response return new Response($content); } - //Assert: This is a POST request + // Assert: This is a POST request $message->setTranslation((string) $request->request->get('translation')); $this->storage->update($message->convertToMessage());