Samuel Akopyan
bc0f4d0eb4
Bug #4566 fixed tabs instead of spaces
2024-09-26 23:29:31 +03:00
Samuel Akopyan
6cd267fb25
PHP 8 compatibility: Fix passing null to string parameter parameter
2024-09-24 20:32:11 +03:00
Tommy
7c05e7373a
CHG: use Yii2's solution to check for complex parameter types
2023-04-03 09:31:42 +02:00
Tommy
85b25c7d94
FIX: check for intersection and union types on console command actions
2023-03-21 15:28:50 +01:00
Arhell
fad0c5be77
update links
2022-08-07 11:54:16 +03:00
Alexander Makarov
464158a78a
Fix formatting
2020-08-07 00:55:24 +03:00
Alexander Makarov
cf6ddbf080
Handle ReflectionParameter::isArray() deprecation in PHP 8
2020-08-03 20:11:36 +03:00
Carsten Brandt
0c10c18c4f
fixed indentation
2016-01-13 16:37:44 +01:00
Dmitri Vereshchagin
3de0aedcf4
Fixes #3949 : Added $overwriteAll argument to CConsoleCommand::copyFiles() which can be set to true in noninteractive commands
2015-09-25 01:44:04 +03:00
JMX
09b1734c1c
bug: characters translation
...
http://cn2.php.net/manual/en/function.strtr.php
2014-10-03 16:51:23 +08:00
Алексей Волков
1bafc15558
Update CConsoleCommand.php
...
Add newline into auto-generated console help
2013-08-02 15:44:45 +03:00
Maurizio Domba (mdwork)
f422d318f6
doc fix
2013-05-15 10:46:35 +02:00
Alexander Makarov
0dbccc488e
Fixed #1996 : Using yiic help for commands with parameters with array as default value resulted in PHP error with latest PHP versions
2013-01-26 23:06:46 +01:00
Abdul Malik Ikhsan
6247adaf26
change copyright symbol
2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a
update copyright year
...
from 2011 to 2013
2013-01-15 17:28:17 +07:00
tom--
f1b0720e9e
better whitespace
2013-01-07 20:59:50 -05:00
tom--
0d9f6f909b
Plural of staff is staff
2013-01-07 20:57:45 -05:00
nsanden
29953e7a8a
fixed some code formatting issues
2012-11-30 18:09:20 -08:00
nsanden
535baddba5
Forgot to surround first letter with ( and )
2012-11-30 17:44:28 -08:00
nsanden
45bd660ae8
Added some regex replacements for pluralize
2012-11-30 16:12:15 -08:00
Alexander Kochetov
486723805e
else if => elseif
2012-10-03 10:20:14 +04:00
Alexander Makarov
d865a3bab8
Fixes #1057 Removed SVN ids
2012-09-09 22:23:45 +04:00
Leo R. Lundgren
7a194496a5
Fix a bunch of @param and @return phpdoc errors in various files.
2012-08-03 16:17:58 +02:00
resurtm
f2d0c6b7d2
Docblock fix.
2012-07-26 19:28:06 +06:00
resurtm
629540bfb5
WebAppCommand now supports generation of additional files for hg and git.
2012-07-26 19:05:40 +06:00
Steffen Dietz
610689a710
updated upgrade instructions, minor code style upgrade
2012-05-15 10:29:28 +02:00
CeBe
b0d51705aa
small doc enhancements
...
ensure clearness
2012-05-01 00:03:57 +02:00
Carsten Brandt
a098f97b0e
code style and small documentation fixes
...
due to comments in a6d8222 4fd934d
2012-04-28 00:32:09 +02:00
Carsten Brandt
a6d8222df1
for consistency: alwas return integer exit code
...
the default implementation of CConsoleCommand now always returns integer
exit code.
If for some reason someone does not want application to exit he could
overide run() method to return null or some other non integer value.
2012-04-27 22:28:01 +02:00
Carsten Brandt
86b75f31f1
Allowed returning exit code in console actions
...
Allowed returning integer values as application exit code in
CConsoleCommand actions.
Application will now exit with the given integer values as exit code.
This is better than just exit(1) because onAfterAction event is called
And you can use the return value when doing
Yii::app()->getCommandRunner()->run(...) to run a specific command
inside an other command.
2012-04-27 19:24:27 +02:00
Carsten Brandt
0f3ab344ac
fixed typos and whitespace
...
documentation of stopCommand was just the other way round
2012-04-27 19:04:15 +02:00
Musterknabe
3c7628fcf3
Added @since doc
2012-04-13 23:30:31 +02:00
Musterknabe
63dd38dcae
added default value to CConsoleCommand::confirm()
2012-04-13 23:21:01 +02:00
Damián Nohales
95ff55d65a
Strict comparission on CConsoleCommand::prompt.
...
This avoid the return of default value when user writes '0'.
2012-03-06 22:22:00 -03:00
Damián Nohales
42ff7a20e3
Some changelog, code and documentation fixes on CConsoleCommand::prompt
2012-03-06 17:10:32 -03:00
Damián Nohales
e70404b32c
Added changelog and fixed comment for CConsoleCommand::prompt.
2012-03-06 12:14:16 -03:00
Damián Nohales
94e36e6ab8
Support for default value on CConsoleCommand::prompt.
2012-03-05 23:27:45 -03:00
Yiivgeny
1a924950c9
2012-02-19 04:32:43 +03:00
Yiivgeny
aaf660062a
Adding CConsoleCommand behaviors support
2012-02-18 15:21:38 +03:00
Yiivgeny
67a8d51738
Compatible fixes and better naming
2012-02-17 22:41:15 +03:00
Yiivgeny
cc531e47ef
Adding full-featured events CConsoleCommand::onBeforeAction & CConsoleCommand::onAfterAction
2012-02-16 19:58:33 +03:00
Dariusz Górecki
e5806c0c70
Make WebApp command ignore .gitignore files
2012-02-16 16:08:52 +01:00
mdomba
6027064a36
added rules to CConsoleCommand->pluralize(), too
2012-01-24 11:42:59 +00:00
alexander.makarow
d63336d148
added @since to CConsoleCommand
2011-12-20 20:24:18 +00:00
alexander.makarow
dcd17e7741
(Fixes issue 2872) Added CConsoleCommand::prompt() that asks for input and CConsoleCommand::confirm() that asks for confirmation
2011-12-06 22:33:37 +00:00
alexander.makarow
646cbb2b9a
Documented component accessors with @property for significantly better IDE autocomplete
2011-10-25 00:01:09 +00:00
alexander.makarow
0050917775
reverted 2498 fix
2011-06-15 14:21:12 +00:00
alexander.makarow
20d3489b32
(Fixes issue 2498) When no value is returned from before* event-methods, it now always behaves the same way as when true was returned
2011-06-13 16:02:22 +00:00
qiang.xue
f08b07d82d
(Fixes issue 2163)
2011-03-02 17:51:26 +00:00
alexander.makarow
2ab981b454
reverted method chaining support
2011-02-24 16:42:44 +00:00