From 7e4d8ffca05beba3f6463ef5f401f73252d52e99 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Thu, 22 Jul 2021 19:07:24 +0300 Subject: [PATCH] Added missing files --- .codecov.yml | 1 + .gitattributes | 15 +++++++++++ .styleci.yml | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++ phpunit.php | 28 +++++++++++++++++++++ phpunit.xml | 31 +++++++++++++++++++++++ 5 files changed, 142 insertions(+) create mode 100644 .codecov.yml create mode 100644 .gitattributes create mode 100644 .styleci.yml create mode 100644 phpunit.php create mode 100644 phpunit.xml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..db24720 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1 @@ +comment: off diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..bd70f2f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,15 @@ +* text=auto + +.github/ export-ignore +.run/ export-ignore + +docs/ export-ignore +tests/ export-ignore + +.codecov.yml export-ignore +.gitattributes export-ignore +.gitignore export-ignore +.styleci.yml export-ignore + +phpunit.php export-ignore +phpunit.yml export-ignore diff --git a/.styleci.yml b/.styleci.yml new file mode 100644 index 0000000..cb07b4b --- /dev/null +++ b/.styleci.yml @@ -0,0 +1,67 @@ +preset: psr12 + +risky: true + +enabled: + - align_double_arrow + - align_equals + - align_phpdoc + - alpha_ordered_imports + - binary_operator_spaces + - blank_line_before_continue + - blank_line_before_declare + - blank_line_before_return + - blank_line_before_throw + - blank_line_before_try + - cast_spaces + - combine_consecutive_issets + - const_separation + - dir_constant + - fully_qualified_strict_types + - logical_operators + - method_separation + - no_alias_functions + - no_blank_lines_after_phpdoc + - no_blank_lines_between_traits + - no_empty_comment + - no_empty_phpdoc + - no_extra_block_blank_lines + - no_extra_consecutive_blank_lines + - no_short_bool_cast + - no_trailing_comma_in_singleline_array + - no_unneeded_control_parentheses + - no_unused_imports + - ordered_class_elements + - php_unit_construct + - php_unit_fqcn_annotation + - phpdoc_indent + - phpdoc_inline_tag + - phpdoc_link_to_see + - phpdoc_no_access + - phpdoc_no_empty_return + - phpdoc_no_package + - phpdoc_no_useless_inheritdoc + - phpdoc_order + - phpdoc_property + - phpdoc_return_self_reference + - phpdoc_scalar + - phpdoc_separation + - phpdoc_summary + - phpdoc_to_comment + - phpdoc_trim + - phpdoc_type_to_var + - phpdoc_types + - phpdoc_types_order + - phpdoc_var_without_name + - property_separation + - self_accessor + - short_array_syntax + - short_list_syntax + - single_line_class_definition + - single_line_throw + - single_quote + - space_after_semicolon + - standardize_not_equals + - ternary_to_null_coalescing + - trailing_comma_in_multiline_array + - trim_array_spaces diff --git a/phpunit.php b/phpunit.php new file mode 100644 index 0000000..ac54cdc --- /dev/null +++ b/phpunit.php @@ -0,0 +1,28 @@ + + + + + ./src + + + + + + + + + + ./tests + + +