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) { 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());