Skip to content

ARCH-11: Fix PHP 8.1 deprecation warnings on Helper and FormHelper#1

Merged
diegosurita merged 2 commits intomasterfrom
ARCH-11
Jan 22, 2024
Merged

ARCH-11: Fix PHP 8.1 deprecation warnings on Helper and FormHelper#1
diegosurita merged 2 commits intomasterfrom
ARCH-11

Conversation

@diegosurita
Copy link
Copy Markdown

@diegosurita diegosurita commented Jan 18, 2024

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

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

ref: ARCH-11
@diegosurita diegosurita marked this pull request as draft January 19, 2024 14:53
@diegosurita
Copy link
Copy Markdown
Author

diegosurita commented Jan 19, 2024

I had to convert this PR to draft because I realized that CakePHP 2 doesn't require the installation of intl PHP extension by default, and datefmt_format and datefmt_create rely on it. So I'll try another approach to solve the strftime deprecation warning.

@diegosurita diegosurita changed the title Fix PHP 8.1 deprecation warnings on Helper and FormHelper ARCH-11: Fix PHP 8.1 deprecation warnings on Helper and FormHelper Jan 19, 2024
@diegosurita
Copy link
Copy Markdown
Author

The strftime changes that were done here on this PR will be done by #2

@diegosurita diegosurita marked this pull request as ready for review January 19, 2024 18:42
@diegosurita diegosurita merged commit 4587edf into master Jan 22, 2024
@diegosurita diegosurita deleted the ARCH-11 branch January 22, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants