cakephp2-php8/lib/Cake/Utility
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
..
CakeNumber.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00
CakeText.php Fix passing null deprecation warning on CakeText::insert method 2023-12-22 15:19:51 +01:00
CakeTime.php Fix some deprecation warnings (#64) 2024-01-29 22:49:02 +01:00
ClassRegistry.php Improve doc block 2019-05-06 14:21:24 +02:00
Debugger.php Fix trying to read uninitialized properties when fetching call stack during exception handling 2023-11-02 09:32:49 +01:00
File.php Fix: revert return 2017-10-05 00:09:51 +09:00
Folder.php Use array_values to avoid named parameters error 2022-01-31 17:02:07 +00:00
Hash.php Change Hash callback class reference on filter method 2023-12-19 22:24:08 +01:00
Inflector.php feat(#46): get rid of (some) PHP deprecation warnings 2023-08-18 18:17:39 +02:00
ObjectCollection.php php-8.0-compat: fix "Error: Unknown named parameter $subject" 2020-11-12 17:30:04 +01:00
Sanitize.php php-7.4-compact: replace deprecated curly brace offset access 2020-03-20 21:10:58 +01:00
Security.php Remove Security::engine() 2018-02-24 12:17:51 +09:00
Set.php php-7.4-compact: replace deprecated curly brace offset access 2020-03-20 21:10:58 +01:00
Validation.php Force email domain lookups to work in fallback case. 2017-10-25 08:45:57 +02:00
Xml.php Use HTTPS for the opensource.org MIT license URL 2017-06-11 00:23:22 +02:00