A Psalm plugin, that adds stub files for Nette Framework classes with more precise definition suitable for static analysis.
The best way to install the plugin is via composer
:
composer require --dev futurerockstars/nette-psalm-plugin
vendor/bin/psalm-plugin enable futurerockstars/nette-psalm-plugin
There are no extra steps required, the plugin will start to work after install.
If you find a Nette class not covered by this plugin, please feel free to hit us with a PRs.