From fd0776f8cbf2c46900d2b59a275b88ba430691bc Mon Sep 17 00:00:00 2001 From: aerni Date: Mon, 20 Sep 2021 07:10:56 +0000 Subject: [PATCH] Fix styling --- .php-cs-fixer.cache | 2 +- src/Factory.php | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index 542d468..0e16aa1 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.0.10","version":"3.1.0","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"single_trait_insert_per_statement":true},"hashes":{"src\/ServiceProvider.php":1671237424,"src\/Factory.php":3055044001,"src\/Mapper.php":4114190284,"src\/Commands\/RunFactory.php":2625397668,"src\/Utils.php":2711321436,"tests\/TestCase.php":1830542586,"tests\/__fixtures__\/config\/statamic\/stache.php":1669594231}} \ No newline at end of file +{"php":"8.0.10","version":"3.1.0","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"single_trait_insert_per_statement":true},"hashes":{"src\/ServiceProvider.php":1671237424,"src\/Factory.php":2251423147,"src\/Mapper.php":4114190284,"src\/Commands\/RunFactory.php":2625397668,"src\/Utils.php":2711321436,"tests\/TestCase.php":1830542586,"tests\/__fixtures__\/config\/statamic\/stache.php":1669594231}} \ No newline at end of file diff --git a/src/Factory.php b/src/Factory.php index 249cce3..d6f30f4 100644 --- a/src/Factory.php +++ b/src/Factory.php @@ -2,19 +2,19 @@ namespace Aerni\Factory; -use Statamic\Support\Str; -use Statamic\Facades\Site; -use Statamic\Facades\Term; -use Statamic\Facades\User; -use Statamic\Facades\Asset; -use Statamic\Facades\Entry; use Faker\Generator as Faker; -use Stillat\Primitives\Parser; -use Statamic\Facades\Blueprint; -use Statamic\Facades\GlobalSet; use Illuminate\Support\Collection; +use Statamic\Facades\Asset; use Statamic\Facades\AssetContainer; +use Statamic\Facades\Blueprint; +use Statamic\Facades\Entry; +use Statamic\Facades\GlobalSet; +use Statamic\Facades\Site; +use Statamic\Facades\Term; +use Statamic\Facades\User; +use Statamic\Support\Str; use Stillat\Primitives\MethodRunner; +use Stillat\Primitives\Parser; class Factory {