From 8f606c1025e64a99754f290a39c86560d6d65235 Mon Sep 17 00:00:00 2001 From: darrencoutts118 Date: Wed, 8 Nov 2023 20:55:17 +0000 Subject: [PATCH] PSR-12 Coding Standards --- .php-cs-fixer.cache | 2 +- src/Components/ReorderableButtonsComponent.php | 1 - src/Components/ReorderableHandleComponent.php | 1 - src/Components/ReorderableItemComponent.php | 1 - src/Components/ReorderableListComponent.php | 1 - src/Components/RepeatingFieldAddButtonComponent.php | 1 - src/Components/RepeatingFieldRemoveButtonComponent.php | 1 - 7 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index d010290..df00777 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.2.12","version":"3.38.0","indent":" ","lineEnding":"\n","rules":{"binary_operator_spaces":true,"blank_line_after_opening_tag":true,"blank_line_between_import_groups":true,"blank_lines_before_namespace":true,"braces_position":{"allow_single_line_empty_anonymous_classes":true},"class_definition":{"inline_constructor_arguments":false,"space_before_parenthesis":true},"compact_nullable_type_declaration":true,"declare_equal_normalize":true,"lowercase_cast":true,"lowercase_static_reference":true,"new_with_parentheses":true,"no_blank_lines_after_class_opening":true,"no_leading_import_slash":true,"no_whitespace_in_blank_line":true,"ordered_class_elements":{"order":["use_trait"]},"ordered_imports":{"sort_algorithm":"alpha"},"return_type_declaration":true,"short_scalar_cast":true,"single_import_per_statement":{"group_to_single_imports":false},"single_trait_insert_per_statement":true,"ternary_operator_spaces":true,"unary_operator_spaces":true,"visibility_required":true,"blank_line_after_namespace":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":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_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":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_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"no_unused_imports":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"class_attributes_separation":{"elements":{"method":"one"}}},"hashes":{"src\/Formulate.php":"a23a6f9534e7d34c408626c30f03cfa5","src\/Helpers\/Routing\/RouteParameter.php":"c6de2beeee28859a9b0d3c645bd944d2","src\/Helpers\/Routing\/RouteParameterType.php":"f4afb40cef89b6cf2372cb2d207cc007","src\/Helpers\/Routing\/Route.php":"f89ffbfb7a07be8020882bcdef698988","src\/Facades\/Formulate.php":"e3dc688bb7787483b4ee2f3cb8f60955","src\/Middleware\/ApplyAlpineJsFormAttributes.php":"f161f56c2a815fa1f66454b8664b82d1","src\/Middleware\/RepeatingFieldsMiddleware.php":"4b45097456901714c0c2f14e82866476","src\/Middleware\/PrecognitionMiddleware.php":"26f36da8f25185420e12ff6790b1ff2f","src\/Middleware\/BaseMiddleware.php":"e0ad40a0581f9616ccbaebc33ddef8b9","src\/Middleware\/ApplyFormThemeClassesMiddleware.php":"bd91c9f6a81742e40cd9cbc684b26a28","src\/FormulateServiceProvider.php":"6a622d322a2d8d1a9cccbc478c73852e","src\/Components\/TextareaComponent.php":"fb09712ce26e9c91baa39c4372229a6a","src\/Components\/Concerns\/InheritsAttributes.php":"abe46ecd73cfacc96584fd6faf1678d5","src\/Components\/LabelComponent.php":"9b91b30dd929b5930bc6699965a94ae2","src\/Components\/SelectComponent.php":"1ddb408f592f94968c290493589a1c9b","src\/Components\/BaseComponent.php":"dc1f1df9074138ed115dda04d724f2d7","src\/Components\/ButtonComponent.php":"e5d1cf667c7787e4636d13442151edbb","src\/Components\/FormComponent.php":"cc1deb10c39003d7295b0474592ce5f7","src\/Components\/OptionComponent.php":"3a12d87ae9cc630a7203d73dc0ece6b8","src\/Components\/InputComponent.php":"7aae438753eaec55ce635834eabb437c","src\/Components\/RepeatingFieldComponent.php":"0dee4c38a8cd9dd87f9ca34858372e98","src\/Components\/CheckablesComponent.php":"18c9ef4441154e27ace1ce55c15d93e6","src\/Components\/FieldGroupComponent.php":"15acc9896cbfd02f19cab4387d12ed06","src\/Components\/FieldErrorComponent.php":"6b18d96e97e8c345e5487b418da3caf8","src\/FormulateComponentAttributeBag.php":"dea0be316bc21b5fe7bf15b6c7531fd6","tests\/SelectComponentValueTest.php":"0c476964764c6abc61e6baf18ea041ae","tests\/Controllers\/ArticleController.php":"48af33c1f389b8c2b305df9a51da1154","tests\/Models\/Article.php":"ad7409e9d187d6e950f76f364edcf8d8","tests\/RadioInputComponentValueTest.php":"e9232a520c46483d07717b3ba3ed9498","tests\/ModelRouteBindingTest.php":"2f64dd30a6fde036edb0a631c9a130e3","tests\/Concerns\/Mocks.php":"cb49d40959a40b02db6693bbdfd57f3d","tests\/AlpineFormModelTest.php":"6fb696a2b575b78e48182f680206c086","tests\/CheckboxInputComponentValueTest.php":"8dc0039a2bdd82b9c0a0203eb6f97f56","tests\/Element.php":"2982e62d5cec8840029f3c8c0434ccf9","tests\/ComponentThemeTest.php":"2cab09e6c7f2d564006111b0c345bd0c","tests\/CheckboxInputComponentTest.php":"3f35d015a226e980bb9253d889148db0","tests\/database\/factories\/ArticlesFactory.php":"45e6ad5e82892a0d43d8bb1ba457fbd7","tests\/database\/migrations\/2021_01_01_000000_create_articles_table.php":"7295915edef69800e96c4ab762641537","tests\/RadioInputComponentTest.php":"68ef5aeb5d5947259bc7bf1a14ef3f90","tests\/InputComponentTest.php":"1b5189946406ae2949114d718722b203","tests\/FormValuesTest.php":"76e35abb5571f309f9a9e7b41d492599","tests\/TestCase.php":"1eef33e654f2d94baec8ac9972499030","tests\/TextareaComponentTest.php":"281edcc3ce4c39f28647511f8722c7d1","tests\/TextareaComponentValueTest.php":"f9130ccac4f11194e0dbcbf32a981609","tests\/InputValidationTest.php":"09d3c8a0d8c705e135d22ab72835dbff","tests\/SelectComponentTest.php":"d035f54ae9e43c7f76ba17716a3f4136","tests\/FormValidationTest.php":"b3b09fe0f609b16bdb5066953219c3da","tests\/FormComponentTest.php":"97b182071db8224524cba5c9632a45c4","tests\/CheckboxArrayInputComponentValueTest.php":"78846a4c77a84b15c2e299870d3186ae"}} \ No newline at end of file +{"php":"8.2.12","version":"3.38.0","indent":" ","lineEnding":"\n","rules":{"binary_operator_spaces":true,"blank_line_after_opening_tag":true,"blank_line_between_import_groups":true,"blank_lines_before_namespace":true,"braces_position":{"allow_single_line_empty_anonymous_classes":true},"class_definition":{"inline_constructor_arguments":false,"space_before_parenthesis":true},"compact_nullable_type_declaration":true,"declare_equal_normalize":true,"lowercase_cast":true,"lowercase_static_reference":true,"new_with_parentheses":true,"no_blank_lines_after_class_opening":true,"no_leading_import_slash":true,"no_whitespace_in_blank_line":true,"ordered_class_elements":{"order":["use_trait"]},"ordered_imports":{"sort_algorithm":"alpha"},"return_type_declaration":true,"short_scalar_cast":true,"single_import_per_statement":{"group_to_single_imports":false},"single_trait_insert_per_statement":true,"ternary_operator_spaces":true,"unary_operator_spaces":true,"visibility_required":true,"blank_line_after_namespace":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":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_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":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_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"no_unused_imports":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"class_attributes_separation":{"elements":{"method":"one"}}},"hashes":{"src\/Formulate.php":"8052dbc0a2505a45cbb19bff75cac321","src\/Helpers\/Routing\/RouteParameter.php":"c6de2beeee28859a9b0d3c645bd944d2","src\/Helpers\/Routing\/RouteParameterType.php":"f4afb40cef89b6cf2372cb2d207cc007","src\/Helpers\/Routing\/Route.php":"f89ffbfb7a07be8020882bcdef698988","src\/Facades\/Formulate.php":"e3dc688bb7787483b4ee2f3cb8f60955","src\/Middleware\/ApplyAlpineJsFormAttributes.php":"f161f56c2a815fa1f66454b8664b82d1","src\/Middleware\/RepeatingFieldsMiddleware.php":"4b45097456901714c0c2f14e82866476","src\/Middleware\/PrecognitionMiddleware.php":"26f36da8f25185420e12ff6790b1ff2f","src\/Middleware\/BaseMiddleware.php":"e0ad40a0581f9616ccbaebc33ddef8b9","src\/Middleware\/ApplyFormThemeClassesMiddleware.php":"bd91c9f6a81742e40cd9cbc684b26a28","src\/FormulateServiceProvider.php":"6a622d322a2d8d1a9cccbc478c73852e","src\/Components\/TextareaComponent.php":"fb09712ce26e9c91baa39c4372229a6a","src\/Components\/Concerns\/InheritsAttributes.php":"abe46ecd73cfacc96584fd6faf1678d5","src\/Components\/LabelComponent.php":"9b91b30dd929b5930bc6699965a94ae2","src\/Components\/SelectComponent.php":"1ddb408f592f94968c290493589a1c9b","src\/Components\/BaseComponent.php":"dc1f1df9074138ed115dda04d724f2d7","src\/Components\/ButtonComponent.php":"1e264edbcbb4c8e0dc1732bbae44183e","src\/Components\/FormComponent.php":"cc1deb10c39003d7295b0474592ce5f7","src\/Components\/OptionComponent.php":"3a12d87ae9cc630a7203d73dc0ece6b8","src\/Components\/InputComponent.php":"7aae438753eaec55ce635834eabb437c","src\/Components\/RepeatingFieldComponent.php":"55199790550871420c3ad007106af139","src\/Components\/CheckablesComponent.php":"18c9ef4441154e27ace1ce55c15d93e6","src\/Components\/FieldGroupComponent.php":"15acc9896cbfd02f19cab4387d12ed06","src\/Components\/FieldErrorComponent.php":"6b18d96e97e8c345e5487b418da3caf8","src\/FormulateComponentAttributeBag.php":"dea0be316bc21b5fe7bf15b6c7531fd6","tests\/SelectComponentValueTest.php":"0c476964764c6abc61e6baf18ea041ae","tests\/Controllers\/ArticleController.php":"48af33c1f389b8c2b305df9a51da1154","tests\/Models\/Article.php":"ad7409e9d187d6e950f76f364edcf8d8","tests\/RadioInputComponentValueTest.php":"e9232a520c46483d07717b3ba3ed9498","tests\/ModelRouteBindingTest.php":"2f64dd30a6fde036edb0a631c9a130e3","tests\/Concerns\/Mocks.php":"cb49d40959a40b02db6693bbdfd57f3d","tests\/AlpineFormModelTest.php":"6fb696a2b575b78e48182f680206c086","tests\/CheckboxInputComponentValueTest.php":"8dc0039a2bdd82b9c0a0203eb6f97f56","tests\/Element.php":"2982e62d5cec8840029f3c8c0434ccf9","tests\/ComponentThemeTest.php":"2cab09e6c7f2d564006111b0c345bd0c","tests\/CheckboxInputComponentTest.php":"3f35d015a226e980bb9253d889148db0","tests\/database\/factories\/ArticlesFactory.php":"45e6ad5e82892a0d43d8bb1ba457fbd7","tests\/database\/migrations\/2021_01_01_000000_create_articles_table.php":"7295915edef69800e96c4ab762641537","tests\/RadioInputComponentTest.php":"68ef5aeb5d5947259bc7bf1a14ef3f90","tests\/InputComponentTest.php":"1b5189946406ae2949114d718722b203","tests\/FormValuesTest.php":"76e35abb5571f309f9a9e7b41d492599","tests\/TestCase.php":"1eef33e654f2d94baec8ac9972499030","tests\/TextareaComponentTest.php":"281edcc3ce4c39f28647511f8722c7d1","tests\/TextareaComponentValueTest.php":"f9130ccac4f11194e0dbcbf32a981609","tests\/InputValidationTest.php":"09d3c8a0d8c705e135d22ab72835dbff","tests\/SelectComponentTest.php":"d035f54ae9e43c7f76ba17716a3f4136","tests\/FormValidationTest.php":"b3b09fe0f609b16bdb5066953219c3da","tests\/FormComponentTest.php":"97b182071db8224524cba5c9632a45c4","tests\/CheckboxArrayInputComponentValueTest.php":"78846a4c77a84b15c2e299870d3186ae","src\/Components\/RepeatingFieldRemoveButtonComponent.php":"23f2243341540a05f91552df605981c6","src\/Components\/ReorderableItemComponent.php":"9772c72be812d82e5feb3c78c2a960ca","src\/Components\/RepeatingFieldAddButtonComponent.php":"42a30ff592b7d7d46a7885f4d79e8c17","src\/Components\/ReorderableHandleComponent.php":"905568d91815ac01d55bdf7705187d0d","src\/Components\/ReorderableButtonsComponent.php":"65b90811665270f83de22da396a47590","src\/Components\/ReorderableListComponent.php":"7a0b1dff8942d64ab4b9d0525fa5b158"}} \ No newline at end of file diff --git a/src/Components/ReorderableButtonsComponent.php b/src/Components/ReorderableButtonsComponent.php index 1ff224e..50ace60 100644 --- a/src/Components/ReorderableButtonsComponent.php +++ b/src/Components/ReorderableButtonsComponent.php @@ -2,7 +2,6 @@ namespace AppKit\Formulate\Components; -use AppKit\Formulate\Components\Concerns\InheritsAttributes; use Illuminate\View\Component; class ReorderableButtonsComponent extends BaseComponent diff --git a/src/Components/ReorderableHandleComponent.php b/src/Components/ReorderableHandleComponent.php index 281f9c1..d694970 100644 --- a/src/Components/ReorderableHandleComponent.php +++ b/src/Components/ReorderableHandleComponent.php @@ -2,7 +2,6 @@ namespace AppKit\Formulate\Components; -use AppKit\Formulate\Components\Concerns\InheritsAttributes; use Illuminate\View\Component; class ReorderableHandleComponent extends BaseComponent diff --git a/src/Components/ReorderableItemComponent.php b/src/Components/ReorderableItemComponent.php index 4aa8831..8a95d5e 100644 --- a/src/Components/ReorderableItemComponent.php +++ b/src/Components/ReorderableItemComponent.php @@ -2,7 +2,6 @@ namespace AppKit\Formulate\Components; -use AppKit\Formulate\Components\Concerns\InheritsAttributes; use Illuminate\View\Component; class ReorderableItemComponent extends BaseComponent diff --git a/src/Components/ReorderableListComponent.php b/src/Components/ReorderableListComponent.php index 9de035c..fe5d2ce 100644 --- a/src/Components/ReorderableListComponent.php +++ b/src/Components/ReorderableListComponent.php @@ -2,7 +2,6 @@ namespace AppKit\Formulate\Components; -use AppKit\Formulate\Components\Concerns\InheritsAttributes; use Illuminate\View\Component; class ReorderableListComponent extends BaseComponent diff --git a/src/Components/RepeatingFieldAddButtonComponent.php b/src/Components/RepeatingFieldAddButtonComponent.php index 316df13..646d18b 100644 --- a/src/Components/RepeatingFieldAddButtonComponent.php +++ b/src/Components/RepeatingFieldAddButtonComponent.php @@ -2,7 +2,6 @@ namespace AppKit\Formulate\Components; -use AppKit\Formulate\Components\Concerns\InheritsAttributes; use Illuminate\View\Component; class RepeatingFieldAddButtonComponent extends BaseComponent diff --git a/src/Components/RepeatingFieldRemoveButtonComponent.php b/src/Components/RepeatingFieldRemoveButtonComponent.php index 7d6d49c..c91d3be 100644 --- a/src/Components/RepeatingFieldRemoveButtonComponent.php +++ b/src/Components/RepeatingFieldRemoveButtonComponent.php @@ -2,7 +2,6 @@ namespace AppKit\Formulate\Components; -use AppKit\Formulate\Components\Concerns\InheritsAttributes; use Illuminate\View\Component; class RepeatingFieldRemoveButtonComponent extends BaseComponent