On some occasions, we also want to check core and contrib modules for deprecations, etc. using phpstan. This isn't currently possible, because we exclude these paths through our custom phpstan.neon. This was originally done, because the VSCode PHPStan extension will always analyse everything defined in the phpstan.neon, instead of the current file (like intellephense does). But since we removed the extension once again through https://github.com/webksde/ddev-vscode-devcontainer-drupal-template/issues/97, we do not need the exclude paths, as we only use the custom phpstan command now.
On some occasions, we also want to check core and contrib modules for deprecations, etc. using phpstan. This isn't currently possible, because we exclude these paths through our custom phpstan.neon. This was originally done, because the VSCode PHPStan extension will always analyse everything defined in the phpstan.neon, instead of the current file (like intellephense does). But since we removed the extension once again through https://github.com/webksde/ddev-vscode-devcontainer-drupal-template/issues/97, we do not need the exclude paths, as we only use the custom phpstan command now.