I got this deprecation warning after upgrading to CakePHP 4.4
"PaginatorComponent is deprecated, use a Cake\Datasource\Pagination\NumericPaginator instance directly"
I thought that meant I had to run the CakePHP 4 upgrade tool and it would fix it but no.
Remove this line from your Controllers
$this->loadComponent('Paginator'); // remove this line from all your code
Running the Upgrade Tool is Good Idea
I did run the upgrade tool and the
cakephp43 rector rules did some nice changes. For example using the cakephp43 rules got rid of getTableLocator() and replaced it with fetchTable()
Check each new Version’s Migration Guide
Be sure to check the migration guide for each version you upgrade to: https://book.cakephp.org/4/en/appendices/4-4-migration-guide.html