Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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? Standalone application or plugin for Eclipse, Netbeans ... For example to check Java code I use Checkstyle. Or can Checkstyle also check Nette?

like image 672
Amsik Avatar asked Nov 21 '13 13:11

Amsik


Video Answer


2 Answers

Most up-to-date tool is https://github.com/nette/code-checker (it's extracted from https://github.com/nette/tools).

like image 114
Vojtěch Dobeš Avatar answered Nov 03 '22 02:11

Vojtěch Dobeš


There is Nette code checker here: https://github.com/nette/tools

You can also try this CodeSniffer standard written: https://github.com/juzna/nette-coding-standard

like image 21
Kacer Avatar answered Nov 03 '22 04:11

Kacer