0

Does anyone have a phpcs standard "ruleset" to detect stuff like

Use of undefined constant foo - assumed 'foo' (this will throw an Error in a future version of PHP)

in php?

I tried https://github.com/sirbrillig/phpcs-variable-analysis but this did not detect such stuff.

John Conde
  • 217,595
  • 99
  • 455
  • 496
Schubi Duah
  • 309
  • 1
  • 7

0 Answers0