Commit graph

19483 commits

Author SHA1 Message Date
Mark Story
59e12788fc
Merge pull request #14622 from RichieB2B/ncsc-nl/uuid
Generate truly random uuid() for Cake 2.x
2020-05-23 12:06:06 -04:00
Richard van den Berg
63c01dfbab Generate truly random uuid() 2020-05-23 15:38:41 +02:00
Mark Sch
a4bd6c40cc
Merge pull request #14619 from bancer/patch-19
Improve php doc block in HtmlHelper.php
2020-05-22 15:21:41 +02:00
Val Bancer
2d4f80bf66
Improve php doc block in HtmlHelper.php 2020-05-22 13:48:26 +02:00
mark_story
ab7eb46f20 Update version number to 2.10.21 2020-05-17 20:31:14 -04:00
ADmad
1ceb2107b1
Merge pull request #14507 from JakubOnderka/patch-1
2.x: Fix argument order for implode method
2020-04-27 22:07:23 +05:30
Jakub Onderka
fc3b50c523
Fix argument order for implode method
Different order is deprecated and will cause fatal error in PHP8
2020-04-27 16:08:52 +02:00
Mark Sch
785734e052
Merge pull request #14483 from bancer/patch-14
Fix invalid data type
2020-04-21 11:55:58 +02:00
Val Bancer
b957faa39c
Fix invalid data type 2020-04-21 11:32:16 +02:00
Mark Story
5ccb12354d
Merge pull request #14425 from cakephp/tls-13
Add TLS 1.3 support to CakeSocket
2020-04-06 10:23:04 -04:00
Mark Story
50e0ca7f9d Add TLS 1.3 support to CakeSocket
Fixes #14422
2020-04-05 00:25:09 -04:00
othercorey
d65ad7bd92
Merge pull request #14379 from mfn/mfn-curly-braces
[2.x] php-7.4-compact: replace deprecated curly brace offset access
2020-03-20 17:27:05 -05:00
Markus Podar
459ee900fe
php-7.4-compact: replace deprecated curly brace offset access
Per https://wiki.php.net/rfc/deprecate_curly_braces_array_access and https://www.php.net/manual/en/migration74.deprecated.php
>  The array and string offset access syntax using curly braces is deprecated. Use $var[$idx] instead of $var{$idx}.
2020-03-20 21:10:58 +01:00
mark_story
1ea6732e40 Update version number to 2.10.20 2020-01-16 20:56:03 -05:00
Mark Story
13fba738f7
Merge pull request #13984 from othercorey/2.x-phpunit-warnings
2.x - Updated CakeTestSuiteCommand::run() exit logic to match phpunit's
2019-12-06 10:14:14 -05:00
Mark Sch
16e8adce30
Merge pull request #13985 from bancer/patch-13
Improve doc block
2019-12-06 11:51:25 +01:00
Val Bancer
c59f021c4e
Improve doc block 2019-12-06 10:41:45 +01:00
Corey Taylor
eda72a6f3b Updated CakeTestSuiteCommand::run() exit logic to match phpunit's behavior now that doRun() is called with =false. 2019-12-06 01:15:11 -06:00
Mark Story
0992fa1c41
Merge pull request #13969 from cakephp/2.x-php74
2.x - PHP 7.4
2019-12-05 13:08:11 -05:00
Edgaras Janušauskas
49bbc21e1d Fix failures on PHP 7.4. Run phpcs on PHP 7.0 2019-12-05 15:11:35 +02:00
Edgaras Janušauskas
b56ea15eba
Update .travis.yml 2019-12-03 14:58:52 +02:00
Edgaras Janušauskas
d46fadddf8
Add Travis service config 2019-12-03 13:17:39 +02:00
Mark Sch
02bcdec391
Drop long EOL versions in favor of PHP5.6+ 2019-12-02 18:02:22 +01:00
Mark Sch
ed14b42274
php74 2019-12-02 17:56:38 +01:00
Mark Story
5eed56b6e4
Merge pull request #13947 from pascalwoerde/2.cannot-change-save-handler-when-session-is-active
Fix duplicate session_set_save_handler call from handler instantiation.
2019-11-28 16:56:04 -05:00
Pascal Woerde
2affcdfb00
Fix duplicate session_set_save_handler call from handler instantiation. 2019-11-26 13:39:22 +01:00
Mark Story
d2e1681eb8
Merge pull request #13683 from gersonfs/2.x
Solving headers already sent bug on sessions whit phpunit.phar
2019-09-26 15:10:03 -04:00
Gerson Felipe Schwinn
cf49efdf0e Solving headers already sent bug on sessions whit phpunit.phar 2019-09-26 09:00:11 -03:00
Mark Story
46068ac65b
Merge pull request #13606 from milan-corpoflow/patch-1
Fix loading ShellHelpers from plugins
2019-09-04 21:07:20 -04:00
Milan van As
64700e9a08
Fix loading ShellHelpers from plugins
Previously the Shell::helper() function would call a `class_exists` on a variable that contained the `Plugin.ClassName` notation which will always result be false, e.g. `class_exists('YourPlugin.TestShellHelper')` will always be false. Loading ShellHelpers from a plugin will never work because of this. (This notation is described in the ShellHelper 2.x documentation).
After the pluginSplit and the loading of the actual ShellHelper class file (through `App::uses`), the `class_exists` should be called on the real class name, not on `Plugin.ClassName`.

