spaze / phpstan-disallowed-calls

PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages
MIT License
255 stars 17 forks source link

Lint `extension.neon` (and all `.neon` files, if any) #191

Closed spaze closed 1 year ago

spaze commented 1 year ago

The linter will not find issues with the file like wrong Neon entities (arrrrrr-ayOf, instead of arrayOf etc.) or missing listOf line (like in #190) but at least something.

Also adding trailing comma to param declarations, it also works without it but it's confusing.