diff --git a/src/flextype/Foundation/Serializers/Frontmatter.php b/src/flextype/Foundation/Serializers/Frontmatter.php index 242f8c22..a6883d67 100644 --- a/src/flextype/Foundation/Serializers/Frontmatter.php +++ b/src/flextype/Foundation/Serializers/Frontmatter.php @@ -10,13 +10,13 @@ declare(strict_types=1); namespace Flextype; use Flextype\Component\Arr\Arr; -use const PHP_EOL; use function array_slice; use function count; use function implode; use function ltrim; use function preg_split; use function trim; +use const PHP_EOL; class Frontmatter { diff --git a/src/flextype/Foundation/Serializers/Json.php b/src/flextype/Foundation/Serializers/Json.php index 71c80171..03b5a5ae 100644 --- a/src/flextype/Foundation/Serializers/Json.php +++ b/src/flextype/Foundation/Serializers/Json.php @@ -10,11 +10,11 @@ declare(strict_types=1); namespace Flextype; use RuntimeException; +use function json_decode; +use function json_encode; use const JSON_PRETTY_PRINT; use const JSON_UNESCAPED_SLASHES; use const JSON_UNESCAPED_UNICODE; -use function json_decode; -use function json_encode; class Json { diff --git a/src/flextype/Foundation/Serializers/Serializer.php b/src/flextype/Foundation/Serializers/Serializer.php index fbf71ef0..8808af50 100644 --- a/src/flextype/Foundation/Serializers/Serializer.php +++ b/src/flextype/Foundation/Serializers/Serializer.php @@ -27,10 +27,12 @@ class Serializer 'frontmatter' => [ 'name' => 'frontmatter', 'ext' => 'md', - ], 'json' => [ + ], + 'json' => [ 'name' => 'json', 'ext' => 'json', - ], 'yaml' => [ + ], + 'yaml' => [ 'name' => 'yaml', 'ext' => 'yaml', ],