cakephp2-php8/lib/Cake
Diego Surita 32459b11b6
Fix some deprecation warnings (#64)
* Fix PHP 8.1 deprecation warnings on Helper and FormHelper

- fix deprecation warning when Helper::_entityPath is null
- fix `strftime` function deprecation warning on FormHelper::_getDateTimeValue method

ref: ARCH-11

* Switch deprecated utf8_encode function to mb_convert_encoding function

ref: ARCH-13

* Hide strftime deprecation warning

Since CakePHP 2 doesn't require the installation of `intl` PHP extension in it's documentation, I can't use the alternative `IntlDateFormatter::format` because it relies such extension.

ref: ARCH-13

* Roll back the use of strftime

ref: ARCH-11

* Fix preg_split subject param null deprecated on FormHelper::dateTime

* Fix preg_split deprecated null param limit on CakeResponse::checkNotModified

* fix: get rid of (some) PHP deprecation warnings

- CakeResponse.php strotime() and preg_split() warnings

* Ignore hide srtftime function deprecation warning from PHPCS

* Fix typo on phpcs ignore comments

---------

Co-authored-by: Jan Pešek <jan@sinch.cz>
2024-01-29 22:49:02 +01:00
..
Cache Removed usage of deprecated getKeys in favor of keys() from phpredis 2023-10-19 23:25:34 +02:00
Config Merge branch '2.x' into 2.next 2017-06-26 21:51:41 -04:00
Configure Merge branch '2.x' into 2.next 2017-06-26 21:51:41 -04:00
Console Fixed deprecation warning when parsing parameters in ShellDispatcher.php 2023-09-18 19:34:17 +02:00
Controller fix: get rid of (some) PHP deprecation warnings 2023-10-20 09:26:46 +02:00
Core Fix dynamic property creation deprecation warning 2023-12-19 22:23:26 +01:00
Error PHP8: ErrorHandler fixed accordingly to migration guide. 2021-02-24 23:08:03 +01:00
Event Fix dynamic property creation deprecation warning from CakeEvent class 2023-12-19 22:23:26 +01:00
I18n add fo-fo 2020-09-01 13:28:14 +02:00
Log Improve documentation 2018-10-26 14:23:30 +02:00
Model Fix some PHP 8.1 deprecation warnings 2024-01-11 23:02:17 +01:00
Network fix: get rid of (some) PHP deprecation warnings 2024-01-19 22:35:39 +01:00
Routing Fix some PHP 8.1 deprecation warnings 2024-01-11 23:02:17 +01:00
Test Fix some deprecation warnings (#64) 2024-01-29 22:49:02 +01:00
TestSuite fix: Change assertPattern()/assertNoPattern() to match changes in PHPUnit API 2023-01-11 22:45:29 +01:00
Utility Fix some deprecation warnings (#64) 2024-01-29 22:49:02 +01:00
View Fix some deprecation warnings (#64) 2024-01-29 22:49:02 +01:00
basics.php Fix passing a null input to h function 2023-12-19 15:27:45 +01:00
bootstrap.php Replace hard coded test directory paths with constants, fixes #12636 2018-10-26 13:49:53 +02:00
LICENSE.txt Use HTTPS for the cakephp.org URL 2017-06-10 23:40:28 +02:00
VERSION.txt Bump version 2020-12-15 21:47:53 -05:00