mirror of
https://github.com/danog/psalm-plugin-symfony.git
synced 2024-11-30 04:29:10 +01:00
Adding <extraFiles> doc for Symfony 5.3+ (#203)
This commit is contained in:
parent
20604f13e7
commit
72911c5615
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user