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
Michael Voříšek
5425d1a84a
Fix invalid phpdocs ( #9252 )
...
* fix missing return type in phpdoc
* fix "phpdoc_scalar"
* Fix phpdoc variable names typos
* fix wrong phpdoc tags
2023-12-10 16:20:50 +01:00
Aleksander Machniak
37d75d96a3
Short array syntax, CS fixes
2020-11-27 19:51:33 +01:00
Aleksander Machniak
47d9ed6d0c
Add support for PHPUnit 6 and 7 ( #6870 )
...
Fixes composer dependencies: Package phpunit/phpunit-mock-objects is abandoned
We cannot support v8 yet because of errors like:
Declaration of MailFunc::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void
It would require dropping PHP < 7.1 support.
2019-12-28 09:37:45 +01:00
Aleksander Machniak
1b8e01e324
Cleanup unused code
2019-10-16 12:29:24 +02:00
Aleksander Machniak
27bfd0884e
Drop rcube_browser::$lang property
...
You should use Accept-Language header instead, as we do in other place
2019-08-31 09:40:51 +02:00
Aleksander Machniak
1a10074b85
Add Edge browser detection
2019-08-31 08:50:20 +02:00
Aleksander Machniak
f5d6a242a8
Remove useless properties from rcube_browser
2019-08-31 08:19:12 +02:00
Aleksander Machniak
03f1691d47
Fixed Opera > 15 detection ( #1489562 )
2014-02-03 13:27:36 +01:00
Aleksander Machniak
3373e4ae10
Fix browser version detection and failing tests
2013-11-18 19:50:01 +01:00
Aleksander Machniak
741ddced5b
Fix Internet Explorer 11 detection ( #1489434 )
2013-11-15 10:45:44 +01:00
Sebastian Frster
18d80255e3
check parsing of HTTP_USER_AGENT Variable with multiple Datasets
2013-09-13 22:33:18 +02:00
Aleksander Machniak
5f8adabb62
Add simple (constructor) tests for Framework classes
2012-08-27 09:28:16 +02:00