Commit ab47f8e
Fix RequiredRuleInferrerTest using non-existent enum class
The test used `new Enum('SomeClass')` but recent Laravel versions call
`::cases()` in `Enum::__toString()`, causing a class not found error.
Replace with `DummyBackedEnum::class` which is a real enum.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e75254a commit ab47f8e
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
129 | | - | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
135 | | - | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| |||
0 commit comments