700 Commits

Author SHA1 Message Date
Marco van 't Wout
8828c20bd9 Merge branch 'master' into bugfix/4573-null-sortfield-php8 2025-12-09 15:11:01 +01:00
erwin
4ef0c1b444 FIX: Remove finally to support PHP 5.3 session test cleanup 2025-12-09 11:59:43 +01:00
erwin
64b2da0f9c Refactor session handling in CHttpSessionTest to improve error management 2025-12-09 11:41:16 +01:00
erwin
8c5400983e Fixed code formatting to match Yii 1 coding style 2025-12-04 17:39:27 +01:00
erwin
b15a0dde6c Fix #4573: Handle mb_strtolower(null) deprecation in PHP 8.1+
- Simplified test by removing unnecessary error handling
- Fixed code formatting to match Yii 1 coding style
2025-12-04 17:19:50 +01:00
erwin
f682544dfc Remove unnecessary try-finally block in session handler test 2025-12-03 19:40:55 +01:00
erwin
dec708cca3 Fix PHP 8.4 session_set_save_handler() deprecation 2025-12-03 19:11:42 +01:00
erwin
2e4d87cfa4 Fixes #4573: Fix test to catch mb_strtolower(null, ...) deprecation in PHP 8.1+ 2025-12-03 13:55:27 +01:00
erwin
077af097c2 Fixes #4573: mb_strtolower(null, ...) deprecation when caseSensitiveSort is false 2025-12-03 13:19:49 +01:00
Robert Korulczyk
911db78c5a Add tests for allowEmpty as true 2025-07-27 22:27:47 +02:00
Robert Korulczyk
e34341155b Fix deprecation in CCaptchaAction for PHP 8.1+ 2025-07-27 22:14:06 +02:00
Marco van 't Wout
20467c1892 Disable deprecations in test suite from PHP 8.3 onwards 2025-03-27 16:07:26 +01:00
Marco van 't Wout
dd3cbb1f2c FIX: apply #[\AllowDynamicProperties] on TestClass 2025-03-27 15:32:14 +01:00
Marco van 't Wout
21c0353237 FIX: apply #[ReturnTypeWillChange] to test classes that implement JsonSerializable 2025-03-27 15:25:35 +01:00
Marco van 't Wout
9d657a562b Patch moved upstream 2024-09-18 16:25:44 +02:00
Marco van 't Wout
46405c43e6 Attempt to fix failing unit tests that use runInSeparateProcess 2024-06-04 15:02:40 +02:00
Marco van 't Wout
baf51652ca Attempt to fix failing unit tests that use runInSeparateProcess 2024-06-04 14:06:43 +02:00
Tommy
784341c970 FIX: fix #4506 and add some unit tests to test for regressions 2022-12-27 15:57:57 +01:00
Tommy
ddb434b614 FIX: do not pass null into functions that do not allow null 2022-12-23 17:20:46 +01:00
Tommy
773f4ae5e1 FIX: spaces to tabs 2022-12-22 15:37:35 +01:00
Tommy
6c751eb6c6 ADD: add tests testing CHtml with arrays with null or empty strings as
keys
2022-12-22 15:35:01 +01:00
Tommy
5bc5daa3db FIX: do not pass null into CDateTimeParser::parse 2022-12-22 12:01:30 +01:00
Tommy
f0ce5d8c2a DEL: remove condition and comment as it is not needed 2022-12-21 16:39:06 +01:00
Tommy
753285d489 CHG: use assertSame to prevent type coercion 2022-12-21 14:59:04 +01:00
Tommy
b46da1a49e FIX: cast $selection to string as it might be null and cause deprecation
erros
2022-12-21 13:53:48 +01:00
Tommy
fcc8ba13d4 FIX: initialise output value so preg_replace is not executed on null 2022-12-21 13:25:32 +01:00
Tommy
1157b4a90e FIX: sizeToBytes returns 0 instead of 'null', test for the correct
outcome. Also fix php8.1 compatibility
2022-12-21 11:30:13 +01:00
Tommy
d87851d27e FIX: cast to string for strcmp 2022-12-19 15:51:13 +01:00
Tommy
8664efcd1b FIX: cast null values in tests, cast null value in CLocale->getCanonicalID 2022-12-19 14:42:20 +01:00
Tommy
1f3b62f2a9 FIX: cast nullable strings to strings for mb_strlen, strlen and explode 2022-12-19 12:36:43 +01:00
Tommy
8598082d28 FIX: do not pass null to mb_strpos#3 2022-12-19 09:53:45 +01:00
Tommy
126116f704 FIX: php 5.3 compatibility 2022-12-14 17:47:02 +01:00
Tommy
3558d7f630 REFACTOR: allow only offset to be set for mssql > 11 2022-12-14 17:14:17 +01:00
Tommy
585defa79b FIX: tests classname for older PHP compatibility, spacing and
indentation
2022-12-14 11:02:04 +01:00
Tommy
3c7ff13306 CHG: update changelog, fix spaces to tabs 2022-12-13 17:18:51 +01:00
Tommy
0500c25d9e FIX: getAttribute does not need to be mocked 2022-12-12 16:57:05 +01:00
Tommy
5a13ea2ace REFACTOR: mock database connection and schema for CMssqlCommandBuilder 2022-12-12 15:31:00 +01:00
Tommy
825f73ae7e FIX: generate the correct sql for selects with limit and offset for
mssql >= 11
2022-12-09 13:48:36 +01:00
Arhell
1162a1d343 update jquery & others links 2022-08-13 01:09:35 +03:00
Arhell
8518f95605 update yii & php.net links 2022-08-09 00:11:49 +03:00
Marco van 't Wout
c41ba585ad Remove executable mode from files that don't need it 2021-06-09 15:16:41 +02:00
Marco van 't Wout
243755e8b6 Add option to omit [CDATA wrapping from contents of <script> and <style> for HTML 5 applications. 2021-03-11 18:13:44 +01:00
Marco van 't Wout
097c482656 Add option to omit type="text/javascript" from <script> in HTML 5 applications. Keep original order of src and type attributes. 2021-03-11 17:49:24 +01:00
Marco van 't Wout
9ea77eebb0 Merge branch 'master' into replace-zend-jsmatcher-for-emoji-support 2020-11-27 14:48:47 +01:00
Marco van 't Wout
88fa6e4cd9 Add test case based on 3a30cefff2 2020-11-27 14:28:51 +01:00
aprudencio
36df51d68d Fix Phpunit 9 incompatibility 1.1 (#4319) (#4321)
Please try it out in your own environments. I have not considered other cases than CTestCase
2020-11-23 02:01:54 +03:00
Alexander Makarov
c3252da3a7 Apply PHPUnit patches by URL (#4328) 2020-10-30 22:29:06 +03:00
Alexander Makarov
464158a78a Fix formatting 2020-08-07 00:55:24 +03:00
Alexander Makarov
76eb547fe2 Fix the patch 2020-08-06 21:47:48 +03:00
Alexander Makarov
3ea3a00870 Skip CEmailValidatorTest::testMxPortDomainWithNoMXRecord() under github actions 2020-08-06 21:40:18 +03:00