fix(psalm): use <PluginIssue> wrapper for NoEnvOutsideConfig suppression
Bare <NoEnvOutsideConfig> failed Psalm's XML schema validation
("Element ...: This element is not expected."). Plugin-registered
issues need the <PluginIssue name="..."> wrapper.
Confirmed locally: vendor/bin/psalm --no-progress → 0 exit.
Co-Authored-By: Cladius Maximus <claude@anthropic.com>
This commit is contained in:
parent
ccf68c96b0
commit
05d82f24ab
1 changed files with 3 additions and 3 deletions
|
|
@ -21,12 +21,12 @@
|
|||
|
||||
<!-- Laravel plugin (Psalm) flags env() calls outside config/. PHPStan
|
||||
ignores the equivalent identifier (larastan.noEnvCallsOutsideOfConfig).
|
||||
Suppress here for parity with PHPStan baseline. -->
|
||||
<NoEnvOutsideConfig>
|
||||
Plugin-registered issues use <PluginIssue name="..."> form. -->
|
||||
<PluginIssue name="NoEnvOutsideConfig">
|
||||
<errorLevel type="suppress">
|
||||
<directory name="src" />
|
||||
</errorLevel>
|
||||
</NoEnvOutsideConfig>
|
||||
</PluginIssue>
|
||||
|
||||
<!-- Suppress optional dependency errors -->
|
||||
<UndefinedClass>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue