Log message #4214240

# At Username Text
# Nov 20th, 06:35 conehead @brian.french ```<?xml version="1.0"?> <ruleset name="Custom Standard"> <rule ref="PSR12"/> </ruleset>`#```
# Nov 20th, 00:49 dereuromark sure, just reference it there.
# Nov 20th, 00:43 brian.french @dereuromark Codesniff question. Do you know if there is a way to import/extend a ruleset into your own local ruleset.xml? googlefooing isn't producing any answers.
# Nov 19th, 17:49 jotpe Hm okay, so thanks @admad. Maybe I'll try upgrading/testing later then.
# Nov 19th, 17:46 jotpe _Since this skeleton is a starting point for your application and various files would have been modified as per your needs, there isn't a way to provide automated upgrades, so you have to do any updates manually._ :face_with_rolling_eyes:
# Nov 19th, 17:44 admad best create a new app if you want to try 4 https://github.com/cakephp/app/tree/4.x
# Nov 19th, 17:43 admad simply bumping up core for existing 3.x app skeleton isnt going to work anyway
# Nov 19th, 17:43 jotpe should I change to ^4.0 and then composer update?
# Nov 19th, 17:42 jotpe 3.8.*
# Nov 19th, 17:42 admad what's the current cake version in you composer.json?
# Nov 19th, 17:36 jotpe @admad Did `composer update` and then `composer require --update-with-dependencies "cakephp/cakephp:4.0.0-RC1"` with the same results. Or should I change the version in my composer.json?
# Nov 19th, 17:32 admad just do `composer update`
# Nov 19th, 17:30 jotpe I did `composer require --update-with-dependencies "cakephp/cakephp:4.0.0-RC1"`
# Nov 19th, 17:29 slackebot <jotpe>
# Nov 19th, 17:29 jotpe I tried to upgrade to 4x. RC1 and got this composer message:
# Nov 19th, 16:54 savant IRC test message
# Nov 19th, 16:54 savant slack test message
# Nov 19th, 16:22 neon1024 Bake, Crud and CrudView will get most of it done
# Nov 19th, 16:22 noel (Still looking for the `->writeAppForMe` method)
# Nov 19th, 16:04 neon1024 Worth noting if you’re using `resources()` and you haven’t implemented the methods, the routes will throw missing method errors
# Nov 19th, 16:02 neon1024 Outside of this table, you’ll need to create your own routing
# Nov 19th, 16:02 neon1024 See the table :point_right: https://book.cakephp.org/3/en/development/routing.html#restful-routing
# Nov 19th, 16:01 noel I'm using Accept and Content Headers instead of .json ext
# Nov 19th, 16:01 neon1024 The `resources()` method only maps certain things
# Nov 19th, 16:01 noel via Postman
# Nov 19th, 16:01 jotpe maybe missing .json?
# Nov 19th, 16:01 neon1024 @noel Your assumption is wrong
# Nov 19th, 16:00 jotpe @noel how did you accessed the url?
# Nov 19th, 15:59 noel @jotpe yes
# Nov 19th, 15:59 jotpe @noel so index action works?
# Nov 19th, 15:56 pieceof rite
# Nov 19th, 15:56 jotpe @pieceof it's not a 403
# Nov 19th, 15:55 pieceof $this->auth->allow[......'clients'];
# Nov 19th, 15:54 slackebot convention would mean that any action in my controller would be mapped?
# Nov 19th, 15:54 noel Hi all. I have the following routes set up: ```Router::prefix('api', function (RouteBuilder $routes) { $routes->resources('Users'); })``` This maps the route `/api/users` correctly. I've then added an action to my UsersController like so: ```class UsersController extends BaseUsersController { public function clients() {} }``` However on the route `api/users/clients` it is giving me a 404 error. What am I missing? I thought that the
# Nov 19th, 15:51 jotpe Can I use $this->response->body with a callback?
# Nov 19th, 15:51 jotpe This is solved with Symfonys Response: https://gist.github.com/damijanc/c23d7358d298898c96d4d7b5eec0d616
# Nov 19th, 15:51 jotpe Hey guys. If I want to send a file created by PHPOffice\Spreadsheet without writing the file to disk, how can I achive this?
# Nov 19th, 14:47 shifat.it Great
# Nov 19th, 14:43 pieceof thx 4 the reference, now listenin
# Nov 19th, 14:38 neon1024 Plus Rector will be included in a new future release of the upgrade tool :point_right: https://github.com/cakephp/upgrade/tree/4.x