SelectQueryFindListReturnTypeExtension: Provides proper return type inference forfind('list')->toArray(), returningarray<int|string, string>instead of the generic entity array type. Works with chained queries (where(),orderBy(),limit(), etc.).groupFieldsupport forfind('list'): WhengroupFieldis provided tofind('list'), the return type is correctly inferred asarray<int|string, array<int|string, string>>.- Custom application namespace: Support for defining a custom application namespace via the
cakeDC.appNamespaceconfiguration parameter (defaults toApp).
- Made constructor dependency in rules/extensions optional to preserve backwards compatibility; instances self-instantiate if none is provided.
DisallowEntityArrayAccessRule: ignore custom (non-integer) array access keys, allowing legitimate use cases.
- Added
ControllerMethodMustBeUsedRule: enforces thatrender()andredirect()must be used (returned or assigned) to prevent unreachable code.
- Requires CakePHP 5.x and PHPStan 2.x.
See git history for older changes.