Log message #4172392

# At Username Text
# 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
# Jan 5th 2019, 21:04 NickBusey It looks like that example code wouldn't even work, based on this answer: https://stackoverflow.com/questions/31566745/cakephp-3-events
# Jan 5th 2019, 20:44 NickBusey I have two tables set up basically just like this: https://book.cakephp.org/3.0/en/development/testing.html#testing-events But the `removeFromCart` function is never called.
# Jan 5th 2019, 20:26 NickBusey Is there a reason certain parts of the docs display deprecation warnings saying to use different code, rather than just displaying the correct current code? Example from events page: `Deprecated since version 3.5.0: Use getEventManager() instead.`
# Jan 5th 2019, 19:39 NickBusey hmm, phpunit is marking comment blocks as untested code
# Jan 5th 2019, 17:57 challgren Try turning off the cache
# Jan 5th 2019, 17:57 challgren Ahh could be that too
# Jan 5th 2019, 17:54 josexato thanks for the sugestion, actually I think this happens when it tries to serilize routes for cache
# Jan 5th 2019, 17:48 challgren Try setting debug = false and see if it still happens
# Jan 5th 2019, 17:47 challgren Probably because its trying to serialize the request for debugging purposes
# Jan 5th 2019, 17:47 josexato yes
# Jan 5th 2019, 17:47 josexato My question is if there is a way to add later that configuration
# Jan 5th 2019, 17:47 challgren You using debug_kit?
# Jan 5th 2019, 17:46 josexato I understant this is becasue I am defining a closure as identity decorator for the authorization middleware
# Jan 5th 2019, 17:45 josexato but I am getting this error `Serialization of 'Closure' is not allowed #0 /var/www/html/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php(149):`
# Jan 5th 2019, 17:44 josexato hello one question regardin scoped middleware, I am trying to pass arguments to a middleware registration at routes in Application.php
# Jan 5th 2019, 17:33 kitcat711 my pleasure @ricksaccous: mauy be this is silly, but when I ask and finally found, I just let people know
# Jan 5th 2019, 16:28 ricksaccous @kitcat711 i enjoyed reading that
# Jan 5th 2019, 13:54 kitcat711 found it using methods_exists($this, $functionName) . Thx for reading
# Jan 5th 2019, 13:48 kitcat711 hello, what is the right way to check if a method exists from a model inside this model? I tried the php unction_exists() witout any success
# Jan 5th 2019, 10:05 birdy247 How are you
# Jan 5th 2019, 10:05 birdy247 Happy new year :slightly_smiling_face:
# Jan 5th 2019, 10:05 birdy247 @hmic thanks
# Jan 5th 2019, 09:59 hmic birdy247: since 3.5 or something flash messages are stacked by default, not replaced. so you can just do that