Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@vkechagias
Last active February 7, 2019 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vkechagias/975c184f6eea70df8101ff6aa0be43c5 to your computer and use it in GitHub Desktop.
Save vkechagias/975c184f6eea70df8101ff6aa0be43c5 to your computer and use it in GitHub Desktop.
Drupal 8: Check theme for deprecated functions
composer require mglaman/phpstan-drupal phpstan/phpstan-deprecation-rules --dev
cp phpstan.neon # place in drupal root / as in https://gist.github.com/vkechagias/05e8388734c78503cff9d5ea4e1acc19
./vendor/bin/phpstan analyse themes/custom/THEMENAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment