Skip to content

Instantly share code, notes, and snippets.

@vkechagias
Last active Feb 7, 2019
Embed
What would you like to do?
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