src/FINDOLOGIC/Export/Helpers/DataHelper.php
public static function checkForIllegalCsvPropertyKeys(string $propertyKey): void
    {
        if (strpos($propertyKey, "\t") !== false || strpos($propertyKey, "\n") !== false) {
            throw new BadPropertyKeyException($propertyKey);
        }
    }
public static function checkForIllegalCsvPropertyKeys(string $propertyKey): void
    {
        if (strpos($propertyKey, "\t") !== false || strpos($propertyKey, "\n") !== false) {
            throw new BadPropertyKeyException($propertyKey);
        }
    }
Verifies that property keys for use in CSV export don't contain characters that could break the format fatally.

@param string $propertyKey The property key to check.
@throw BadPropertyKeyException In case the property key contains dangerous characters.