fs
3f0db68b27
refactor: fix all 105 PHPStan 2 strict type findings across core and modules
Resolve all non-false-positive PHPStan 2 findings, reducing the baseline
from 486 to 382 entries (only unused-public false positives remain).
Categories fixed:
- Remove 39 redundant type checks (is_string, is_array, is_object, method_exists)
- Remove 12 no-op array_values() on already-sequential lists
- Simplify 13 null-coalesce on guaranteed offsets
- Remove 8 always-true instanceof checks
- Replace 12 redundant test assertions (assertTrue(true) → addToAssertionCount)
- Simplify 6 unnecessary nullsafe operators (?-> → ->)
- Fix 6 always-true !== '' comparisons
- Fix remaining: unset.offset, return.unusedType, staticMethod narrowing
53 files changed across core/, modules/, pages/, and tests/.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-14 12:54:20 +02:00
..
2026-03-19 19:00:29 +01:00
2026-03-19 18:30:14 +01:00
2026-04-14 07:54:02 +02:00
2026-03-19 18:52:36 +01:00
2026-03-19 18:52:36 +01:00
2026-04-05 16:32:34 +02:00
2026-04-01 19:41:56 +02:00
2026-03-19 18:52:36 +01:00
2026-04-13 23:20:42 +02:00
2026-04-13 23:20:42 +02:00
2026-04-13 23:20:42 +02:00
2026-03-18 22:19:56 +01:00
2026-04-06 22:22:17 +02:00
2026-03-19 19:13:51 +01:00
2026-03-22 14:15:41 +01:00
2026-04-14 07:54:02 +02:00
2026-03-19 19:05:29 +01:00
2026-03-19 19:05:29 +01:00
2026-03-19 19:05:29 +01:00
2026-03-19 19:12:25 +01:00
2026-03-19 19:12:25 +01:00
2026-03-19 19:12:25 +01:00
2026-03-19 19:12:25 +01:00
2026-03-19 19:12:25 +01:00
2026-03-19 18:25:19 +01:00
2026-03-19 18:25:19 +01:00
2026-03-19 18:25:19 +01:00
2026-03-19 18:25:19 +01:00
2026-04-13 23:20:42 +02:00
2026-03-26 08:13:37 +01:00
2026-04-13 23:20:42 +02:00
2026-04-13 23:20:42 +02:00
2026-03-26 08:13:37 +01:00
2026-04-14 07:54:02 +02:00
2026-03-19 18:52:36 +01:00
2026-03-19 18:52:36 +01:00
2026-03-19 18:52:36 +01:00
2026-03-19 18:52:36 +01:00
2026-04-13 23:20:42 +02:00
2026-03-26 12:33:59 +01:00
2026-04-14 07:54:02 +02:00
2026-03-18 22:19:56 +01:00
2026-03-10 15:40:07 +01:00
2026-03-19 19:03:10 +01:00
2026-03-19 19:03:10 +01:00
2026-03-19 19:03:10 +01:00
2026-03-19 19:03:10 +01:00
2026-03-19 19:04:28 +01:00
2026-03-19 19:04:28 +01:00
2026-03-19 19:04:28 +01:00
2026-03-19 19:04:28 +01:00
2026-03-19 19:02:04 +01:00
2026-03-19 19:02:04 +01:00
2026-03-19 19:02:04 +01:00
2026-03-19 19:02:04 +01:00
2026-04-13 23:20:42 +02:00
2026-03-19 19:59:08 +01:00
2026-03-19 19:59:08 +01:00
2026-04-06 22:22:17 +02:00
2026-04-05 17:17:06 +02:00
2026-03-19 18:34:02 +01:00
2026-04-05 17:17:06 +02:00
2026-04-13 23:20:42 +02:00
2026-04-01 19:41:56 +02:00
2026-03-19 18:25:19 +01:00
2026-04-04 18:34:03 +02:00
2026-04-02 17:48:27 +02:00
2026-03-25 18:46:49 +01:00
2026-03-26 08:13:37 +01:00
2026-03-19 19:29:45 +01:00
2026-03-26 08:13:37 +01:00
2026-03-19 18:30:14 +01:00
2026-03-19 18:57:03 +01:00
2026-04-01 19:41:56 +02:00
2026-04-14 12:54:20 +02:00
2026-04-01 19:41:56 +02:00
2026-03-19 18:30:14 +01:00
2026-03-26 15:06:15 +01:00
2026-03-19 19:00:29 +01:00
2026-03-22 14:15:41 +01:00
2026-04-14 12:54:20 +02:00
2026-03-10 15:40:07 +01:00
2026-03-10 21:20:08 +01:00
2026-03-10 21:20:08 +01:00
2026-03-19 18:48:16 +01:00
2026-03-19 18:48:16 +01:00
2026-04-13 23:20:42 +02:00
2026-04-13 23:20:42 +02:00
2026-04-14 07:54:02 +02:00
2026-04-05 23:20:55 +02:00
2026-04-13 23:20:42 +02:00
2026-03-25 21:12:49 +01:00
2026-04-01 19:41:56 +02:00
2026-04-13 23:20:42 +02:00
2026-04-13 23:20:42 +02:00
2026-03-19 19:11:03 +01:00
2026-03-19 19:11:03 +01:00
2026-03-19 19:11:03 +01:00
2026-03-19 19:11:03 +01:00
2026-03-26 08:13:37 +01:00
2026-03-24 20:49:22 +01:00
2026-03-22 14:15:41 +01:00
2026-04-06 12:08:25 +02:00