25 Commits

Author SHA1 Message Date
27659d1776 fixed FileHelper private method static call 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
1b7e1cd027 Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
* 'feature' of https://github.com/mongosoft/yii2:
  returned back formatting language files
  code style. WHILE
  code style. FOR
  code style. FOREACH
  code style. operator IF
  @param, @var, @property and @return must declare types as boolean, integer, string, array or null
  short echo tags
  short array syntax

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/models/Context.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/bootstrap/views/index.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/views/index.php
	extensions/apidoc/templates/offline/views/offline.php
	extensions/apidoc/templates/online/views/index.php
	extensions/elasticsearch/Connection.php
	extensions/redis/ActiveQuery.php
	framework/base/ErrorException.php
	framework/helpers/BaseFileHelper.php
	tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
d3171b6cfb fix code style php5.4 syntax 2014-03-04 06:37:49 +02:00
045eb9f7ee Inline control structures are not allowed 2014-03-04 06:32:37 +02:00
eaaa5b1bb5 fix code style 2014-03-04 06:12:30 +02:00
35651ea122 fix code style Expected 1 space after FUNCTION keyword; 0 found 2014-03-04 05:53:06 +02:00
0f50e038c8 fix phpDoc, added @throws annotation BaseFileHelper::copyDirectory 2014-03-04 05:05:11 +02:00
95ea1c20bb code style. FOREACH 2014-03-03 21:47:47 +03:00
b2f1b00bf2 code style. operator IF 2014-03-03 21:32:34 +03:00
6e7edfdf5b short array syntax 2014-03-03 20:21:55 +03:00
f9dee9c951 Fixed an issue with Filehelper and not accessable directories
which resulted in endless loop

http://www.yiiframework.com/forum/index.php/topic/50982-cfilehelper-bug-security-flaw/
2014-01-28 11:09:41 +01:00
21ae27b306 updated phpdoc properties 2014-01-28 00:11:18 +01:00
ff8e78c655 Merge branch '2048-improve-messages-config-exceptions' of github.com:nineinchnick/yii2 into nineinchnick-2048-improve-messages-config-exceptions
Conflicts:
	framework/messages/config.php
2014-01-26 17:48:44 -05:00
26564fb9b5 fixed code style for assignments inside if conditions 2014-01-26 17:00:43 +01:00
07ce08d970 updated helpers/BaseFileHelper::findFiles description and comments in messages/config.php 2014-01-26 15:28:55 +01:00
f90e594f4f remove _FLAG from PATTERN_FLAG constants 2014-01-26 15:03:24 +01:00
b2b10d1685 more unit tests for helpers/FileHelper::findFiles using new wildcard exceptions matching 2014-01-26 15:02:26 +01:00
1e602adb6e - Fixed BaseFileHelper::localize docs.
- DbMessageSource now performs UNION ALL.
- Fixed message merging for php and po.
- Updated tests.
2014-01-23 20:34:46 +04:00
8bdc437bc2 Fixes #2079:
- i18n now falls back to `en` from `en-US` if message translation isn't found
- View now falls back to `en` from `en-US` if file not found
- Default `sourceLanguage` and `language` are now `en`
2014-01-23 04:51:17 +04:00
6a84bfffba refactored flag names 2014-01-20 12:27:53 +01:00
86b4c4ee0a improved comments, method visiblity and exceptions 2014-01-20 12:24:59 +01:00
49e2c49384 advanced file excluding/including ported from git 2014-01-19 13:49:05 +01:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00