Revert "Make ScopeFactory overridable"
Revert "Make ScopeFactory overridable"

This reverts commit ae70ad659d06b546c542968feffc4d76702566ce.

phpstan/phpstan,phpstan/phpstan,phpstan/phpstan,phpstan/phpstan