euromark
e77f96d8b7
Use (int) cast instead of intval() function for performance reasons and to unify it.
2014-09-10 15:52:57 +02:00
euromark
974ca851c2
Correct doc blocks according to cs guidelines.
...
Remove superfluous empty lines.
2014-07-03 15:36:42 +02:00
mark_story
f6c868d706
Fix remaining doc block errors in Console/
2014-05-27 23:34:53 -04:00
mark_story
be8ebfc005
Merge branch 'master' into 2.5
2014-02-05 09:22:46 -05:00
mark_story
4d57d3ce5b
Fix plugin path filtering when directories do not exist.
...
When paths do not exist we should correctly remove them from the output
paths.
Fixes #2748
2014-01-30 21:40:08 -05:00
Ber Clausen
5c08c77b93
Set console options in the same fashion for every shell/task.
2013-12-05 22:59:01 -03:00
Marc Würth
7cfa0116f4
Removed "PHP 5" from file header DocBlocks
...
This statement does not serve a purpose anymore.
In a long forgotten world it indicated the main version number of PHP which the code in the file was compatible to.
http://pear.php.net/manual/en/standards.sample.php
But since PHP 5.1 and later this is only marginally true.
Thus I propose to remove it from CakePHP.
2013-11-13 22:58:39 +01:00
euromark
7cb19b97db
coding standards and simplification of else cases as well as some minor fixes
2013-07-03 00:52:48 +02:00
Marc Würth
4c9f0414cb
Improved the DocBlocks and other code cleanup
...
Fixed @license tag, url comes first
Whitespace and other minor code cleanup
Added some docblocks
2013-05-31 00:11:19 +02:00
euromark
111366d5c8
== to === and != to !== where applicable
2013-02-12 03:38:08 +01:00
Graham Weldon
66d856d883
Added extra line for referencing license file for copyright
2013-02-08 21:22:51 +09:00
Graham Weldon
7b860debe4
This commit is dedicated to Mark Story, who has put in much dedicated time and effort into CakePHP over the years.
...
I just wanted to ruin his evening, because this change needs to be merged into CakePHP 3.0.
2013-02-08 20:59:49 +09:00
mark_story
4af6039107
Merge branch 'master' into 2.3
...
Conflicts:
lib/Cake/Console/Command/Task/ModelTask.php
lib/Cake/Model/Model.php
2013-01-26 21:16:26 -05:00
Rachman Chavik
622d2f04f9
removing extra newline in baked files
2013-01-20 09:07:31 +07:00
jroberts0001
e8647d77eb
Added App::uses to the PluginAppController and PluginAppModel bake templates
2013-01-20 08:47:52 +07:00
Ceeram
3f4d24bfc0
remove unused local variables and a few improvements
2012-12-23 13:53:13 +01:00
ADmad
72d6ca636f
Docblock fixes
2012-11-29 04:36:29 +05:30
mark_story
3c824b586f
Use $this->bootstrap.
...
$this->boostrap makes the output match the file changed.
2012-06-18 21:38:08 -04:00
mark_story
5413143178
Don't modify app/Config/bootstrap when running tests.
2012-06-12 22:10:55 -04:00
AD7six
33c112b353
doesn'st need to be a verbose level message
...
other create mesages are output normally
2012-06-07 23:03:53 +02:00
AD7six
488ba9ef85
Make baking a plugin more user friendly.
...
Changed the text when the plugin already exists to indicate that the task stops
intentionally.
If there are folder errors - report them in the cli.
Choose the last plugin path by default
Modify the app's bootstrap file if it's not being (obviously) loaded already.
This means it is now possible to do:
Console/cake bake plugin MyPlugin
Console/cake bake model MyPlugin.MyModel
Previously the above would result in an error (which only if you know), you'd
fix by editing your Config/bootstrap.php file by hand before retrying to bake
your model.
2012-06-07 09:04:02 +02:00
Juan Basso
c754fb2dcb
Updated copyright to 2012.
2012-03-12 22:46:46 -04:00
mark_story
db8c6b5c78
Fix most of the coding standards issues in Console/
2012-03-03 18:55:29 -05:00
Kyle Robinson Young
c836ba08a3
Add/move docblocks to make text available in the API docs
2011-12-08 07:35:02 -08:00
Kyle Robinson Young
8197f87dbc
Spelling and grammar fixes
2011-12-01 21:58:09 -08:00
Kyle Robinson Young
5876744709
Adhering to coding standards
2011-11-30 07:44:11 -08:00
ADmad
73674c648c
Moving AppShell inside Console/Command for consistency with file location of other App classes. Also making all core shells and tasks extends AppShell instead of Shell. Closes #2278
2011-11-26 02:48:49 +05:30
mark_story
f65d763551
Removing ?> from AppModel and AppController plugin templates.
2011-10-12 20:42:23 -04:00
Juan Basso
511b480285
Reverted the change from while to if.
2011-07-28 23:33:27 -04:00
Juan Basso
a0ee8b49fe
Fixed some API doc in console.
2011-07-28 22:05:29 -04:00
Majna
29e4cad99e
Fix for lowercased schema folder when baking plugin skel
2011-07-28 18:57:10 +02:00
Jose Lorenzo Rodriguez
cfd2d9e00b
Updating all @package annotations in doc blocks
2011-07-26 01:46:14 -04:30
Mark Story
74e2cb1507
Updating doc blocks and @package strings for Console
...
classes.
2011-07-25 21:46:52 -04:00
Juan Basso
192812ee7f
Updating the copyright to 2011.
2011-05-30 22:32:43 -04:00
Renan Gonçalves
438050dcaa
Adding 'public' visibility to all public methods.
2011-05-30 22:02:32 +02:00
Ceeram
5f97292648
Change case of Controller::$plugin, fixing missing plugin exceptions, tests updated. Also removing no longer needed camelize() calls
2011-05-26 15:31:40 +02:00
mark_story
87bccdafe6
Updating PluginTask to filter out paths that don't exist, and not offer
...
them as options for baking plugins into. Fixes #1723
2011-05-22 22:04:08 -04:00
mark_story
85752e21c1
Removing undefined variable use.
...
Making the plugin path match the old plugins directory.
2011-05-22 22:04:08 -04:00
Heath Nail
e645fa7340
Make baked plugin directories consistent with 2.0 conventions.
2011-05-19 13:06:12 -04:00
AD7six
a199e72610
the correct argument for plugins is infact "plugins"
2011-05-15 19:28:17 +02:00
AD7six
42c5c6e7fe
when using App::path but expecting 1 result - use the first
2011-05-15 18:39:38 +02:00
AD7six
80e68763a3
remove CONTROLLERS constant
2011-05-15 17:35:00 +02:00
Jose Lorenzo Rodriguez
eea981940e
Replacing config string in favor of Config
2011-05-13 03:36:45 -04:30
Jose Lorenzo Rodriguez
2a54f0923d
More string replacing for new paths
2011-05-13 03:23:53 -04:30
Jose Lorenzo Rodriguez
2be486844e
Fixing PluginTask tests
2011-05-11 23:48:51 -04:30
Renan Gonçalves
abbe5aaea2
Updating console to use i18n'ed strings.
2011-04-25 21:24:16 +02:00
evilbloodydemon
cebcd64090
Unused variables in Console removed
2011-04-23 00:02:06 +04:00
Jose Lorenzo Rodriguez
b1e74cff5b
Fixing more path generation for plugins, and typo from previous commit
2011-04-20 11:32:16 -04:30
AD7six
2078dbccaa
use the cake_console domain for everything related to the cli
...
using big po files causes a lot of noise to be loaded whenver the
langauge domain is touched - therefore avoid any cli messages from being
loaded by web requests at all.
2011-03-19 18:32:35 +01:00
AD7six
8f0c923cf6
translations for the console dir
2011-03-12 19:59:06 +01:00