Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP编码标准修正器PHP-CS-Fixer | 虢國書館 #1

Open
wxb opened this issue Jan 1, 2022 · 1 comment
Open

PHP编码标准修正器PHP-CS-Fixer | 虢國書館 #1

wxb opened this issue Jan 1, 2022 · 1 comment
Labels

Comments

@wxb
Copy link
Owner

wxb commented Jan 1, 2022

https://wxb.github.io/2021/03/19/PHP%E7%BC%96%E7%A0%81%E6%A0%87%E5%87%86%E4%BF%AE%E6%AD%A3%E5%99%A8PHP-CS-Fixer.html#more

前言在日常开发中,无论是个人项目还是团队项目,我们都希望编码的风格保持一致,代码更加优雅;为了这个目标,项目通常会制定一系列编码规范以及注意事项,比如 =两边的空格;虽然我们每次开发都小心翼翼的注意这些,但还是难免出现“失误”。 我们希望能有一个工具,它可以按照我们的项目规范自动格式化我们的代码,在我们保存文件时或者git-commit时触发,对我们的代码进行格式化,节省我们的编码负担和心理负担。

@wxb
Copy link
Owner Author

wxb commented Jan 1, 2022

s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant