diff --git a/Classes/Services/Tools/CSVManager.php b/Classes/Services/Tools/CSVManager.php index b6187ef..cac5d6d 100644 --- a/Classes/Services/Tools/CSVManager.php +++ b/Classes/Services/Tools/CSVManager.php @@ -87,7 +87,8 @@ public function writeCSV( string $filePath = '', string $fileName = '', string $delimiter = ';', - string $enclosure = '"'): void + string $enclosure = '"' + ): void { $this->writeFile($this->generateCSV($csvDatas, $delimiter, $enclosure), $filePath, $fileName); } diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 69ad331..b976744 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -39,14 +39,14 @@ public function getConfigTreeBuilder(): TreeBuilder ->ifString() ->then(function ($value) { if ('' == $value) { - throw new InvalidConfigurationException(Configuration::PATH_VALUE_EMPTY); + throw new InvalidConfigurationException(self::PATH_VALUE_EMPTY); } return $value; }) ->end() ->end() - ->scalarNode('fs_system_cache_path_chmod') + ->scalarNode('fs_system_cache_path_chmod') //Could be validated ->end() ->integerNode('fs_system_cache_path_default_ttl') ->min(0)