Michael Voříšek
|
6377477eb2
|
Add PHPUnit 10.x and 11.x support (#9480)
* Add PHPUnit 10.x and 11.x support
* fix undefined TestCase::getName() for PHPUnit 10+
* Add PHPUnit attributes but keep annotations
|
2024-06-13 18:40:29 +02:00 |
|
Michael Voříšek
|
f4272804d6
|
Rename test files for PHPUnit 10+ (#9477)
|
2024-06-05 07:46:51 +02:00 |
|
Michael Voříšek
|
6a5f9ee7ce
|
Add override method attributes (#9272)
|
2024-06-02 15:57:56 +02:00 |
|
Michael Voříšek
|
54f4aa33f9
|
Fix CS - imports (#9316)
* fix Tests\Browser\TestCase imports
* fix remaining imports
* fix PHPUnit\Framework\TestCase imports
* import GuzzleHttp\Client
* fix remaining
* "php_unit_method_casing" is not todo
* fix "single_line_comment_spacing"
* fix 2nd commit done using older fixer
|
2024-01-21 19:13:31 +01:00 |
|
Michael Voříšek
|
6a53a1d853
|
Fix CS (whitespace, visibility) (#9297)
* Fix "method_argument_space"
* Fix "control_structure_continuation_position"
* Fix "new_with_parentheses"
* Fix "blank_line_before_statement"
* Fix "visibility_required"
* Fix some "array_indentation"
* Fix some "array_indentation" - unify all "rcube::raise_error" calls
* rm useless eslint ignores and add rules counts
* sort eslint ignores
* fix eslint ignores grammar
* Revert "Fix "blank_line_before_statement""
* fix CS 3.46.0
|
2024-01-04 14:26:35 +01:00 |
|
Michael Voříšek
|
a9167a0d2f
|
Fix "static_lambda" CS (#9276)
|
2023-12-20 20:01:00 +01:00 |
|
Michael Voříšek
|
e7d7e62146
|
Modernize more basic CS II (#9254)
* fix "integer_literal_case"
* fix "phpdoc_separation"
* fix "phpdoc_var_without_name"
* fix "operator_linebreak"
* fix "no_alias_language_construct_call"
* fix "list_syntax"
* fix "concat_space"
* fix "array_syntax"
* fix "binary_operator_spaces"
* fix "binary_operator_spaces" relaxed
* fix "phpdoc_types_order"
* fix "phpdoc_trim"
* fix "native_type_declaration_casing"
* fix "method_chaining_indentation"
* fix "phpdoc_no_package"
* fix "elseif"
* fix PHP CS Fixer config itself too
* fix "native_type_declaration_casing"
|
2023-12-17 13:14:45 +01:00 |
|
Michael Voříšek
|
a8707ae220
|
Fix and assert basic CS using CI (#9246)
* Assert CS using CI
* fix "single_blank_line_at_eof"
* fix "statement_indentation"
* fix "switch_case_semicolon_to_colon"
* fix "control_structure_braces"
* fix "statement_indentation"
* fix "no_whitespace_in_blank_line"
* fix "no_trailing_whitespace_in_comment"
* fix "no_trailing_whitespace"
* fix "single_space_around_construct"
* fix "spaces_inside_parentheses"
* fix "ternary_operator_spaces"
* fix "trim_array_spaces"
* fix "whitespace_after_comma_in_array"
* fix "cast_spaces"
* fix "unary_operator_spaces"
* fix "no_trailing_comma_in_singleline"
* fix "ordered_imports"
* fix "no_unused_imports"
* Check composer.json format
* fix CI job name
* file header comments are not phpdoc
* fix "phpdoc_indent"
* fix "braces_position"
* fix "phpdoc_types"
* fix "no_blank_lines_after_class_opening"
* fix "no_multiple_statements_per_line"
* fix "multiline_comment_opening_closing"
* fix "single_line_empty_body"
* fix "non_printable_character"
* fix "phpdoc_trim_consecutive_blank_line_separation"
* fix "include"
* fix "no_mixed_echo_print"
---------
Co-authored-by: Aleksander Machniak <alec@alec.pl>
|
2023-12-16 15:37:43 +01:00 |
|
Aleksander Machniak
|
89e54718ca
|
Migration to PHPUnit v9
|
2021-07-25 11:07:56 +02:00 |
|
Aleksander Machniak
|
bafac71432
|
GA: Ignore some failing browser tests that were also failing on Travis
|
2021-07-04 10:57:44 +02:00 |
|
Aleksander Machniak
|
a5470cd1e2
|
Enable some more browser tests on Travis, depending on TESTS_MODE
|
2021-01-02 13:43:29 +01:00 |
|
Aleksander Machniak
|
7b9387401e
|
A different approach to skip some browser tests on Travis
|
2021-01-02 10:07:05 +01:00 |
|
Aleksander Machniak
|
09e00e7c10
|
Attempt to fix browser tests run in Travis environment
|
2021-01-01 12:35:55 +01:00 |
|
Aleksander Machniak
|
3a3a75cd3c
|
Skip some test in Travis environment
|
2020-10-08 15:04:33 +02:00 |
|
Aleksander Machniak
|
6c1e8e1efe
|
Tests: Add Identities tests
|
2020-01-22 11:56:31 +01:00 |
|
Aleksander Machniak
|
2f20f43cbb
|
Tests: Change structure of tests
|
2020-01-18 13:58:36 +01:00 |
|