Commit graph

17 commits

Author SHA1 Message Date
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
Kenshin Okinaka
0ec6365f9d Update .gitignore 2023-02-03 09:42:19 +01:00
Val Bancer
0feb93f7a0 added Eclipse paths to gitignore 2016-09-05 21:01:12 +02:00
Marc Würth
cec7d5d03a Added NetBeans project folder to .gitignore
Refs 78fb9b559a (commitcomment-7077015)
2014-07-21 10:08:43 +02:00
Marc Würth
78fb9b559a Added *.mo and .idea to .gitignore 2014-07-18 19:11:56 +02:00
Marc Würth
514d9675d8 Updated .gitignore, synced app & skel
Added some good practice rules from https://help.github.com/articles/ignoring-files to gitignore
Changed .gitignore to only ignore /app/Config/database.php instead of all files in /app/Config/ (helps to keep it in sync with its skel folder!)

Brought \app\ and \lib\Cake\Console\Templates\skel\ in sync
Fixed various @package annotations in \app\
Fixed various @package annotations in \lib\Cake\Console\Templates\skel\
2013-02-08 15:54:36 +01:00
mark_story
08f08116c1 Anchor ignore. 2012-03-26 20:12:32 -04:00
mark_story
6c35469962 Add dist/ and build/ to gitignore. 2012-01-07 20:05:10 -05:00
Thomas Ploch
cd7b7c9ced Added '/lib/Cake/Console/Templates/skel/tmp' to .gitignore file to ignore cache files of CLI. 2011-10-05 15:36:49 +02:00
Mark Story
08c72a6142 Adding tags file to gitignore. 2011-06-19 22:44:37 -07:00
Thomas Ploch
d7090146fe Added renamed 'app/Config' to .gitignore. 2011-05-16 08:32:55 +02:00
mark_story
66b29e33e8 Adding annoying macos files to gitignore. 2011-05-04 23:34:41 -04:00
jperras
d94c7c2fe5 Making gitignore entries absolute with respect to the repository root. 2009-09-24 19:36:04 -04:00
AD7six
c1b919aba7 ignoring the contents of the plugins dir 2009-08-02 15:03:54 -07:00
gwoo
15518b8c9a merging 1.3-misc into master 2009-05-01 14:05:46 -07:00
gwoo
5cf96a077a adding app/tmp to gitignore 2009-05-01 10:52:14 -07:00
gwoo
38b7a34a8e adding gitignore with "vendors" 2009-05-01 08:24:24 -07:00