psalm-plugin-drupal icon indicating copy to clipboard operation
psalm-plugin-drupal copied to clipboard

A project to add Psalm support for Drupal for security testing, focused only on taint analysis.

Results 5 psalm-plugin-drupal issues
Sort by recently updated
recently updated
newest added

This is my first time using psalm, so I might be missing something obvious, but I can't get it to work. I created a new Drupal 10 site in ddev....

My understanding is that tools like psalm and phpstan should be added as dev dependencies.

Just trying this out with the default config (with the generate bits added for a few modules). And I seem to get stuck at this when running threads=1. With more...

While running Psalm analysis specifically for the custom modules directory, I encountered the following error: ERROR: MissingDependency - modules/custom/paragraphs_tree/tests/src/Functional/ParagraphsTreeUserTest.php:12:38 - Drupal\Tests\paragraphs_tree\Functional\ParagraphsTreeTestBase depends on class or interface drupal\tests\browsertestbase that does not...

Hello I encountered the following issue while running the Psalm analysis: Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "string_translator.file_translation". in /var/www/html/vendor/symfony/dependency-injection/ContainerBuilder.php on line 992 #0 /var/www/html/vendor/psalm/plugin-symfony/src/Symfony/ContainerMeta.php(182): Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition('string_translat...') #1 /var/www/html/vendor/psalm/plugin-symfony/src/Symfony/ContainerMeta.php(63): Psalm\SymfonyPsalmPlugin\Symfony\ContainerMeta->getDefinition('string_translat...')...