Commit Graph

9 Commits

Author SHA1 Message Date
Aleksander Machniak
5aa0d09def Add array_first() helper, fix some code issues 2020-12-20 09:44:17 +01:00
Aleksander Machniak
c98059e43d Short array syntax, CS fixes, tests 2020-11-26 20:34:35 +01:00
Aleksander Machniak
545a1569f1 Steps -> Actions refactoring (#7688)
* Move action handling code to rcmail class
* Add rcmail_action class
* Add action aliases
* Get rid of $OUTPUT global
* Move some methods from rcmail to rcmail_action
* PHP8 compat. fixes
* Add framework for testing actions
* Fix obvious code mistakes
2020-11-01 11:25:38 +01:00
Aleksander Machniak
bde383d051 PHP8: Fix various issues
for now only these I found by running our unit tests, there will be much more
2020-10-11 10:32:41 +02: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
johndoh
57960b1cab add messages for in_array_nocase tests (#6957) 2019-10-13 15:51:16 +02:00
Aleksander Machniak
3d0b2cd3ce Pass PEAR errors to rcube::raise_error(), small CS improvements 2018-05-27 08:50:42 +02:00
Aleksander Machniak
a079269166 Fix version comparisons with -stable suffix (#1488876) 2012-12-20 08:53:48 +01:00
Aleksander Machniak
0c82e95c59 Apply rcube_shared.inc -> bootstrap.php change in tests 2012-11-27 09:13:13 +01:00