Closed xsuchy09 closed 4 years ago
Delete the compiled container on disk: /tmp/phpstan/cache/nette.configurator/Container_e4ad11a86e.php and run PHPStan again.
Helped. Thanks.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
After update Nette to last version with PHP 7.4 support. It is not compatible with last version of https://github.com/nette/php-generator. It is because of this change: https://github.com/nette/php-generator/commit/6e1cc8dfe3b824abe2439e8eed06183072d4404c
Now
createObject
is part ofNette\PhpGenerator\Dumper
.PHP Fatal error: Uncaught Nette\MemberAccessException: Call to undefined static method Nette\PhpGenerator\Helpers::createObject().