diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache new file mode 100644 index 00000000..ec447385 --- /dev/null +++ b/.php-cs-fixer.cache @@ -0,0 +1 @@ +{"php":"8.1.13","version":"3.59.3:v3.59.3#30ba9ecc2b0e5205e578fe29973c15653d9bfd29","indent":" ","lineEnding":"\n","rules":{"binary_operator_spaces":{"default":"at_least_single_space"},"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":{"imports_order":["class","function","const"],"sort_algorithm":"none"},"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":{"only_dec_inc":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":{"attribute_placement":"ignore","on_multiline":"ensure_fully_multiline"},"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},"hashes":{"php-cs-fixer-test-0.php":"2dbc841a8bf65badc0f2b4cefb4b6cdf"}} \ No newline at end of file diff --git a/astyle-test-0.c.orig b/astyle-test-0.c.orig new file mode 100644 index 00000000..e20c9858 --- /dev/null +++ b/astyle-test-0.c.orig @@ -0,0 +1,8 @@ +int Foo(bool isBar) + { + if (isBar) { + bar(); + return 1; } + else + return 0; +} diff --git a/astyle-test-1.c.orig b/astyle-test-1.c.orig new file mode 100644 index 00000000..f5680da2 --- /dev/null +++ b/astyle-test-1.c.orig @@ -0,0 +1,17 @@ +/* FEOF example */ +#include +int main() +{ + FILE * pFile; + char buffer [100]; + pFile = fopen ("myfile.txt" , "r"); + if (pFile == NULL) perror ("Error opening file"); + else { + while ( ! feof (pFile) ) { + if ( fgets (buffer , 100 , pFile) == NULL ) break; + fputs (buffer , stdout); + } + fclose (pFile); + } + return 0; +} diff --git a/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs b/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs new file mode 100644 index 00000000..03fd1dea --- /dev/null +++ b/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")] diff --git a/obj/Debug/netcoreapp3.1/project.AssemblyInfo.cs b/obj/Debug/netcoreapp3.1/project.AssemblyInfo.cs new file mode 100644 index 00000000..580b4fe6 --- /dev/null +++ b/obj/Debug/netcoreapp3.1/project.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("project")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("project")] +[assembly: System.Reflection.AssemblyTitleAttribute("project")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/obj/Debug/netcoreapp3.1/project.AssemblyInfoInputs.cache b/obj/Debug/netcoreapp3.1/project.AssemblyInfoInputs.cache new file mode 100644 index 00000000..59cb29cf --- /dev/null +++ b/obj/Debug/netcoreapp3.1/project.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +31670ae8a264c621bdb8ea6b38e65a8c7d58578b diff --git a/obj/Debug/netcoreapp3.1/project.csprojAssemblyReference.cache b/obj/Debug/netcoreapp3.1/project.csprojAssemblyReference.cache new file mode 100644 index 00000000..09be26b6 Binary files /dev/null and b/obj/Debug/netcoreapp3.1/project.csprojAssemblyReference.cache differ