Commit 611206b
chore: use PHPStan error identifier instead of regex pattern (#389)
## Summary
This PR updates the PHPStan configuration to use an error identifier
instead of a regex pattern for ignoring array type errors in tests.
## Changes
- Replace regex pattern with identifier
## Benefits
Using error identifiers is the recommended approach because:
- **More stable**: Identifiers don't change across PHPStan versions,
unlike error message text
- **Cleaner**: Easier to read and understand the intent
- **Maintainable**: Less prone to breaking if error message wording
changes
## Testing
PHPStan analysis passes with the new configuration.1 parent 1089e85 commit 611206b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
0 commit comments