Through this fix, plugins with an ExampleShellHelper in placed in MyPlugin/Console/Helper/ExampleShellHelper.php can be called in Shells by `$this->helper('MyPlugin.ExampleShellHelper')` and plugins within your app can still be loaded through the regular `$this->helper('MyShellHelper')`.
2019-09-04 14:56:12 +02:00
Mark Story
ec8022baf5
Merge pull request #13539 from mvdriel/empty-post-body-for-json-will-put-null-value-in-request-data
Empty post body for json will put null value in request->data
2019-08-19 22:06:47 -04:00
Mark van Driel
142c19c557 Fix for: Empty post body for json will put null value in request->data 2019-08-19 15:00:19 +02:00
Mark van Driel
d4c351563e Test to prove issue with empty body for json 2019-08-19 14:52:46 +02:00
Mark Story
31dbda0a71
Merge pull request #13446 from garethellis36/ControllerTestCase/create-dispatcher
2.x - Moves creation of ControllerTestDispatcher to its own protected method
2019-07-29 21:58:27 -04:00
Gareth Ellis
dba84d65d7 Corrects style error from PHPCS by prefixing method name with an underscore 2019-07-29 15:27:45 +01:00
Gareth Ellis
f198ffdb9c Moves creation of ControllerTestDispatcher to its own protected method 2019-07-29 10:35:43 +01:00
mark_story
8f08a83474 Update version number to 2.10.19 2019-07-24 21:32:25 -04:00
mark_story
85eb25e8b5 Add missing App::uses()
Fixes #13083
2019-06-19 21:52:57 -04:00
Mark Story
396e342601
Merge pull request #13311 from tenkoma/2.x-exec-fixture-shutdown-phpunit5.2
[2.x]Fix When PHPUnit 5.2.0+, test ends before calling FixtureManager::shutdown()
2019-06-02 21:54:29 -04:00
Koji Tanaka
d09e827f6c Pass $exit arguments to the parent doRun() method and $exit is false 2019-06-01 22:59:30 +09:00
mark_story
00aec4b4f5 Update version number to 2.10.18 2019-05-13 22:28:47 -04:00
Mark Story
3522378925
Merge pull request #13198 from bancer/2.x-docs
Improve doc block
2019-05-06 11:12:38 -04:00
bancer
7e1fef4066 Improve doc block 2019-05-06 14:21:24 +02:00
Mark Sch
9270d4759b
Merge pull request #13171 from bancer/2.x-docs
Improved doc block
2019-04-29 14:30:49 +02:00
bancer
928f586599 Improved doc block 2019-04-29 10:40:10 +02:00
Mark Story
7d8da309ed
Merge pull request #13169 from tenkoma/2.x-test-pass-with-php73
[2.x]Skip tests that fail on PHP 7.3 built-in functions
2019-04-28 10:03:56 -04:00
Koji Tanaka
cf39119151 In PHP 7.3+, call the built-in function mb_strtoupper() to skip failed tests 2019-04-28 21:00:45 +09:00
Mark Story
c8a9c61f27
Merge pull request #13126 from cakephp/issue-13085
Fix shutdown warnings in PHP7.2+
2019-04-17 11:44:57 -04:00
mark_story
4d0a209033 Fix shutdown warnings in PHP7.2+
Check if the current file is valid before re-using it. This fixes
warnings emitted during process shutdown when DboSource is persisting
the method cache.

Fixes #13085
2019-04-16 21:23:58 -04:00
mark_story
d954e96671 Update version number to 2.10.17 2019-04-13 22:17:43 -04:00