Closed LordSimal closed 1 year ago
The custom finder related rectors would require us to create our own custom rules for that like we already did in the past. Haven't had the time yet though to tackle that.
Remove useCommandRunner() from tests since its not needed anymore
This will also require a custom rector. We should also remove usage of useHttpServer()
from tests as that method isn't in use anymore either.
as discussed with Mark Story we wont create any further Cake 5.0 rectors
I encountered the following issues while upgrading my app to the current CakePHP 5.0 RC1
orderDesc
andorderAsc
on query objects need to be renamed toorderByDesc
andorderByAsc
useCommandRunner()
anduseHttpServer()
from tests since its not needed anymoreparent::__construct()
inside commands is not valid anymore since the BaseCommand has no constructor anymoreCake\ORM\Query
changed toCake\ORM\Query\SelectQuery
for the first parameter and return type$options
arrayparams
added inside the_defaultConfig
array property. Therefore I got the errorUnsupported operand types: null + array
inCORE/src/View/Helper/PaginatorHelper.php at line 163
without adding'params' => []
to my overwritten PaginatorHelperConnection::conect()
to$connection->getDriver()->connect()
.