96 Commits

Author SHA1 Message Date
c3d55cff76 fix code style php5.4 syntax
close 5458
2014-10-09 19:45:52 +02:00
00ca1cb4b3 Fixes #4914 2014-09-04 03:27:13 +04:00
88d38b7820 Fixes #4501: Renamed the constant YII_PATH to YII2_PATH 2014-08-14 22:17:05 -04:00
7736853837 property code style extensions 2014-07-30 00:40:46 +02:00
100ba6c3ab Replaced substr_compare with strncmp where possible 2014-07-30 02:32:47 +04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
5976d1c576 added property spacing to code style fixer 2014-07-30 00:21:31 +02:00
1c414caace Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare 2014-07-30 02:15:08 +04:00
3c6239f9f7 Revert "Used substr_compare instead of substr when we don't care about result"
This reverts commit 07f01bcf2bb7725eab00cd5a22cc0c79161702b2.

BUT ONLY for the /build directory!
2014-07-29 22:04:24 +02:00
a9aebfab7c minor message improvements 2014-07-29 22:01:28 +02:00
07f01bcf2b Used substr_compare instead of substr when we don't care about result 2014-07-23 16:37:49 +04:00
81d5dd0163 Better Windows detection 2014-07-23 16:08:44 +04:00
7ef0d76048 Corrected app/link for Windows once again 2014-07-16 00:35:44 +04:00
b014489b6a Better Windows unlink as suggested by @cebe 2014-07-14 17:44:13 +04:00
aff1382126 Fixes broken app/link under non-Windows 2014-07-14 17:36:51 +04:00
67677dd79a Fixed build app/link to work on Windows 2014-07-11 00:23:46 +04:00
6578cfbdab updated phpdoc and classmap 2014-06-25 18:24:23 +02:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
f262e77329 Fixed translation docs typo 2014-06-11 13:51:42 +04:00
e65eeabeab Fixed translation tool and docs 2014-06-11 13:24:46 +04:00
0b248dff81 Merge PR #3643 branch 'mime-types-from-apache' of github.com:yiisoft/yii2
* 'mime-types-from-apache' of github.com:yiisoft/yii2:
  changelog
  generated mimeType detection file from apache http mime.types file

Conflicts:
	framework/CHANGELOG.md
2014-05-30 16:58:07 +02:00
e5713c8e12 generated mimeType detection file from apache http mime.types file
MimeTypeController generates a map of file extensions to MIME types

It uses `mime.types` file from apache http located under
http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=markup

This file has been placed in the public domain for unlimited
redistribution,
so we can use it and ship it with Yii.

see also yiisoft/yii#2851 and yiisoft/yii#2857
2014-05-30 15:54:51 +02:00
d7a251bbec Removed unused imports, added missing phpdoc 2014-05-30 11:55:17 +06:00
3b29001ef5 #2677: added 1.1 port of translations command 2014-04-30 03:29:42 +04:00
3437c571a1 phpdoc controller did not find some setters
fixes #3255
2014-04-26 13:03:08 +02:00
c27ac8ef0e updated phpdoc 2014-04-26 03:39:46 +02:00
4c09aef2a4 created Appcontroller to make it easiert to debug
controller links application vendor to yiidev repo
2014-04-25 20:37:44 +02:00
3f7779a26a phpdoc
[ci skip]
2014-04-23 04:22:13 +02:00
fe14f0c5e3 fixed all the PHPdoc in extensions 2014-04-23 03:25:11 +02:00
91965fd391 phpdoc formatting issues 2014-04-23 02:55:17 +02:00
12d34849cc improved phpdoc command 2014-04-23 02:13:53 +02:00
8bbcff70db prepare for 2.0.0-beta release. 2014-04-13 17:58:59 -04:00
a6136e1b16 Renamed yii\web\User::checkAccess() to yii\web\User::can() 2014-04-12 19:14:50 -04:00
3c400dbca8 fixed file PHPdoc
issue #3026
2014-04-10 22:10:59 +02:00
4f50295f41 created build ReleaseController 2014-04-03 21:02:17 +02:00
67dd874e0c renamed console controller optoins param $id to $actionId 2014-03-26 17:51:52 +01:00
1e75427393 updated classmap and phpdoc 2014-03-24 23:26:30 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
7570afdeea fixed the build command after controller namespace changes 2014-03-11 16:20:03 +01:00
706ab7f968 combine globalOptions() with local options into options($id)
adjust existing Console Controllers and docs
2014-03-09 22:45:04 +01: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
3422c01712 Minor phpdoc fix 2014-03-07 03:07:49 +04:00
05339536a6 Used Exception instead of die() in classmap CLI controller 2014-03-07 03:07:49 +04:00
386979d6a3 Revert "Used ternary operator instead of "or" for constant definition"
This reverts commit 2bb6f13505e212d68841a7e6609806fb30d04002.
2014-03-06 01:56:51 +04:00
2bb6f13505 Used ternary operator instead of "or" for constant definition 2014-03-04 22:17:11 +04:00
b0ef4c9084 Removed unused variables 2014-03-04 21:46:30 +04:00
426af3177c code style. WHILE 2014-03-03 21:53:26 +03:00
c7e8d8b900 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 2014-03-03 20:50:44 +03:00
098567ce16 fixed phpdoc errors and updated properties 2014-02-20 13:42:30 +01:00
074ec7dd20 fixed exclude paths in phpdoc command
fixes #2184
2014-01-28 00:04:25 +01:00