Skip to content

Repository files navigation

Orisai
PHPStan Nette

PHPStan understands Nette DI containers, Nette Forms, Latte templates and how they connect

📄 Check out our documentation.

💸 If you like Orisai, please make a donation. Thank you!

parameters:
	# with phpstan/phpstan-nette: patch it and switch its extensions off (see docs); without it, remove these three lines
	netteComponentModelDynamicReturnType: false
	netteFormContainerValuesDynamicReturnType: false
	netteServiceLocatorDynamicReturnType: false
	fileExtensions: [php, latte]
	orisai:
		nette:
			latte:
				enabled: true
			dic:
				containerLoader: %currentWorkingDirectory%/tests/phpstan/container-loader.php
// tests/phpstan/container-loader.php
return App\Bootstrap::boot()->createContainer();

... and more.

About

PHPStan understands Nette DI containers, Nette Forms, Latte templates and how they connect

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Used by

Contributors

Languages