Log message #4185633

# At Username Text
# 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
# May 7th 2019, 11:47 dereuromark interface Exception )> stub
# May 7th 2019, 11:47 slackebot <neon1024>
# May 7th 2019, 11:47 admad does `\PHPUnit\Exception` actually exist?
# May 7th 2019, 11:46 neon1024 This is the method it’s upset with
# May 7th 2019, 11:46 admad the the namespaces in the error should start with backslash
# May 7th 2019, 11:45 neon1024 I’m in 3.7.7 for this project
# May 7th 2019, 11:44 admad is this for 4.x?
# May 7th 2019, 11:43 neon1024 :thinking_face:
# May 7th 2019, 11:43 neon1024 So I’m not sure why PHPStan is so angry
# May 7th 2019, 11:43 neon1024 BadRequestException > HttpException > \Cake\Core\Exception > RuntimeException > \Exception -> Throwable