cakephp2-php8/lib/Cake
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
..
Cache Fix shutdown warnings in PHP7.2+ 2019-04-16 21:23:58 -04:00
Config Merge branch '2.x' into 2.next 2017-06-26 21:51:41 -04:00
Configure Merge branch '2.x' into 2.next 2017-06-26 21:51:41 -04:00
Console Fix loading ShellHelpers from plugins 2019-09-04 14:56:12 +02:00
Controller Fix for: Empty post body for json will put null value in request->data 2019-08-19 15:00:19 +02:00
Core Fix some PHP 7.3 errors 2018-11-11 16:15:55 +01:00
Error Merge branch '2.x' into 2.next 2017-06-26 21:51:41 -04:00
Event Add missing App::uses() 2019-06-19 21:52:57 -04:00
I18n Add Luxembourgish language. 2018-03-30 20:25:35 +05:30
Log Improve documentation 2018-10-26 14:23:30 +02:00
Model Merge pull request #13171 from bancer/2.x-docs 2019-04-29 14:30:49 +02:00
Network Fix #12885 2019-01-11 13:20:09 +01:00
Routing Fix queryString documentation 2019-02-07 14:23:56 +01:00
Test Test to prove issue with empty body for json 2019-08-19 14:52:46 +02:00
TestSuite Corrects style error from PHPCS by prefixing method name with an underscore 2019-07-29 15:27:45 +01:00
Utility Improve doc block 2019-05-06 14:21:24 +02:00
View Merge pull request #13060 from hgsgtk/2.x-fix-phpdoc 2019-03-19 08:47:55 +01:00
basics.php Add undocumented properties (#12717) 2018-11-15 20:41:57 -05:00
bootstrap.php Replace hard coded test directory paths with constants, fixes #12636 2018-10-26 13:49:53 +02:00
LICENSE.txt Use HTTPS for the cakephp.org URL 2017-06-10 23:40:28 +02:00
VERSION.txt Update version number to 2.10.19 2019-07-24 21:32:25 -04:00