* 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>
See https://book.cakephp.org/2.0/en/controllers/request-response.html#accessing-request-parameters and https://api.cakephp.org/2.10/source-class-UpgradeShell.html#345-403
* Initialize $params to null
* Document more magic properties, trigger deprecated notices
* Use $controller->request->params instead $controller->params
* Remove unused variable
* Improve documentation, add type checks.
* It seems like $this->uses can also be of type false; however, parameter
$array of array_unshift() does only seem to accept array.
* Declare undeclared property
* Add extra type checks
* Adjust type check
* Improve documentation, initiate uninitialized variables.
* Improve documentation, reset variable
The hiddenField option was not working as documented for radio buttons.
Instead of using the provided value, the hidden input's value was
hardcoded to ''
Refs #11002
New versions of Safari will overwrite these fields when a user uses the
back button. If one-time CSRF tokens are in use the request will be
blackholed.
Refs #10486