Log message #4172415

# At Username Text
# Jan 7th 2019, 14:53 jeremyharris :P
# Jan 7th 2019, 14:53 jeremyharris your questions are my favorite - they often solve themselves!
# Jan 7th 2019, 14:52 neon1024 `return new Response(['body' => $resultData]);`
# Jan 7th 2019, 14:52 neon1024 Ah, trying to set an array as the body
# Jan 7th 2019, 14:49 neon1024 `2019-01-07 14:48:58 Warning: Warning (2): fwrite() expects parameter 2 to be string, array given in [/Users/david/Sites/TelecomsCCA/vendor/zendframework/zend-diactoros/src/Stream.php, line 241]`
# Jan 7th 2019, 14:49 neon1024 Anyone have any idea what might cause this?
# Jan 7th 2019, 13:56 martin and $response->getStringBody();
# Jan 7th 2019, 13:55 martin or $response->getJson(); now I see :slightly_smiling_face:
# Jan 7th 2019, 13:53 martin no data in $response->body or json?
# Jan 7th 2019, 13:32 johnwayne however, I am getting response 200 from cakephp but without data
# Jan 7th 2019, 13:31 johnwayne Hi, I am trying to get data from API and with curl (php code) from Postman I am geting data, but if I use 'new Client();...' from cakephp there is no data
# Jan 7th 2019, 12:53 neothermic new year, new anonymous cuts of live data :)
# Jan 7th 2019, 12:51 neon1024 :rubberduck:
# Jan 7th 2019, 12:51 neothermic @neon1024 Quack Quack! :)
# Jan 7th 2019, 12:46 neon1024 Yus! <3
# Jan 7th 2019, 12:46 neon1024 Ah, engine is Util/Text. Will go look
# Jan 7th 2019, 12:45 neon1024 Does this support regex? I’d like to highlight numbers in a string reference number
# Jan 7th 2019, 12:45 neon1024 https://github.com/cakephp/cakephp/blob/master/src/View/Helper/TextHelper.php#L282
# Jan 7th 2019, 12:41 neon1024 Afternoon everyone! Happy New Year! Unless you’re in China, in which case we’ll wait a month :P
# Jan 7th 2019, 05:47 NickBusey hmm, copy/pasted some code from here https://book.cakephp.org/3.0/en/development/testing.html#controller-integration-testing and getting `Fatal error: Trait 'Cake\TestSuite\IntegrationTestTrait' not found`
# Jan 7th 2019, 04:46 NickBusey Has an end ignore, and the same problem
# Jan 7th 2019, 04:46 NickBusey https://codecov.io/gl/NickBusey/mashio/src/8b591f3345c92943a3e1c489b93792c54d6db021/BackEnd/src/Controller/PagesController.php
# Jan 7th 2019, 04:45 NickBusey I'll double check
# Jan 7th 2019, 04:45 NickBusey I tried adding one, same problem
# Jan 7th 2019, 04:37 challgren You don't have an end ignore
# Jan 7th 2019, 03:13 NickBusey anyone know why xdebug/phpunit is highlighting comments as untested? example: https://codecov.io/gl/NickBusey/mashio/src/69fccd56deafc9cb024c604242765531a66e1ce3/BackEnd/src/Controller/PagesController.php
# Jan 6th 2019, 18:03 NickBusey For APIs check out https://github.com/FriendsOfCake/crud-json-api
# Jan 6th 2019, 18:01 lpj145 and... DDD are a friend cake ?
# Jan 6th 2019, 18:00 lpj145 other question, the bake adopt some command to make services...
# Jan 6th 2019, 18:00 lpj145 you recommend some article about this ?
# Jan 6th 2019, 18:00 lpj145 i think about cake, and consider, before 2014, the year adopt cake, i haven't try make api with actions and services in cake.
# Jan 6th 2019, 17:58 lpj145 guys, have document or article about cake services or api ?
# Jan 6th 2019, 14:42 dereuromark https://github.com/FriendsOfCake/awesome-cakephp#imagery
# Jan 6th 2019, 14:33 maymeow :question:Hi need good pho library to crop and resize uploaded images. Any ideas thanks
# Jan 6th 2019, 03:22 NickBusey So is a setup like https://book.cakephp.org/3.0/en/development/testing.html#testing-events possible? It seems not without some extra wiring
# Jan 6th 2019, 00:56 cakephp411 I found out that updating entities like that required to get the associated EntityInterface object and update that, then pass it in the actual entites set array
# Jan 5th 2019, 23:40 itmpls show your save
# Jan 5th 2019, 23:39 cakephp411 Anyone there?
# Jan 5th 2019, 23:20 cakephp411 Can someone help me with updating hasOne associations? I've got inserting working but when updating it only updates the entity, not it's association
# Jan 5th 2019, 23:19 cakephp411 Hey there
# Jan 5th 2019, 21:39 dereuromark Nick: Not everyone is always using latest minor already, as such the docs try to also be valid for them to some extend