I’m trying to update our CakePHP 4.4 to 4.5.
I am running bin/cake upgrade rector --rules cakephp45 src/
But then I get: PHP Fatal error: Uncaught Error: Undefined constant "RESOURCES" in /[...]/cakephp/config/app.php:69
Line 69 is:
'locales' => [RESOURCES . 'locales' . DS],
Which matches this: app/config/app.php at 4.x · cakephp/app · GitHub
Any help is appreciated.