8000 6.0 Ideas · cakephp/cakephp Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

6.0 Ideas

Mark Scherer edited this page May 19, 2025 · 49 revisions

General

6.0 and future

Cleanup

Collection

Console

  • Add ConsoleIoInterface. Having an interface in console commands would allow us to provide better stub implementations. This would require a rector rule.

Controller

Database

  • Add a CastExpression and automatically cast function expressions when the type is known. This will require making sure all our expression classes have a returnType like FunctionExpression does (https://github.com/cakephp/cakephp/issues/7534)

ORM

Testing

  • Use Mockery for all new tests which require mocking (https://github.com/cakephp/cakephp/pull/18668)
  • Replace PHPUnit mock provided by getMockForModel with Mockery instance Making the method return Mockery instance would require users to update all their assertions.
  • phpunit/phpunit v12 moving forward

Validation

View

Clone this wiki locally
0