23 Commits

Author SHA1 Message Date
a6b16db233 adjust internal documentation according to #7812
close #11117
2016-06-27 01:55:36 +02:00
fae0e9430b Fixes #8398: added info about how to deal with twoWord namespaces 2016-04-30 21:30:54 +03:00
341701f25a russian translation and small fixes in original core-code-style.md 2016-04-19 12:24:20 +03:00
4579b8a610 Update core-code-style.md
added missing line
2016-02-06 18:26:10 +01:00
255ec95c49 Update core-code-style.md
adjusted property style rules to match current practise.
2016-02-06 18:25:23 +01:00
9b4c32b247 Update core-code-style.md
no rule is also a rule
https://github.com/yiisoft/yii2/issues/10767#issuecomment-180794947
2016-02-06 17:15:18 +01:00
ed80bbeff2 Fixed tabs and spaces controversial statement 2016-01-26 14:00:41 +03:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
15bfe69426 docs/internals/core-code-style.md - removed a duplicated block [ci skip] 2015-01-24 17:20:25 +09:00
445294865d style guide examples should follow its own rules
example code suffering from a double case of else-after-return simplified according to the subsequent rule
2015-01-23 15:41:22 -05:00
f66b8ba571 Fixes #6589: updated code style guide to mention else after return, adjusted code involved in the issue 2014-12-27 00:15:20 +03:00
bb8550886e PHP type casting 2014-10-25 15:30:03 +03:00
69a56e54ee Update core-code-style.md
issue #4719
2014-09-05 15:13:07 +02:00
b7e493fca0 Tabs to spaces to be consistent
```
vendor/bin/indent --spaces -r framework/
vendor/bin/indent --tabs -r . --pattern=*.json
vendor/bin/indent --spaces -r . --pattern=*.md
vendor/bin/indent --spaces -r . --pattern=yii.*.js
vendor/bin/indent --spaces -r . --pattern=*.css
```
2014-05-23 16:58:21 +02:00
8b4dbff56c Closes #3281: removed strict rule about using "new" from code style 2014-05-05 02:14:31 +04:00
9bc18fe5eb Adjusted code style guide 2014-03-17 13:45:47 +04:00
b2f1b00bf2 code style. operator IF 2014-03-03 21:32:34 +03:00
bbc0c56845 Added exception about private properties 2014-02-17 12:31:21 +01:00
b801aa1382 Mistype fix 2014-02-14 18:15:11 +03:00
cfd328ca2f Update core-code-style.md 2014-01-14 08:12:13 +01:00
a8899cb1b4 Re-added code style :) 2014-01-12 21:02:59 +04:00
c35e55f1b3 Update core-code-style.md 2014-01-12 18:02:14 +01:00
e1e4df0302 Added wiki articles as docs 2014-01-12 21:01:32 +04:00