Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
de28c1c5
Commit
de28c1c5
authored
Jan 24, 2015
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6993 from softark/docs-internals-small-fix
docs/internals/core-code-style.md - removed a duplicated block [ci skip]
parents
560ad04e
15bfe694
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
core-code-style.md
docs/internals/core-code-style.md
+0
-9
No files found.
docs/internals/core-code-style.md
View file @
de28c1c5
...
...
@@ -146,15 +146,6 @@ class Foo
-
All PHP types and values should be used lowercase. That includes
`true`
,
`false`
,
`null`
and
`array`
.
Use the following format for associative arrays:
```
php
$config
=
[
'name'
=>
'Yii'
,
'options'
=>
[
'usePHP'
=>
true
],
];
```
Changing type of an existing variable is considered as a bad practice. Try not to write such code unless it is really necessary.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment