Commit graph

19513 commits

Author SHA1 Message Date
bancer
8a724bb698 Use CONFIG constant 2019-02-21 16:54:07 +01:00
Benjamin Stout
0cc3509b74 Prevent attempting to close an uninitialized Redis instance (issue #13001) 2019-02-19 18:21:44 -08:00
Benjamin Stout
d486e1ca9e Wrap index reference in empty() check - closes cakephp#13001 2019-02-19 16:32:25 -08:00
Mark Sch
664af06851
Merge pull request #12960 from bancer/2.x-docs
Fix queryString documentation
2019-02-07 14:39:50 +01:00
bancer
63bbd4cd7b Fix queryString documentation 2019-02-07 14:23:56 +01:00
Mark Story
c5229c2037
Merge pull request #12913 from bancer/2.x
Add unit test for timezone conversion
2019-01-31 22:20:11 -05:00
bancer
bb20b4f419 Change private method to protected 2019-01-31 09:49:41 +01:00
bancer
e94183c6d8 Give a better name to a new function 2019-01-29 09:16:48 +01:00
mark_story
7da7a9fab4 Update version number to 2.10.15 2019-01-25 21:41:55 -05:00
bancer
ec5bac5e52 Fix timezone adjustment in CakeTime::nice and CakeTime::niceShort 2019-01-25 13:56:50 +01:00
bancer
e845e8876d Add unit test 2019-01-25 13:04:41 +01:00
bancer
c855ef874b Simplify i18nFormat 2019-01-25 12:25:26 +01:00
bancer
009d69b3f7 Fix code style errors 2019-01-25 12:21:34 +01:00
bancer
044e8f24af Fix timezone conversion 2019-01-25 12:05:44 +01:00
bancer
7911bb9052 Remove unnecessary timezone offset manipulation 2019-01-24 15:43:11 +01:00
Val Bancer
c269ae29e6
Add timezone conversion unit test 2019-01-20 21:54:41 +01:00
bancer
4eb42e0b05 Add unit test for timezone conversion 2019-01-18 17:07:05 +01:00
Mark Story
73de35c119
Merge pull request #12906 from akeiper/2.x
resolving ini_set error in php 7.2

Fixes #12678
2019-01-16 21:57:13 -05:00
mark_story
a13abcf97b Fix tests. 2019-01-16 21:53:42 -05:00
andrew.keiper
38074f72e9 adding support for PHP 5.3 by adding function_exists for session_status 2019-01-16 15:28:35 -05:00
andrew.keiper
06269b3fba resolving session issues for php 7.2 2019-01-16 10:43:04 -05:00
kicaj
bcbe5fdcf0
Fix #12885 2019-01-11 13:20:09 +01:00
ADmad
108313d74c
Merge pull request #12890 from tenkoma/2.x-enable-php-memcached-on-ci
[2.x]Enable php-memcached on TravisCI
2019-01-11 13:26:08 +05:30
Mark Story
29d49214c4
Merge pull request #12852 from bancer/2.x-code-style
Improve documentation
2018-12-28 08:52:05 -08:00
bancer
71ea302336 Improve documentation 2018-12-28 14:19:26 +01:00
Koji Tanaka
734835402b Enable php-memcached on TravisCI 2018-12-23 19:11:26 +09:00
Joseph Zidell
6ed88922a5 Fixes docblock for View::set() (#12837)
* Fixes docblock for View::set()
2018-12-23 00:09:44 +04:00
mark_story
1dc3219f22 Update version number to 2.10.14 2018-12-19 20:45:32 -05:00
Mark Story
0471d7a9ca
Merge pull request #12808 from bancer/2.x-issue-12804-generate-shell-enum
Improve support of enum data type
2018-12-16 19:30:21 -08:00
Mark Story
2efca21d0e
Merge pull request #12811 from josephzidell/patch-3
Fixes docblock for Folder constructor
2018-12-12 21:45:07 -08:00
Joseph Zidell
44f4fe27bf
Fixes docblock for Folder constructor 2018-12-12 22:45:41 -05:00
bancer
7788c60f58 Adjust enum related unit tests 2018-12-12 14:31:55 +01:00
bancer
cf6c8d511f Improve support of enum data type 2018-12-12 12:40:20 +01:00
Mark Story
acb0436cb6
Merge pull request #12736 from bancer/2.x-documentation
Improve documentation and code style
2018-12-11 12:59:19 -08:00
Val Bancer
0f2bbf505d
Adjust the check according to review comments 2018-12-11 16:36:32 +01:00
Yaser Naderi
3d224639d9 Add the functionality to accept enum MySQL datatype storing the Integer values as String (#12715)
Fix a bug in enum MySQL datatype storing Integers when enum contains
integer string values. Now strings will always be used for enum values.
2018-11-30 21:27:58 -05:00
Mark Story
fea343d67c
Merge pull request #12776 from martinstuecklschwaiger/patch-1
Fix @return value
2018-11-29 15:39:15 -05:00
Martin Stücklschwaiger
a9e20c39be
Fix @return value 2018-11-29 20:37:03 +01:00
Val Bancer
addd538526 Fix invalid condition 2018-11-18 22:48:34 +01:00
Val Bancer
c00579153b Cast var to int for comparison 2018-11-18 18:22:19 +01:00
Val Bancer
cb1d80fda1 Improve documentation 2018-11-18 17:13:11 +01:00
Val Bancer
92e9277d20 Improve code style 2018-11-18 16:24:25 +01:00
Val Bancer
509accc421 Improve code style 2018-11-17 20:55:42 +01:00
Val Bancer
261a99c0e3 Improve documentation and code style 2018-11-17 20:27:05 +01:00
Val Bancer
320cdf98ee Add undocumented properties (#12717)
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
2018-11-15 20:41:57 -05:00
Mark Story
8573c15575
Merge pull request #12718 from bancer/php-7.3
Fix some PHP 7.3 errors
2018-11-12 21:22:51 -05:00
Val Bancer
22b0386fd5 Move failing assertion to a new test method 2018-11-11 17:53:28 +01:00
Val Bancer
d9655c94c5 Remove memcached in PHP 7.3 tests 2018-11-11 17:49:11 +01:00
Val Bancer
2f5467e8e8 Move failing assertion to a new test method 2018-11-11 17:36:10 +01:00
Val Bancer
0f0cedec14 Move failing assertion to a new test method 2018-11-11 17:18:18 +01:00