Commit Graph

8 Commits (47d9ed6d0c6bd8cb3ba551555ba8995a244cfcd0)

Author SHA1 Message Date
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.
4 years ago
Aleksander Machniak a0374f3c45 Fix mangled non-ASCII characters in links in HTML messages (#6028) 7 years ago
Aleksander Machniak 94f8ce3334 Make html::parse_attrib_string() more robust
Fixes PHP Error: Expression parse error on: ($app->config->get('preview_pane',rcube_utils::get_boolean('')) == true ? ' checked=checked' : ')
8 years ago
Aleksander Machniak 638ebf69c4 Fix/remove tests related to data-* attributes handling 10 years ago
Aleksander Machniak 7c23451eec Added tests for html::attrib_string() method 10 years ago
Aleksander Machniak 97313ac258 Fix test for html::quote() 12 years ago
Aleksander Machniak 5f8097b9eb Added tests for specialchars quoting 12 years ago
Aleksander Machniak 5f8adabb62 Add simple (constructor) tests for Framework classes 12 years ago