Adding <extraFiles> doc for Symfony 5.3+ (#203)

This commit is contained in:
Thomas Landauer 2021-08-22 13:31:17 +02:00 committed by GitHub
parent 20604f13e7
commit 72911c5615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,6 +71,14 @@ Example:
</pluginClass>
```
If you're using PHP config files for Symfony 5.3+, you also need this for auto-loading of `Symfony\Config`:
```xml
<extraFiles>
<directory name="var/cache/dev/Symfony/Config" /> <!-- https://github.com/psalm/psalm-plugin-symfony/issues/201 -->
</extraFiles>
```
### Twig tainting (experimental)
When it comes to taint analysis for Twig templates, there are currently two approaches: