cakephp-phpstan
cakephp-phpstan copied to clipboard
CakePHP 4 extension for PHPStan
Should also be understood: ```php $this->getMailer('Notification') ``` as right now it fails as ``` 179 Parameter #2 $mailer of class App\Release\Releaser constructor expects App\Mailer\NotificationMailer, Cake\Mailer\Mailer given. ``` when passed to...
Im i need of this extension **TableAssociationTypeNodeResolverExtension**, but i saw that it was added in version 3.1. Any possiblity you will backport it? Im little bit lost in this repo,...
For https://github.com/CakeDC/cakephp-phpstan/issues/47 I'm not 100% sure if this is the way to handle the issue reported. @LordSimal Could you please test this.
I have this code in my controller: ``` $optionsTable = $this->fetchTable('Options'); try { $ports = $optionsTable->get('mykey'); } catch (RecordNotFoundException) { $ports = new Option(['alfred_key' => 'mykey', 'value' => '']); }...