webksde / ddev-vscode-devcontainer-drupal-template

Drupal DDEV based development container with attached Visual Studio Code
22 stars 3 forks source link

PHPStan: Remove exclude paths #144

Closed joshsedl closed 9 months ago

joshsedl commented 9 months ago

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.