5

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?

Radek Simko
  • 15,886
  • 17
  • 69
  • 107
Amsik
  • 698
  • 2
  • 6
  • 26

3 Answers3

6

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

Vojtěch Dobeš
  • 106
  • 2
  • 5
2

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

Kacer
  • 679
  • 3
  • 12
0

In 2017, there is official coding standard set to be used: nette/coding-standard

If you want to use it, just follow this tutorial.

Tomas Votruba
  • 23,240
  • 9
  • 79
  • 115