Commit bbb1714
committed
fix: coding-standard follow-ups for the 8.2 cs-check run
- Add missing `use function assert;` import in GlobTypeMapperCache so the
new assertion satisfies the Slevomat no-fallback-global-function rule.
- Exclude SlevomatCodingStandard.TypeHints.ClassConstantTypeHint: the
rule expects PHP 8.3 typed class constants, but our minimum supported
PHP is 8.2 so the rule can't be satisfied. Re-enable when min PHP
lifts to 8.3.1 parent 1f47699 commit bbb1714
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments