Log message #4185643

# At Username Text
# May 7th 2019, 14:46 dereuromark yes
# May 7th 2019, 14:46 neon1024 In context of `saveMany`
# May 7th 2019, 14:45 neon1024 Does this mean an array of entities right? `@param \Cake\Datasource\EntityInterface[]`
# May 7th 2019, 14:29 np OK; thanks
# May 7th 2019, 14:29 admad @np 1. "Use getResponse()/setResponse instead." 2. Protected properties can still be directly access within a class and it's child classes.
# May 7th 2019, 14:27 admad @neon1024 It's not coming home :P
# May 7th 2019, 14:27 neon1024 @admad Predictions for the Cricket World Cup?
# May 7th 2019, 14:26 neon1024 It’s immutable, so you need to assign the return every time :slightly_smiling_face:
# May 7th 2019, 14:25 np OK; but :
# May 7th 2019, 14:22 admad Hint: Controller has $response property
# May 7th 2019, 14:22 np I do migration from 3.4/5 to 3.7, i ask for Controller classes and AjaxView
# May 7th 2019, 14:18 admad from which class do you want to do this?
# May 7th 2019, 14:18 np How? Thanks
# May 7th 2019, 14:17 admad @np and then assign back the return value to response property
# May 7th 2019, 14:16 np $this->getResponse()->withType([‘vcf’ => ‘text/v-card’]); ???
# May 7th 2019, 14:14 np Hello, I need help with this deprecated code: https://book.cakephp.org/3.0/en/controllers/request-response.html#dealing-with-content-types
# May 7th 2019, 14:03 neon1024 Glad we’ve got Shell, Console and now Command under that banner
# May 7th 2019, 14:03 neon1024 Any relation to the Command Pattern?
# May 7th 2019, 14:02 admad @neon1024 Shells are deal, long live Commands :)
# May 7th 2019, 14:01 neon1024 I guess `return $this->out($this->OptionParser->help());`
# May 7th 2019, 14:01 neon1024 ..and following on, what’s a good return ?
# May 7th 2019, 14:00 neon1024 `* @method int|bool|null main(...$args)`
# May 7th 2019, 14:00 neon1024 It’s hinted instead
# May 7th 2019, 14:00 neon1024 So why does the Shell class’ main method not exist?
# May 7th 2019, 12:02 neon1024 Because getQuery() returns null anyway
# May 7th 2019, 12:02 neon1024 Ah, because I’ve used a `??` where I didn’t need one
# May 7th 2019, 12:00 neon1024 So like null !== null is false, which would be correct
# May 7th 2019, 12:00 neon1024 This doesn’t fit in my brain
# May 7th 2019, 12:00 neon1024 > Strict comparison using !== between null and null will always evaluate to false.
# May 7th 2019, 12:00 neon1024 I know this might be a silly question
# May 7th 2019, 11:52 neon1024 Just add an ignore for the Stripe magic methods and I’m passing :)
# May 7th 2019, 11:51 neon1024 I’ll remove that then, not sure why it’s there. I guess I copied my PHPCS composer command perhaps
# May 7th 2019, 11:50 admad yeah doing static analysis or strict typing for tests is fool's errand
# May 7th 2019, 11:49 dereuromark tests dir usually isnt static analyzed for many reasons, that is one.
# May 7th 2019, 11:49 dereuromark just look into the source code, its all there, I just did the same.
# May 7th 2019, 11:48 admad right, it's a "made up" exception which doesn't extend any core exception
# May 7th 2019, 11:48 dereuromark "Marker interface for PHPUnit exceptions."
# May 7th 2019, 11:48 dereuromark no, its phpunit crap
# May 7th 2019, 11:48 neon1024 Perhaps that’s an avenue of investigation
# May 7th 2019, 11:47 neon1024 It seems to be something in `IntegrationTestCase`
# May 7th 2019, 11:47 dereuromark doesnt extend a real php one