cakephp2-php8/lib/Cake/View
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
..
Elements Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
Errors Merge branch '2.x' into 2.next 2017-06-26 21:51:41 -04:00
Helper Fix some deprecation warnings (#64) 2024-01-29 22:49:02 +01:00
Scaffolds Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
Helper.php Fix some deprecation warnings (#64) 2024-01-29 22:49:02 +01:00
HelperCollection.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
JsonView.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
MediaView.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
ScaffoldView.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
ThemeView.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
View.php Fixes docblock for View::set() (#12837) 2018-12-23 00:09:44 +04:00
ViewBlock.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
XmlView.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00