From 319fe40437d04f74279b9ceec5fd5b0df752647f Mon Sep 17 00:00:00 2001 From: Awilum Date: Thu, 9 Jan 2020 00:05:02 +0300 Subject: [PATCH] refactor(core): fix code standard for parsers #347 --- flextype/parsers/Frontmatter.php | 2 +- flextype/parsers/Json.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flextype/parsers/Frontmatter.php b/flextype/parsers/Frontmatter.php index 242f8c22..a6883d67 100644 --- a/flextype/parsers/Frontmatter.php +++ b/flextype/parsers/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/flextype/parsers/Json.php b/flextype/parsers/Json.php index 71c80171..03b5a5ae 100644 --- a/flextype/parsers/Json.php +++ b/flextype/parsers/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 {