Drupal 8: Check theme for deprecated functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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