diff --git a/core/lib/Thelia/Config/Resources/export.xml b/core/lib/Thelia/Config/Resources/export.xml index 897d5a0f8..29040f34f 100644 --- a/core/lib/Thelia/Config/Resources/export.xml +++ b/core/lib/Thelia/Config/Resources/export.xml @@ -37,7 +37,7 @@ Export the prices of the products excluding taxes - + Product SEO information diff --git a/core/lib/Thelia/Core/FileFormat/Formatting/AbstractFormatter.php b/core/lib/Thelia/Core/FileFormat/Formatting/AbstractFormatter.php index 92d40aa11..a6a867405 100644 --- a/core/lib/Thelia/Core/FileFormat/Formatting/AbstractFormatter.php +++ b/core/lib/Thelia/Core/FileFormat/Formatting/AbstractFormatter.php @@ -31,7 +31,7 @@ abstract class AbstractFormatter implements FormatInterface, FormatterInterface protected $logger; /** @var array */ - protected $order; + protected $order; public function __construct() { @@ -54,7 +54,7 @@ abstract class AbstractFormatter implements FormatInterface, FormatterInterface public function checkOrders(array $values) { - foreach($this->order as $order) { + foreach ($this->order as $order) { if (!array_key_exists($order, $values)) { throw new \ErrorException( $this->translator->trans( diff --git a/core/lib/Thelia/Core/FileFormat/Formatting/Formatter/CSVFormatter.php b/core/lib/Thelia/Core/FileFormat/Formatting/Formatter/CSVFormatter.php index fc526bb0f..b8ef4b69d 100644 --- a/core/lib/Thelia/Core/FileFormat/Formatting/Formatter/CSVFormatter.php +++ b/core/lib/Thelia/Core/FileFormat/Formatting/Formatter/CSVFormatter.php @@ -131,9 +131,9 @@ class CSVFormatter extends AbstractFormatter protected function formatField($value) { - if($value === null) { + if ($value === null) { $value = ""; - } else if (!is_scalar($value)) { + } elseif (!is_scalar($value)) { $value = serialize($value); }