[英]PHP (Nette framework) automatic coding standards check
I would like to have some type of automatic checking of coding standards for PHP Nette Framework is there anything like this? 我想有一些类型的自动检查PHP Nette Framework的编码标准是否有这样的? Standalone application or plugin for Eclipse , Netbeans ... For example to check Java code I use Checkstyle .
Eclipse , Netbeans的独立应用程序或插件...例如,要检查Java代码,我使用Checkstyle 。 Or can Checkstyle also check Nette?
或者Checkstyle还能检查Nette吗?
There is Nette code checker here: https://github.com/nette/tools 这里有Nette代码检查器: https : //github.com/nette/tools
You can also try this CodeSniffer standard written: https://github.com/juzna/nette-coding-standard 您也可以尝试编写此CodeSniffer标准: https : //github.com/juzna/nette-coding-standard
In 2017 , there is official coding standard set to be used: nette/coding-standard 2017年 ,将使用官方编码标准: nette / coding-standard
If you want to use it, just follow this tutorial . 如果您想使用它,请按照本教程进行操作 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.