| 
						
					 | 
					
						
						
							
						
						c3ca164be2
					 | 
					
						
						
							
							Update links (internals) (#19298)
						
						
						
						
						
						
						
						* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals)
* Update links (internals) 
						
						
					 | 
					
						2022-03-12 12:29:12 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						74e3cc9d08
					 | 
					
						
						
							
							Update core-code-style.md (#19008)
						
						
						
						
						
						
						
						Changed Section 4 from CamelCase to StudlyCase to match the overview and Section 3. 
						
						
					 | 
					
						2021-11-10 14:26:25 +03:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c3eeb952b9
					 | 
					
						
						
							
							[docs] typofixes (#18920)
						
						
						
						
						
						
					 | 
					
						2021-10-01 23:24:51 +03:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7374d4ac5c
					 | 
					
						
						
							
							update http to https website links
						
						
						
						
						
						
					 | 
					
						2021-07-19 00:16:20 +03:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5b2101f14c
					 | 
					
						
						
							
							Update guide: Object -> BaseObject
						
						
						
						
						
						
						
						issue #7936 
						
						
					 | 
					
						2017-07-19 10:51:46 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						726d4d1b6b
					 | 
					
						
						
							
							Code style headers fix (#13908) [skip ci]
						
						
						
						
						
						
					 | 
					
						2017-04-02 22:54:57 +03:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						21eff20fcf
					 | 
					
						
						
							
							Fixed typos in docs/internals/core-code-style (#13391) [skip ci]
						
						
						
						
						
						
					 | 
					
						2017-01-15 17:01:37 +03:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4aa935e69e
					 | 
					
						
						
							
							Fixes #12055: Changed boolean to bool and integer to int in phpdoc
						
						
						
						
						
						
					 | 
					
						2016-11-07 02:51:39 +03:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f9177d20a2
					 | 
					
						
						
							
							Updated code style recommendataions - PHPDoc blocks
						
						
						
						
						
						
					 | 
					
						2016-10-12 20:18:40 +03:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						eacf50fe1f
					 | 
					
						
						
							
							Updated code style recommendataions - PHPDoc blocks
						
						
						
						
						
						
						
						Closes #17712 
						
						
					 | 
					
						2016-10-12 19:55:20 +03:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3deb6900b8
					 | 
					
						
						
							
							Yii 2 name fix (#12448)
						
						
						
						
						
						
						
						To match Documentation Style Guide
> Yii 2.0 or Yii 2 (not Yii2 or Yii2.0) 
						
						
					 | 
					
						2016-09-03 22:02:33 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3bda3848f0
					 | 
					
						
						
							
							fix errors in docs
						
						
						
						
						
						
					 | 
					
						2016-08-25 23:22:21 +03:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						466fc9db32
					 | 
					
						
						
							
							Adjusted wording
						
						
						
						
						
						
					 | 
					
						2016-07-14 12:42:33 +03:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						2118d96655
					 | 
					
						
						
							
							Fix double space after array key (#11954) [skip ci]
						
						
						
						
						
						
					 | 
					
						2016-07-14 12:20:41 +03:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |