Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
互联网应用开发
wiki-php
Wiki
code standard
code standard
· Changes
Page history
Update code standard
authored
Aug 25, 2021
by
互联网应用开发
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
code-standard.md
code-standard.md
+2
-2
No files found.
code-standard.md
View page @
c6464765
...
...
@@ -71,6 +71,7 @@ class Person {
10.
所有变量使用前须声明
11.
前端过来的数据谨慎处理,第一时间考虑 注入和跨站的可能性
12.
bll层的方法 不允许出现 类似dao层的方法,需要有明确的意义
13.
新建的类统一使用php的namespace
#### 额外推荐
...
...
@@ -179,4 +180,3 @@ class Person {
* )
*/
````
\ No newline at end of file