cakephp2-php8/lib/Cake/View/Helper
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
..
CacheHelper.php fix: Relative time may not be cached if specified in CacheHelper duration 2023-01-22 14:24:47 +01:00
FlashHelper.php Merge branch '2.x' into 2.next 2017-06-26 21:51:41 -04:00
FormHelper.php Fix some deprecation warnings (#64) 2024-01-29 22:49:02 +01:00
HtmlHelper.php Improve php doc block in HtmlHelper.php 2020-05-22 13:48:26 +02:00
JqueryEngineHelper.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
JsBaseEngineHelper.php php-7.4-compact: replace deprecated curly brace offset access 2020-03-20 21:10:58 +01:00
JsHelper.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
MootoolsEngineHelper.php fix: Fixed error generation in MootoolsEngineHelper::drop() 2023-01-11 22:45:29 +01:00
NumberHelper.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
PaginatorHelper.php fix: PaginatorHelper::numbers() generates extra separator string in PHP 8.0+. 2023-01-30 21:28:56 +01:00
PrototypeEngineHelper.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
RssHelper.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
SessionHelper.php Fixed SessionHelper not handling stacked messages 2017-08-22 10:06:37 -05:00
TextHelper.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
TimeHelper.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00