Skip to content

Commit 5a5bc9b

Browse files
yamadashyclaude
andcommitted
fix: Add explicit relativePathHelper argument to fix DI injection error
Fixes #31 Some environments fail to autowire the relativePathHelper argument when other arguments are explicitly specified. This adds the explicit argument to ensure consistent DI resolution across all environments. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 942a38e commit 5a5bc9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extension.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ services:
1515
errorFormatter.friendly:
1616
class: Yamadashy\PhpStanFriendlyFormatter\FriendlyErrorFormatter
1717
arguments:
18+
relativePathHelper: @relativePathHelper
1819
simpleRelativePathHelper: @simpleRelativePathHelper
1920
lineBefore: %friendly.lineBefore%
2021
lineAfter: %friendly.lineAfter%

0 commit comments

Comments
 (0)