Skip to content

Commit 48a390e

Browse files
authored
Add information on why this package is needed (#606)
1 parent 5306ff3 commit 48a390e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
Extension for [PHPStan](https://phpstan.org/) to allow analysis of Drupal code.
66

7+
PHPStan is able to [discover symbols](https://phpstan.org/user-guide/discovering-symbols) by using autoloading provided
8+
by Composer. However, Drupal does not provide autoloading information for modules and themes. This project registers
9+
those namespaces so that PHPStan can properly discover symbols in your Drupal code base automatically.
10+
711
## Sponsors
812

913
<a href="https://www.undpaul.de/"><img src="https://www.undpaul.de/themes/custom/undpaul3/logo.svg" alt="undpaul" width="250" /></a>

0 commit comments

Comments
 (0)