Skip to content

Commit 72911c5

Browse files
Adding <extraFiles> doc for Symfony 5.3+ (#203)
1 parent 20604f1 commit 72911c5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ Example:
7171
</pluginClass>
7272
```
7373

74+
If you're using PHP config files for Symfony 5.3+, you also need this for auto-loading of `Symfony\Config`:
75+
76+
```xml
77+
<extraFiles>
78+
<directory name="var/cache/dev/Symfony/Config" /> <!-- https://github.com/psalm/psalm-plugin-symfony/issues/201 -->
79+
</extraFiles>
80+
```
81+
7482
### Twig tainting (experimental)
7583

7684
When it comes to taint analysis for Twig templates, there are currently two approaches:

0 commit comments

Comments
 (0)