55 Commits

Author SHA1 Message Date
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
5ab4f0f090 Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
6d9fe671de various code style and whitespace adjustments 2015-08-02 00:27:19 +02:00
19af264530 Enh: yii fixture command now offers help if no arguments are provided instead of crashing 2014-11-28 00:32:38 +03:00
33b760eca2 [ci skip] Guide typos fixed 2014-11-04 13:05:47 +03:00
1ad7e5f77a Fixes #5508: Dropped the support for the --append option for the fixture command 2014-10-26 20:47:12 -04:00
899b778994 Correct type declarations 2014-10-25 16:35:50 +03:00
2bfec326d5 Proper error message when fixture controller is called without input
before: failed with undefined index PHP error
now: fail with proper error complaining about missing argument.
2014-10-14 15:36:43 +02:00
02622b6fe4 phpdoc fixes and additions 2014-10-14 01:35:21 +04:00
d2b864da84 prepare for 2.0.0-rc release. 2014-09-27 21:59:54 -04:00
00ca1cb4b3 Fixes #4914 2014-09-04 03:27:13 +04:00
d86691240c fixed console guide and docs of FixtureController 2014-08-23 00:37:00 +04:00
5be6a841e3 Cleaned up doc. [skip ci] 2014-08-20 21:14:51 -04:00
033d66deac changed format of applying command to all 2014-08-20 20:48:58 -04:00
461576dc85 added other syntax for and tests for fixture controller 2014-08-20 20:48:58 -04:00
d9cd1a859b added append option to fixture controller 2014-08-20 20:48:58 -04:00
a86d2ad11e Added yii\console\Controller::EXIT_CODE_NORMAL and yii\console\Controller::EXIT_CODE_ERROR constants, yii\console\MigrateController now returns yii\console\Controller::EXIT_CODE_ERROR in case of failed migration 2014-05-07 03:11:35 +04:00
76d8e2b5b3 code style, fixes #3140 2014-04-17 13:24:16 +02:00
c1445871f4 Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
67dd874e0c renamed console controller optoins param $id to $actionId 2014-03-26 17:51:52 +01:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
706ab7f968 combine globalOptions() with local options into options($id)
adjust existing Console Controllers and docs
2014-03-09 22:45:04 +01:00
740a769477 improved HelpController with messages for each command 2014-03-06 22:43:57 +01:00
6d72c6a723 fix code style 2014-03-04 06:27:22 +02:00
c047fbe0df fix code style No space found after comma in function call 2014-03-04 05:46:43 +02:00
c5ed024109 fix phpFoc, added missing param 2014-03-04 05:08:40 +02:00
325c7a18c4 improved fixture command 2014-02-09 18:30:49 +04:00
a73953c05b Update FixtureController.php
typo fix
2014-02-06 16:22:39 +02:00
663e898ba7 fixed docs, added checks 2014-02-04 21:00:52 +04:00
cb8fc55a66 removed suffix, since it will be applied later in getFixturesConfig method. 2014-02-04 20:04:00 +04:00
14d303d479 added suffix 2014-02-04 19:56:01 +04:00
0e3fae36a4 added globalFixtures option 2014-02-04 19:54:45 +04:00
9669b321a6 Removed duplicated getAlias call. 2014-02-04 10:22:50 -05:00
ff987aa4b2 controller improved 2014-02-04 16:09:57 +04:00
11bc899bc1 Refactored fixtures and fixed test break. 2014-02-03 21:16:57 -05:00
c2fef048a5 typo fix [skip ci] 2014-02-03 17:02:21 -05:00
cafdebb55c CS fix. doc fix. 2014-02-03 16:53:03 -05:00
2ed30dfeb8 fixed docs in controller 2014-02-03 23:20:16 +04:00
7522b3bc92 added docs, command fix 2014-02-03 22:49:21 +04:00
416adcaebf removed fixturePath, improved console command 2014-02-03 22:23:38 +04:00
19d45b9a1e fixed command and docs 2014-02-02 20:55:47 +04:00
b892ffc80b fixtures controller improved 2014-02-02 16:34:47 +04:00
62a7e397e0 fix the _only_ option in calls to FileHelper::findFiles() 2014-01-27 21:04:49 +01:00
b496a04f49 refactored fixture feature. 2014-01-19 23:17:53 -05:00
369e4218a9 Merge branch 'fixtures_except_option_added' of https://github.com/Ragazzo/yii2 into Ragazzo-fixtures_except_option_added
* 'fixtures_except_option_added' of https://github.com/Ragazzo/yii2:
  filter fix
  changelog added
  changes of other pr reverted
  except option added

Conflicts:
	framework/CHANGELOG.md
2014-01-17 22:15:59 +01:00
e1c921a28c filter fix 2014-01-16 15:24:15 +04:00
6f9949a04c changes of other pr reverted 2014-01-16 12:38:39 +04:00
55c686cbf5 except option added 2014-01-16 12:36:06 +04:00
dad238f60d changed truncate to delete 2014-01-16 12:06:33 +04:00