# |
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 |
# |
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? |